/* =========================================
   SELF-ASSESSMENT TEST STYLES
   Pinterest-Style Layout with Wellbeing Hero
   ========================================= */

/* --- Body Background --- */
.assessment-body {
    background-color: #FDFCF8;
    min-height: 100vh;
}

/* --- Hero Section (Wellbeing Style) --- */
.assessment-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--deep-blue);
    overflow: hidden;
    color: white;
    padding-top: 100px;
    padding-bottom: 80px;
    margin-top: 30px;
}

.hero-container {
    position: relative;
    z-index: 10;
}

.assessment-brand-tag {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 15px;
    margin-top: 15px;
    display: block;
    color: #a3bffa;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 15px;
    color: white;
}

.hero-title em {
    font-family: var(--font-serif);
    font-style: italic;
    color: #dbeafe;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 35px;
    font-weight: 300;
}

/* Mesh Gradient Blobs */
.mesh-blob {
    position: absolute;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
    animation: float 10s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: #3E5C9A;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: #6b4c9a;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, 40px) scale(1.1); }
}

/* --- Content Section --- */
.assessment-content {
    margin-top: 60px;
    padding-bottom: 100px;
    position: relative;
    z-index: 20;
}

/* --- Search Bar (Pinterest Style) --- */
.search-wrapper {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-wrapper input {
    width: 100%;
    padding: 18px 25px 18px 55px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.search-wrapper input:focus {
    outline: none;
    box-shadow: 0 12px 40px rgba(62, 92, 154, 0.15);
}

.search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.1rem;
}

/* --- Grid Layout --- */
.pinterest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Test Card Link Wrapper --- */
.test-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* --- Test Card --- */
.test-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.test-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.test-img-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
}

/* Fixed height matching blog module */
.test-img {
    width: 100% !important;
    height: 200px !important;
    display: block;
    transition: transform 0.6s ease;
    object-fit: cover !important;
    object-position: center center;
}

.test-img-wrapper img {
    display: block;
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: center center;
}

/* Fallback icon container - removed as placeholder icons no longer used */
.test-card:hover .test-img {
    transform: scale(1.08);
}

.test-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.test-meta {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    gap: 12px;
    align-items: center;
}

.test-meta i {
    color: var(--primary-blue, #5a9fd4);
    margin-right: 4px;
}

.test-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--deep-blue, #2A4068);
    line-height: 1.35;
}

.test-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.test-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.test-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(62, 92, 154, 0.08);
    color: var(--deep-blue, #2A4068);
}

.btn-start-test {
    display: block;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-blue, #5a9fd4), var(--deep-blue, #2A4068));
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-start-test:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(62, 92, 154, 0.35);
    text-decoration: none;
}

/* --- Featured Card (Horizontal Panel Style) --- */
.test-card.featured {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
}

.test-card.featured .test-img-wrapper {
    width: 55%;
    min-height: 280px;
    flex-shrink: 0;
}

