/* minds-test.css */
:root {
    --primary: #0f172a;
    --secondary: #3b82f6;
    --accent: #2dd4bf;
    --background: #f8fafc;
    --text: #334155;
    --glass: rgba(255, 255, 255, 0.85);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top right, #f0f9ff, #f8fafc);
    -webkit-font-smoothing: antialiased;
}

.glass-container {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.glass-container:hover {
    box-shadow: 0 30px 60px -12px rgba(59, 130, 246, 0.1);
}

.pregunta-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid #f1f5f9;
}

.pregunta-item:last-child {
    border-bottom: none;
}

.pregunta-item:hover {
    background: rgba(241, 245, 249, 0.5);
    transform: translateX(4px);
}

.radio-group label {
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-group input[type="radio"]:checked + label {
    background-color: var(--secondary);
    color: white;
    transform: scale(1.05);
}

.medical-header {
    background: linear-gradient(135deg, var(--primary), #1e293b);
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#response-glossary {
    position: sticky;
    top: 1rem;
    z-index: 40;
}

.radar-chart-container {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.06);
}



.option-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: manipulation;
}

.option-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .glass-container {
        padding: 1.25rem !important;
        border-radius: 1.5rem !important;
    }
    
    h1 { font-size: 1.75rem !important; }
    h2 { font-size: 1.35rem !important; }
    
    .radar-chart-container {
        padding: 1rem !important;
    }
}

@media (max-width: 480px) {
    .option-btn {
        font-size: 10px !important;
        padding: 14px 4px !important;
        min-height: 48px;
    }
}

@media print {
    .no-print { display: none !important; }
    .glass-container { box-shadow: none; border: none; }
}
