body {
    background-color: #f4f7fb;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #1f2937;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.header-box {
    background: white;
    padding: 28px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.subtitle {
    color: #666;
    margin-top: 10px;
}

.section-card {
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.blue-card {
    background-color: #e8f1ff;
}

.green-card {
    background-color: #e8fff0;
}

.yellow-card {
    background-color: #fff8d9;
}

.red-card {
    background-color: #ffe8e8;
}

.purple-card {
    background-color: #f3e8ff;
}

.gray-card {
    background-color: #f1f1f1;
}

.section-card h2 {
    margin-top: 0;
    color: #12324a;
}

.section-card label {
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
}

input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 10px;
}

.submit-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.summary-box {
    background-color: white;
    padding: 28px;
    border-left: 8px solid #1565c0;
    border-radius: 16px;
    margin-top: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.summary-box ul {
    margin-top: 16px;
}

.summary-box li {
    margin-bottom: 10px;
    font-size: 16px;
}

.disclaimer-box {
    margin-top: 35px;
    background-color: #fff3cd;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #ffe69c;
    font-size: 15px;
    line-height: 1.6;
}

/* ========================= */
/* RECOMMENDATIONS PAGE ONLY */
/* ========================= */

.recommendation-page {
    background: linear-gradient(135deg, #eef6ff, #f8fbff);
    padding: 30px;
    border-radius: 24px;
}

.recommendation-page .recommendation-hero {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: white;
    padding: 40px;
    border-radius: 24px;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.recommendation-page .recommendation-hero h1 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 44px;
}

.recommendation-page .recommendation-hero p {
    font-size: 18px;
    opacity: 0.95;
}

.recommendation-page .section-title {
    color: #17324d;
    margin-top: 40px;
    margin-bottom: 24px;
    font-size: 38px;
}

.recommendation-page .recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.recommendation-page .recommendation-card {
    background: white;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: 0.25s ease;
    border-top: 8px solid #90caf9;
}

.recommendation-page .recommendation-card:hover {
    transform: translateY(-4px);
}

.recommendation-page .recommendation-card.high {
    background: #fff5f5;
    border-top-color: #c62828;
}

.recommendation-page .recommendation-card.moderate {
    background: #fffaf0;
    border-top-color: #f9a825;
}

.recommendation-page .recommendation-card.low {
    background: #f4fff6;
    border-top-color: #2e7d32;
}

.recommendation-page .recommendation-card h3 {
    color: #17324d;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 30px;
    line-height: 1.3;
}

.recommendation-page .recommendation-card p {
    line-height: 1.8;
    color: #333;
    font-size: 17px;
}

.recommendation-page .recommendation-card ul {
    margin-top: 18px;
    padding-left: 22px;
}

.recommendation-page .recommendation-card li {
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 16px;
}

.recommendation-page .medical-icon {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    margin-bottom: 22px;
    background-size: 46px;
    background-repeat: no-repeat;
    background-position: center;
}

/* General */

.recommendation-page .general-icon {
    background-color: #e3f2fd;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231976d2' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-6 14h-2v-4H7v-2h4V7h2v4h4v2h-4v4z'/%3E%3C/svg%3E");
}

/* Cardiovascular */

.recommendation-page .cardio-icon {
    background-color: #ffebee;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c62828' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

/* Labs */

.recommendation-page .lab-icon {
    background-color: #ede7f6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236a1b9a' viewBox='0 0 24 24'%3E%3Cpath d='M9 2v6l-5.5 9.5A2 2 0 0 0 5.24 21h13.52a2 2 0 0 0 1.74-3.5L15 8V2h-6z'/%3E%3C/svg%3E");
}

/* Medication */

.recommendation-page .medication-icon {
    background-color: #e8f5e9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%232e7d32' viewBox='0 0 24 24'%3E%3Cpath d='M4.22 11.29l8.49 8.49a3 3 0 0 0 4.24 0l2.83-2.83a3 3 0 0 0 0-4.24l-8.49-8.49a3 3 0 0 0-4.24 0L4.22 7.05a3 3 0 0 0 0 4.24z'/%3E%3C/svg%3E");
}

/* Lifestyle */

.recommendation-page .lifestyle-icon {
    background-color: #fff8e1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f9a825' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0zM6 22v-6l3-3v9H6zm9-9l-2-2-2 2v9h4v-9zm3-1l-3-3-2 2 3 3v8h2v-10z'/%3E%3C/svg%3E");
}

/* Psychosexual */

.recommendation-page .psych-icon {
    background-color: #fce4ec;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ad1457' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 17h-2v-2h2zm1.07-7.75-.9.92A1.49 1.49 0 0 0 13 13h-2v-.5a2 2 0 0 1 .59-1.41l1.2-1.2A1 1 0 0 0 12 8a1 1 0 0 0-1 1H9a3 3 0 1 1 6 0 2 2 0 0 1-.93 1.75z'/%3E%3C/svg%3E");
}

/* Neurologic */

.recommendation-page .neuro-icon {
    background-color: #e0f7fa;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300897b' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 2.38 1.19 4.47 3 5.74V22h2v-4h4v4h2v-7.26A6.98 6.98 0 0 0 19 9a7 7 0 0 0-7-7z'/%3E%3C/svg%3E");
}

/* Prescription */

.recommendation-page .prescription-icon {
    background-color: #f3e5f5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%237b1fa2' viewBox='0 0 24 24'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4 11h-2v2h-2v-2H9v-2h2V10h2v2h2v2z'/%3E%3C/svg%3E");
}

/* Vascular */

.recommendation-page .vascular-icon {
    background-color: #e1f5fe;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230277bd' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8 2 5 5 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-4-3-7-7-7z'/%3E%3C/svg%3E");
}/* ========================= */
/* HOME PAGE */
/* ========================= */

.home-page {
    padding: 30px;
}

.home-hero {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: white;
    padding: 45px;
    border-radius: 24px;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    text-align: center;
}

.home-hero h1 {
    font-size: 48px;
    margin-bottom: 14px;
}

.home-hero p {
    font-size: 20px;
    opacity: 0.95;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.module-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: 0.25s ease;
}

.module-card:hover {
    transform: translateY(-5px);
}

.module-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.module-content {
    padding: 24px;
}

.module-content h2 {
    margin-top: 0;
    color: #17324d;
    font-size: 30px;
}

.module-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 22px;
}

.coming-soon-btn {
    background: #cfd8dc;
    border: none;
    padding: 14px 26px;
    border-radius: 12px;
    color: #37474f;
    font-size: 16px;
    font-weight: bold;
}

/* ========================= */
/* INTRO PAGE */
/* ========================= */

.intro-page {
    text-align: center;
    padding: 40px;
}

.intro-image {
    width: 100%;
    max-width: 1200px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.intro-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.secondary-btn {
    display: inline-block;
    background: #eceff1;
    color: #37474f;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
}

.secondary-btn:hover {
    background: #dfe5e8;
}/* ========================= */
/* EDAT INTAKE BACKGROUND PAGE */
/* ========================= */

.edat-intake-page {
    min-height: calc(100vh - 120px);
    background-image: url('/images/edat-banner.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 70px 20px;
}

.edat-form-panel {
    max-width: 620px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.edat-form-panel label {
    display: block;
    margin-bottom: 13px;
    font-size: 16px;
    color: #102a43;
}

.edat-form-panel hr {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.15);
    margin: 22px 0;
}

.edat-submit-btn {
    display: block;
    margin: 30px auto 0 auto;
}/* EDAT intake readability upgrade */

.edat-form-panel {
    max-width: 820px;
    padding: 45px;
}

.edat-intro-box {
    background: rgba(255,255,255,0.92);
    border-left: 8px solid #1565c0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
}

.edat-intro-box h1 {
    font-size: 34px;
    color: #0d47a1;
    margin-top: 0;
    margin-bottom: 12px;
}

.edat-intro-box p {
    font-size: 19px;
    line-height: 1.6;
    color: #263238;
}

.edat-intro-box .select-note {
    font-weight: bold;
    color: #0d47a1;
}

.edat-form-panel label {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.edat-form-panel input[type="checkbox"] {
    transform: scale(1.45);
    margin-right: 14px;
}

.edat-submit-btn {
    font-size: 20px;
    padding: 18px 36px;
}/* ========================= */
/* CLINICAL RECOMMENDATIONS */
/* FONT SIZE UPGRADE */
/* ========================= */

.recommendation-page h1,
.recommendation-page h2 {
    font-size: 42px;
    line-height: 1.25;
}

.recommendation-page h3 {
    font-size: 30px;
    line-height: 1.35;
}

.recommendation-page p {
    font-size: 21px;
    line-height: 1.8;
}

.recommendation-page li {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.recommendation-card {
    padding: 38px;
}

.recommendation-card img {
    width: 90px;
    height: 90px;
}

.notice-box {
    font-size: 20px;
    line-height: 1.7;
}/* =========================
   GLOBAL PLATFORM LAYOUT
========================= */

body {
    background: #eef3f8;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
}

.main-header {
    background: linear-gradient(135deg, #0d4fa8, #1f6ed4);
    padding: 22px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.header-logo {
    color: white;
    font-size: 30px;
    font-weight: 700;
}

.main-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: 0.2s;
}

.main-nav a:hover {
    opacity: 0.8;
}

.nav-disabled {
    color: rgba(255,255,255,0.55);
    font-size: 18px;
    font-weight: 600;
}

.main-content {
    min-height: calc(100vh - 140px);
    padding-bottom: 40px;
}

.main-footer {
    text-align: center;
    padding: 25px;
    color: #4a4a4a;
    background: white;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 40px;
}.summary-section {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.summary-section h2 {
    font-size: 28px;
    color: #0d47a1;
    margin-bottom: 14px;
}

.summary-section li {
    font-size: 21px;
    line-height: 1.7;
    margin-bottom: 8px;
}/* Recommendation severity headings */

.severity-heading {
    font-size: 40px;
    margin-top: 45px;
    margin-bottom: 24px;
    padding: 18px 24px;
    border-radius: 16px;
    color: white;
}

.urgent-heading {
    background: linear-gradient(135deg, #c62828, #e53935);
}

.moderate-heading {
    background: linear-gradient(135deg, #ef6c00, #fb8c00);
}

.routine-heading {
    background: linear-gradient(135deg, #2e7d32, #43a047);
}.print-section {
    text-align: center;
    margin-top: 45px;
    margin-bottom: 35px;
}

.print-btn-large {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: white;
    border: none;
    padding: 22px 44px;
    border-radius: 18px;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

.print-btn-large:hover {
    transform: translateY(-3px);
    opacity: 0.95;
}

@media print {
    .print-section,
    .print-btn-large {
        display: none !important;
    }
}.ai-preview-box {
    background: linear-gradient(135deg, #eef2ff, #f8fbff);
    border-left: 8px solid #5b5fc7;
    padding: 28px;
    border-radius: 18px;
    margin-bottom: 32px;
    box-shadow: 0 5px 16px rgba(0,0,0,0.12);
}

.ai-preview-box h2 {
    font-size: 34px;
    color: #2d2f7f;
}

.ai-preview-box p {
    font-size: 22px;
    line-height: 1.8;
}/* =========================
   PDF / PRINT IMPROVEMENTS
========================= */

@media print {

    body {
        background: white !important;
        color: black !important;
        font-size: 14pt;
    }

    .main-header,
    .main-footer,
    .print-section,
    .print-btn-large,
    .submit-btn,
    .secondary-btn,
    nav {
        display: none !important;
    }

    .recommendation-card,
    .summary-card,
    .summary-section,
    .recommendation-group,
    .ai-preview-box {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .severity-heading {
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    ul {
        page-break-before: avoid;
    }
}
/* =========================
   MOBILE RESPONSIVENESS
========================= */

@media (max-width: 768px) {

    .main-header {
        flex-direction: column;
        gap: 18px;
        padding: 20px;
        text-align: center;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .header-logo {
        font-size: 24px;
    }

    .main-nav a,
    .nav-disabled {
        font-size: 16px;
    }

    .recommendation-hero h1,
    .summary-header-card h1 {
        font-size: 34px;
    }

    .recommendation-card,
    .summary-card,
    .ai-preview-box {
        padding: 20px;
        border-radius: 16px;
    }

    .recommendation-card h3,
    .summary-section h2 {
        font-size: 24px;
    }

    .recommendation-card p,
    .recommendation-card li,
    .summary-section li,
    .ai-preview-box p {
        font-size: 18px;
        line-height: 1.7;
    }

    .print-btn-large,
    .submit-btn {
        width: 100%;
        font-size: 20px;
        padding: 18px;
    }

    .recommendation-grid {
        grid-template-columns: 1fr !important;
    }

    .question-card {
        width: 100% !important;
        padding: 18px !important;
    }
}
/* =========================
   PRIVACY PAGE
========================= */

.privacy-page {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

.privacy-hero {
    text-align: center;
    margin-bottom: 30px;
}

.privacy-hero h1 {
    font-size: 52px;
    color: #0d47a1;
}

.privacy-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.privacy-card h2 {
    margin-top: 30px;
    color: #0d47a1;
    font-size: 34px;
}

.privacy-card p {
    font-size: 21px;
    line-height: 1.9;
    color: #333;
}
/* =========================
   MOBILE FIXES FOR OVERFLOW
========================= */

* {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {

    .home-page,
    .recommendation-page,
    .summary-page,
    .privacy-page,
    .intro-page {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .home-hero,
    .recommendation-hero,
    .header-box,
    .summary-box,
    .summary-card,
    .ai-preview-box,
    .privacy-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 22px !important;
        overflow: hidden;
    }

    .home-hero h1,
    .recommendation-hero h1,
    .privacy-hero h1 {
        font-size: 34px !important;
        line-height: 1.2 !important;
        word-break: break-word;
    }

    .recommendation-hero p,
    .home-hero p {
        font-size: 20px !important;
        line-height: 1.5 !important;
    }

    .module-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .module-image {
        height: 220px !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .recommendation-grid,
    .module-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .recommendation-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 22px !important;
        overflow-wrap: break-word;
    }

    .recommendation-card h3 {
        font-size: 24px !important;
        line-height: 1.25 !important;
        overflow-wrap: break-word;
    }

    .recommendation-card p,
    .recommendation-card li {
        font-size: 18px !important;
        line-height: 1.6 !important;
    }

    .severity-heading {
        font-size: 26px !important;
        line-height: 1.25 !important;
        padding: 16px !important;
        overflow-wrap: break-word;
    }

    .print-btn-large {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 20px !important;
    }
}/* =========================
   SDAT MODULE
========================= */

.sdat-page {
    min-height: calc(100vh - 120px);
    background-image: url('/images/sdat-banner.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 70px 20px;
}

.sdat-intro-panel,
.question-card {
    max-width: 850px;
    margin: 0 auto;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.question-card h1,
.question-card h2,
.sdat-intro-panel h1 {
    color: #0d47a1;
    font-size: 36px;
    line-height: 1.3;
}

.question-progress {
    font-size: 22px;
    font-weight: bold;
    color: #1565c0;
    margin-bottom: 20px;
}

.option-card {
    display: block;
    background: white;
    border: 2px solid #d5e3f5;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 1.5;
    cursor: pointer;
}

.option-card:hover {
    border-color: #1565c0;
    background: #eef6ff;
}

.option-card input[type="radio"] {
    transform: scale(1.35);
    margin-right: 12px;
}

.question-buttons {
    margin-top: 30px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.sdat-summary-list li {
    font-size: 23px;
    line-height: 1.7;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .sdat-page {
        padding: 30px 12px;
    }

    .sdat-intro-panel,
    .question-card {
        width: 100%;
        padding: 24px;
    }

    .question-card h1,
    .question-card h2,
    .sdat-intro-panel h1 {
        font-size: 28px;
    }

    .option-card {
        font-size: 19px;
        padding: 16px;
    }

    .question-buttons {
        flex-direction: column;
    }
}/* SDAT layout final fixes */

.sdat-page {
    min-height: calc(100vh - 120px);
    background-image: linear-gradient(rgba(238,243,248,0.35), rgba(238,243,248,0.35)), url('/images/sdat-banner.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    padding: 60px 24px !important;
}

.sdat-intro-panel,
.question-card {
    max-width: 900px !important;
    margin: 0 auto !important;
    background: rgba(255,255,255,0.92) !important;
    padding: 50px !important;
    border-radius: 26px !important;
}

.question-card h2 {
    margin-bottom: 28px !important;
}

.option-card {
    display: block !important;
    margin-bottom: 18px !important;
    padding: 22px 26px !important;
    font-size: 22px !important;
}

@media (max-width: 768px) {
    .sdat-page {
        padding: 30px 18px !important;
    }

    .sdat-intro-panel,
    .question-card {
        padding: 28px !important;
        width: 100% !important;
    }

    .question-card h2 {
        font-size: 28px !important;
    }

    .option-card {
        font-size: 20px !important;
        line-height: 1.5 !important;
    }
}/* =========================
   USAT FAST DIARY UI
========================= */

.usat-section-title {
    font-size: 24px;
    font-weight: 800;
    color: #0d47a1;
    margin-bottom: 18px;
}

.usat-type-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 20px;
}

.usat-type-btn {
    border: 3px solid #c9d9ec;
    background: white;
    color: #0d47a1;
    border-radius: 18px;
    padding: 22px;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
}

.usat-type-btn span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #455a64;
    margin-top: 8px;
}

.usat-type-selected {
    background: #1565c0 !important;
    color: white !important;
    border-color: #0d47a1 !important;
}

.usat-type-selected span {
    color: white !important;
}

.usat-disabled-area {
    opacity: 0.38;
    pointer-events: none;
}

.usat-toggle-row {
    display: grid;
    grid-template-columns: 1fr 90px;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 14px;
}

.usat-statement {
    background: white;
    border: 2px solid #d5e3f5;
    border-radius: 16px;
    padding: 18px 20px;
    font-size: 20px;
    line-height: 1.45;
    color: #1f2937;
    font-weight: 600;
}

.usat-answer-btn {
    border: none;
    border-radius: 16px;
    background: #d32f2f;
    color: white;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}

.usat-answer-btn.usat-yes {
    background: #2e7d32;
}

.usat-answer-btn.usat-no-selected {
    background: #b71c1c;
    box-shadow: 0 0 0 4px rgba(183,28,28,0.18);
}

.usat-hidden {
    display: none !important;
}

.usat-disabled-link {
    opacity: 0.45;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .usat-type-row {
        grid-template-columns: 1fr;
    }

    .usat-toggle-row {
        grid-template-columns: 1fr 78px;
        gap: 10px;
    }

    .usat-statement {
        font-size: 17px;
        padding: 14px;
    }

    .usat-answer-btn {
        font-size: 17px;
    }

    .usat-type-btn {
        font-size: 21px;
        padding: 18px;
    }
}.usat-statement-btn {
    border: 2px solid #d5e3f5;
    background: white;
    border-radius: 16px;
    padding: 18px 20px;
    font-size: 20px;
    line-height: 1.45;
    color: #1f2937;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: 0.2s;
}

.usat-statement-btn:hover {
    border-color: #2e7d32;
}

.usat-yes-selected {
    background: #2e7d32 !important;
    color: white !important;
    border-color: #1b5e20 !important;
    box-shadow: 0 0 0 4px rgba(46,125,50,0.22);
}/* EDAT Results Typography */

#edatResults {
    font-size: 1.15rem;
    line-height: 1.8;
}

#edatResults p {
    font-size: 1.1rem;
    line-height: 1.8;
}

#edatResults li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

#edatResults h2 {
    font-size: 2rem;
    font-weight: 700;
}

#edatResults h3 {
    font-size: 1.4rem;
    font-weight: 700;
}/* Make result cards pop more */

.recommendation-card {
    border-radius: 24px !important;
    padding: 28px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.recommendation-card h3 {
    font-size: 1.7rem !important;
    font-weight: 800 !important;
    margin-bottom: 18px !important;
}

.recommendation-card p {
    font-size: 1.15rem !important;
    line-height: 1.9 !important;
}

.recommendation-card li {
    font-size: 1.15rem !important;
    line-height: 1.9 !important;
    margin-bottom: 12px !important;
}

/* More colorful cards */

.red-card {
    background: linear-gradient(135deg,#fff0f0,#ffd9d9) !important;
}

.orange-card {
    background: linear-gradient(135deg,#fff5e6,#ffe0b3) !important;
}

.blue-card {
    background: linear-gradient(135deg,#eef7ff,#cfe8ff) !important;
}

.green-card {
    background: linear-gradient(135deg,#eefcf2,#d4f5dd) !important;
}

.purple-card {
    background: linear-gradient(135deg,#f7efff,#e8d5ff) !important;
}

.gray-card {
    background: linear-gradient(135deg,#f4f4f4,#e1e1e1) !important;
}

.history-card {
    background: linear-gradient(135deg,#fff8dc,#ffeaa0) !important;
}

.notice-card {
    background: linear-gradient(135deg,#fffbe8,#fff2b5) !important;
}

/* Bigger summary tiles */

.summary-tile {
    min-height: 160px !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18) !important;
}

.summary-tile span {
    font-size: 3.2rem !important;
    font-weight: 900 !important;
}

.summary-tile p {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}

/* Bigger banner */

.risk-banner-inner {
    border-radius: 24px !important;
    padding: 30px !important;
}

.risk-banner-inner h3 {
    font-size: 2rem !important;
}

.risk-banner-inner p {
    font-size: 1.15rem !important;
}

/* Make findings list look like flash cards */

#edatSummary .recommendation-card,
#edatRecommendations .recommendation-card {
    transition: all 0.25s ease;
}

#edatSummary .recommendation-card:hover,
#edatRecommendations .recommendation-card:hover {
    transform: translateY(-4px);
}/* USAT Yes / No button layout */

.usat-yn-row {
    display: grid;
    grid-template-columns: 1fr 95px 95px;
    gap: 12px;
    align-items: center;
    margin: 14px 0;
}

.usat-question-text {
    background: #ffffff;
    border: 2px solid #cfe1f5;
    border-radius: 16px;
    padding: 20px 22px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.usat-yes-btn,
.usat-no-btn {
    height: 68px;
    border-radius: 16px;
    border: 2px solid transparent;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    background: #eef2f7;
    color: #374151;
    transition: 0.2s ease;
}

.usat-yes-btn:hover {
    border-color: #2e7d32;
}

.usat-no-btn:hover {
    border-color: #d62828;
}

.usat-yes-selected {
    background: #2e7d32 !important;
    color: #ffffff !important;
    border-color: #1b5e20 !important;
    box-shadow: 0 0 0 4px rgba(46,125,50,0.22);
}

.usat-no-selected {
    background: #d62828 !important;
    color: #ffffff !important;
    border-color: #a4161a !important;
    box-shadow: 0 0 0 4px rgba(214,40,40,0.20);
}

.usat-hidden {
    display: none !important;
}

@media (max-width: 700px) {
    .usat-yn-row {
        grid-template-columns: 1fr 80px 80px;
    }

    .usat-question-text {
        font-size: 1rem;
        padding: 16px;
    }

    .usat-yes-btn,
    .usat-no-btn {
        height: 58px;
        font-size: 1rem;
    }
}.usat-anatomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.usat-anatomy-card {
    background: white;
    border: 3px solid #dbeafe;
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.usat-anatomy-card:hover {
    transform: translateY(-3px);
}

.usat-anatomy-card strong {
    font-size: 1.15rem;
}

.usat-anatomy-card span {
    color: #6b7280;
}

.usat-anatomy-selected {
    background: linear-gradient(135deg,#2563eb,#60a5fa);
    color: white;
    border-color: #2563eb;
}

.usat-anatomy-selected span {
    color: white;
}.usat-helper-text {
    font-size: 1rem;
    color: #4b5563;
    margin-top: -8px;
    margin-bottom: 16px;
    line-height: 1.5;
}.usat-saved-anatomy-card {
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    border: 2px solid #60a5fa;
    border-radius: 18px;
    padding: 18px 22px;
    margin: 20px 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.usat-saved-anatomy-card strong {
    font-size: 1.15rem;
    color: #0f172a;
}

.usat-saved-anatomy-card p {
    margin: 6px 0 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1d4ed8;
}

.usat-saved-anatomy-card button {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
    cursor: pointer;
}/* =========================
   USAT PAGE BACKGROUND
   ========================= */

/* =========================
   USAT PAGE BACKGROUND
========================= */

.usat-page {
    min-height: calc(100vh - 120px);
    background-image: url('/images/usat-banner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 70px 20px;
}

.usat-page .question-card {
    max-width: 950px;
    margin: 0 auto;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 26px;
    padding: 50px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

@media (max-width: 768px) {
    .usat-page {
        padding: 30px 18px;
        background-position: center top;
    }

    .usat-page .question-card {
        width: 100%;
        padding: 28px;
    }
}/* FINAL USAT DIARY + INTRO BACKGROUND FIX */
.usat-page {
    min-height: calc(100vh - 120px) !important;
    background-image: url('/images/usat-banner.png.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    padding: 70px 20px !important;
}

.usat-page .question-card,
.usat-page .sdat-intro-panel {
    max-width: 950px !important;
    margin: 0 auto !important;
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 26px !important;
    padding: 50px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22) !important;
}/* USAT DIARY PAGE */

.usat-diary-page {
    min-height: calc(100vh - 120px);
    background-image:
        linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
        url('/images/usat-banner.png.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 70px 20px;
}

.usat-diary-page .question-card {
    max-width: 950px;
    margin: 0 auto;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-radius: 26px;
    padding: 50px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}/* FINAL SEPARATE USAT INTRO AND DIARY BACKGROUNDS */

.usat-page {
    min-height: calc(100vh - 120px) !important;
    background-image: url('/images/usat-intro-banner.png - Copy.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    padding: 70px 20px !important;
}

.usat-diary-page {
    min-height: calc(100vh - 120px) !important;
    background-image: url('/images/usat-diary-banner.png.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    padding: 70px 20px !important;
}

.usat-page .sdat-intro-panel,
.usat-diary-page .question-card {
    max-width: 950px !important;
    margin: 0 auto !important;
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 26px !important;
    padding: 50px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22) !important;
}/* FINAL SEPARATE USAT INTRO AND DIARY BACKGROUNDS */

.usat-page {
    min-height: calc(100vh - 120px) !important;
    background-image: url('/images/usat-intro-banner.png - Copy.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    padding: 70px 20px !important;
}

.usat-diary-page {
    min-height: calc(100vh - 120px) !important;
    background-image: url('/images/usat-diary-banner.png.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    padding: 70px 20px !important;
}

.usat-page .sdat-intro-panel,
.usat-diary-page .question-card {
    max-width: 950px !important;
    margin: 0 auto !important;
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 26px !important;
    padding: 50px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22) !important;
}
/* ABSOLUTE FINAL USAT FIX */

.usat-page {
    background-image: url("/images/usat-intro-banner.png - Copy.png") !important;
}

.usat-diary-page {
    background-image: url("/images/usat-diary-banner.png.png") !important;
}

.usat-page,
.usat-diary-page {
    min-height: calc(100vh - 120px) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    padding: 70px 20px !important;
}

.usat-page .sdat-intro-panel,
.usat-diary-page .question-card {
    max-width: 950px !important;
    margin: 0 auto !important;
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 26px !important;
    padding: 50px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22) !important;
}.disclaimer-box {
    max-width: 1400px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.disclaimer-box h2 {
    color: #1e5bb8;
    margin-bottom: 20px;
}

.disclaimer-box p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}