.test-card.featured .test-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.test-card.featured .test-content {
    width: 45%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.test-card.featured h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.test-card.featured p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.test-card.featured .test-meta {
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.test-card.featured .test-badges {
    margin-bottom: 25px;
}

.test-card.featured .test-badge {
    padding: 6px 14px;
    font-size: 0.75rem;
}

.test-card.featured .btn-start-test {
    align-self: flex-start;
    padding: 14px 35px;
    font-size: 0.9rem;
}

/* Save/Bookmark Button on Hover (Pinterest Style) */
.test-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.test-card:hover .test-img-wrapper::after {
    opacity: 1;
}

/* Remove underlines from all links */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Legacy support for hero-centered class */
.hero-centered {
    background-color: var(--deep-blue);
    color: var(--white);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    padding-top: 100px;
    padding-bottom: 60px;
    text-align: center;
}

.hero-centered h1 {
    color: var(--white);
    font-family: var(--font-serif);
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.hero-description {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(62, 92, 154, 0.15) 0%, rgba(42, 64, 104, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content-wrapper-center { 
    z-index: 2; 
    position: relative; 
}

/* --- Legacy Tests Grid Container (for backward compatibility) --- */
.tests-container {
    max-width: 1200px;
    margin: 40px auto 80px;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* --- Individual Test Page --- */
.test-page-container {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 0 12px;
    padding-top: 60px;
}

.test-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.test-header h1 {
    font-family: var(--font-serif);
    color: var(--deep-blue);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.test-header p {
    color: var(--text-grey);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Questions Container --- */
.questions-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 18px 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    margin-bottom: 20px;
}

.question-item {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.question-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.question-number {
    display: inline-block;
    background: var(--deep-blue);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.question-text {
    font-size: 0.98rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.4;
}

.options-list {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #eef1f3;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.option-item:hover {
    border-color: var(--primary-blue);
    background: rgba(62, 92, 154, 0.04);
}

.option-item input[type="radio"] {
    margin-right: 8px;
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

.option-item.selected {
    background: rgba(62, 92, 154, 0.1);
    border-color: var(--deep-blue);
}

.option-text {
    flex: 1;
    font-size: 0.82rem;
    color: var(--text-dark);
}

.option-item.selected .option-text {
    color: var(--deep-blue);
    font-weight: 600;
}

/* --- Submit Section --- */
.submit-section {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    display: inline-block;
    padding: 15px 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(62, 92, 154, 0.4);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* --- Results Display --- */
.results-wrapper {
    background: #fff;
    border-radius: 15px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
    text-align: center;
    animation: fadeIn 0.5s ease;
}

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

.results-wrapper h2 {
    font-family: var(--font-serif);
    color: var(--deep-blue);
    font-size: 2rem;
    margin-bottom: 30px;
}

.score-display {
    margin: 30px 0;
}

.score-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
    box-shadow: 0 15px 40px rgba(62, 92, 154, 0.3);
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(62, 92, 154, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.score-circle.high {
    background: linear-gradient(135deg, #27ae60, #229954);
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.3);
}

.score-circle.moderate {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.3);
}

.score-circle.low {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.3);
}

.score-content {
    text-align: center;
}

.score-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.score-label {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.95;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-emoji {
    font-size: 4rem;
    margin-bottom: 20px;
}

.result-category {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    color: var(--deep-blue);
    margin-bottom: 15px;
}

.result-interpretation {
    color: var(--text-grey);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 30px;
}

/* --- Tips Section --- */
.submit-section {
    text-align: center;
    margin-top: 18px;
}
.btn-submit {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    color: var(--white);
    border: none;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* --- Tips/Recommendations Section --- */
.tips-section {
    margin: 50px 0 20px 0;
}

.recommendations-header {
    text-align: center;
    margin-bottom: 35px;
}

.recommendations-header i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: block;
    animation: bulbPulse 2s ease-in-out infinite;
}

@keyframes bulbPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.85; }
}

.recommendations-header h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--deep-blue);
    margin: 0 0 10px 0;
}

.recommendations-subtitle {
    color: #999;
    font-size: 1rem;
    margin: 0;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tips-list li {
    background: linear-gradient(135deg, rgba(62, 92, 154, 0.05), rgba(62, 92, 154, 0.02));
    border: 1px solid rgba(62, 92, 154, 0.12);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    color: var(--text-grey);
    line-height: 1.7;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tips-list li:hover {
    transform: translateY(-3px);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(62, 92, 154, 0.12);
}

.tips-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 12px;
    top: 12px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1rem;
}

.tips-list li {
    padding-left: 60px;
}

/* --- Note Box --- */
.alert {
    padding: 20px 25px;
    border-radius: 12px;
    border: 1px solid;
    margin: 15px 0 30px 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.alert strong {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.08), rgba(243, 156, 18, 0.04));
    border-color: rgba(243, 156, 18, 0.3);
    color: #7d5e1b;
}

.alert-warning strong {
    color: #d98f00;
}

.alert-info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.08), rgba(52, 152, 219, 0.04));
    border-color: rgba(52, 152, 219, 0.3);
    color: #1e5a8e;
}

.alert-info strong {
    color: #2980b9;
}

.alert-success {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.08), rgba(39, 174, 96, 0.04));
    border-color: rgba(39, 174, 96, 0.3);
    color: #1a5c36;
}

.alert-success strong {
    color: #229954;
}

/* --- Action Buttons --- */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 35px;
}

.btn-retake,
.btn-back-to-tests,
.btn-book-appointment {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.btn-retake {
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    color: var(--white);
    text-decoration: none;
}

.btn-retake:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(62, 92, 154, 0.3);
    text-decoration: none;
}

.btn-back-to-tests {
    background: transparent;
    color: var(--deep-blue);
    border: 2px solid var(--primary-blue);
    text-decoration: none;
}

.btn-back-to-tests:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-book-appointment {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: var(--white);
    text-decoration: none;
}

.btn-book-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
    text-decoration: none;
}

/* --- Loading & Error States --- */
.loading-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-grey);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-state {
    text-align: center;
    padding: 40px 20px;
    background: rgba(231, 76, 60, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #c0392b;
}

.error-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #e74c3c;
}

/* --- Hidden State --- */
.hidden {
    display: none !important;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

/* Large screens - 4 columns */
/* Large screens - 3 columns */
@media (min-width: 1200px) {
    .pinterest-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium-large screens - 3 columns */
@media (max-width: 1199px) and (min-width: 900px) {
    .pinterest-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .test-card.featured .test-img-wrapper {
        width: 50%;
    }
    
    .test-card.featured .test-content {
        width: 50%;
        padding: 25px;
    }
    
    .test-card.featured h3 {
        font-size: 1.5rem;
    }
}

/* Medium screens - 2 columns */
@media (max-width: 899px) and (min-width: 600px) {
    .pinterest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .test-card.featured {
        grid-column: span 2;
        flex-direction: row;
    }
    
    .test-card.featured .test-img-wrapper {
        width: 50%;
        min-height: 200px;
    }
    
    .test-card.featured .test-content {
        width: 50%;
        padding: 25px;
    }
    
    .test-card.featured h3 {
        font-size: 1.4rem;
    }
}

/* Small screens - 1 column */
@media (max-width: 599px) {
    .pinterest-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .test-card.featured {
        grid-column: span 1;
        flex-direction: column;
    }
    
    .test-card.featured .test-img-wrapper {
        width: 100%;
        min-height: 180px;
    }
    
    .test-card.featured .test-content {
        width: 100%;
        padding: 20px;
    }
    
    .test-card.featured h3 {
        font-size: 1.3rem;
    }
    
    .assessment-hero {
        min-height: 40vh;
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .assessment-content {
        margin-top: -40px;
    }
}

/* --- Toast Notification --- */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    padding: 18px 28px;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    font-size: 1rem;
    z-index: 9999;
    animation: slideInToast 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 350px;
    border-left: 5px solid #fff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.toast-notification i {
    font-size: 1.4rem;
    animation: iconBounce 0.6s ease;
}

.toast-notification.fadeOut {
    animation: slideOutToast 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideInToast {
    from {
        transform: translateX(450px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToast {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(450px);
        opacity: 0;
    }
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@media (max-width: 768px) {
    .toast-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
        padding: 16px 24px;
        font-size: 0.95rem;
        z-index: 9999;
    }
}
    .search-wrapper {
        margin: 0 15px 30px;
    }
    
    .search-wrapper input {
        padding: 15px 20px 15px 50px;
        font-size: 0.95rem;
    }
    
    .test-card.featured p {
        font-size: 0.9rem;
    }
    
    .test-card.featured .btn-start-test {
        width: 100%;
        text-align: center;
    }


@media (max-width: 768px) {
    .hero-centered {
        min-height: 220px;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-centered h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .tests-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .test-header h1 {
        font-size: 1.8rem;
    }
    
    .questions-wrapper {
        padding: 25px;
    }
    
    .question-item {
        margin-bottom: 28px;
        padding-bottom: 28px;
    }
    
    .results-wrapper {
        padding: 35px 25px;
    }
    
    .score-circle {
        width: 150px;
        height: 150px;
    }
    
    .score-value {
        font-size: 2.8rem;
    }
    
    .result-emoji {
        font-size: 3rem;
    }
    
    .result-category {
        font-size: 1.6rem;
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-retake,
    .btn-back-to-tests,
    .btn-book-appointment {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-centered h1 {
        font-size: 1.6rem;
    }
    
    .test-card h3 {
        font-size: 1.1rem;
    }
    
    .test-content {
        padding: 16px;
    }
    
    .test-icon {
        font-size: 3rem;
        min-height: 120px;
    }
    
    .questions-wrapper {
        padding: 20px;
    }
    
    .question-text {
        font-size: 0.95rem;
    }
    
    .option-item {
        padding: 12px 15px;
    }
    
    .btn-submit {
        padding: 12px 40px;
        font-size: 0.95rem;
    }
    
    .score-circle {
        width: 130px;
        height: 130px;
    }
    
    .score-value {
        font-size: 2.3rem;
    }
}
@media (max-width: 768px) {
    .search-wrapper {
        margin-top: 30px;
    }
}