/* ============================================================
   Family History Assistant 101 - FHA101
   Circuit Board Theme Styles
   ============================================================ */

/* --- Base & Typography --- */
body {
    font-family: 'PT Sans', sans-serif;
    font-size: 1.1rem;
    background-color: #0a1628;
    color: #e0e0e0;
    margin: 0;
    padding-top: 80px;
}

body.circuit-theme {
    background: linear-gradient(135deg, #0a1628 0%, #0d2137 100%);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #ffffff;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* --- FHA101 Circuit Board Color Palette --- */
:root {
    --circuit-bg: #0a1628;
    --circuit-bg-light: #0d2137;
    --circuit-cyan: #00d4ff;
    --circuit-cyan-dark: #0099cc;
    --circuit-orange: #ff8c00;
    --circuit-glow: rgba(0, 212, 255, 0.3);
    --fs-blue: #00d4ff;
    --fs-blue-dark: #0099cc;
    --fs-blue-light: rgba(0, 212, 255, 0.1);
    --fs-gold: #ff8c00;
    --fs-cream: #0a1628;
    --fs-text: #e0e0e0;
    --fs-text-light: rgba(255, 255, 255, 0.7);
    --fs-white-90: rgba(255, 255, 255, 0.9);
    --fs-kids-orange: #E85D04;
    --fs-kids-yellow: #FFBA08;
    --fs-kids-purple: #7B2CBF;
    --fs-kids-green: #2DC653;
    --fs-kids-bg: #FFF8E7;

    /* Mission/Section Color Palette */
    --mission-4gen: #00d4ff;          /* 4 Generations - Cyan */
    --mission-deeper: #9b59b6;        /* Go Deeper - Purple */
    --mission-sideways: #2ecc71;      /* Explore Sideways - Green */
    --mission-records: #ff8c00;       /* Search Records - Orange */
    --mission-temple: #f1c40f;        /* Temple Work - Gold */
    --mission-memories: #e91e63;      /* Add Memories - Pink */
    --mission-gaps: #1abc9c;          /* Fill in Gaps - Teal */
    --mission-hub: #ff6b6b;           /* Mission Hub - Coral */
}

/* --- Navbar - Circuit Board Theme --- */
.navbar, .circuit-navbar {
    height: 80px;
    background: linear-gradient(90deg, #0a1628, #0d2137) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    transition: border-color 0.3s ease;
    --bs-navbar-color: #ffffff;
    --bs-navbar-hover-color: #ffffff;
    --bs-navbar-active-color: #ffffff;
    --bs-nav-link-color: #ffffff;
    --bs-nav-link-hover-color: #ffffff;
}

/* Mission-themed navbar colors - thicker border for visibility */
body.mission-4gen .navbar { border-bottom: 3px solid var(--mission-4gen); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.3); }
body.mission-deeper .navbar { border-bottom: 3px solid var(--mission-deeper); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(155, 89, 182, 0.3); }
body.mission-sideways .navbar { border-bottom: 3px solid var(--mission-sideways); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(46, 204, 113, 0.3); }
body.mission-records .navbar { border-bottom: 3px solid var(--mission-records); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 140, 0, 0.3); }
body.mission-temple .navbar { border-bottom: 3px solid var(--mission-temple); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(241, 196, 15, 0.3); }
body.mission-memories .navbar { border-bottom: 3px solid var(--mission-memories); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(233, 30, 99, 0.3); }
body.mission-gaps .navbar { border-bottom: 3px solid var(--mission-gaps); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(26, 188, 156, 0.3); }
body.mission-hub .navbar { border-bottom: 3px solid var(--mission-hub); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 107, 107, 0.3); }

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-logo {
    height: 160px;
    width: auto;
    position: absolute;
    top: 0;
    left: 20px;
    z-index: 101;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.navbar-collapse {
    margin-left: 180px;
}

/* Mobile: hamburger menu with collapsible nav */
@media (max-width: 991px) {
    body {
        padding-top: 66px;
    }

    .navbar-logo {
        height: 50px;
        position: relative;
        top: auto;
        left: 0;
    }

    .navbar, .circuit-navbar {
        height: auto;
        min-height: 60px;
        padding: 8px 15px;
    }

    .navbar-collapse {
        margin-left: 0;
    }

    /* Collapsed menu styling */
    .navbar-collapse.collapse:not(.show) {
        display: none;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        display: block;
        background: linear-gradient(135deg, #0d2137, #0a1628);
        border-top: 1px solid rgba(0, 212, 255, 0.2);
        margin-top: 8px;
        padding: 10px 0;
        border-radius: 0 0 12px 12px;
    }

    .navbar-nav {
        flex-direction: column !important;
        align-items: stretch;
        gap: 0;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

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

    .nav-link {
        font-size: 0.9rem;
        padding: 12px 16px !important;
    }

    .btn-familysearch {
        display: block;
        text-align: center;
        margin: 8px 16px;
        font-size: 0.85rem;
    }

    .navbar-toggler {
        border-color: rgba(0, 212, 255, 0.4);
        padding: 6px 10px;
    }

    .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }

    /* Dropdowns in mobile nav */
    .dropdown-menu {
        position: static !important;
        background: rgba(0, 0, 0, 0.2) !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 16px;
    }
}

/* Tablet: slightly smaller nav items */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-logo {
        height: 55px;
        position: relative;
        top: auto;
        left: 0;
    }

    .navbar-collapse {
        margin-left: 0;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 6px 8px !important;
    }

    .btn-familysearch {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

/* Circuit theme dropdown menu */
.circuit-dropdown,
.circuit-theme .dropdown-menu {
    background: linear-gradient(135deg, #0d2137 0%, #0a1628 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.1);
}

.circuit-dropdown .dropdown-item,
.circuit-theme .dropdown-item {
    font-family: 'Oswald', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s;
}

.circuit-dropdown .dropdown-item:hover,
.circuit-theme .dropdown-item:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

/* Color-coded dropdown menu items */
.dropdown-item.mission-4gen { color: var(--mission-4gen) !important; }
.dropdown-item.mission-deeper { color: var(--mission-deeper) !important; }
.dropdown-item.mission-sideways { color: var(--mission-sideways) !important; }
.dropdown-item.mission-records { color: var(--mission-records) !important; }
.dropdown-item.mission-temple { color: var(--mission-temple) !important; }
.dropdown-item.mission-memories { color: var(--mission-memories) !important; }
.dropdown-item.mission-gaps { color: var(--mission-gaps) !important; }
.dropdown-item.mission-hub { color: var(--mission-hub) !important; }

.dropdown-item.mission-4gen:hover { background: rgba(0, 212, 255, 0.15) !important; }
.dropdown-item.mission-deeper:hover { background: rgba(155, 89, 182, 0.15) !important; }
.dropdown-item.mission-sideways:hover { background: rgba(46, 204, 113, 0.15) !important; }
.dropdown-item.mission-records:hover { background: rgba(255, 140, 0, 0.15) !important; }
.dropdown-item.mission-temple:hover { background: rgba(241, 196, 15, 0.15) !important; }
.dropdown-item.mission-memories:hover { background: rgba(233, 30, 99, 0.15) !important; }
.dropdown-item.mission-gaps:hover { background: rgba(26, 188, 156, 0.15) !important; }
.dropdown-item.mission-hub:hover { background: rgba(255, 107, 107, 0.15) !important; }

/* Page title colors for mission pages */
.page-title.mission-4gen { color: var(--mission-4gen) !important; }
.page-title.mission-deeper { color: var(--mission-deeper) !important; }
.page-title.mission-sideways { color: var(--mission-sideways) !important; }
.page-title.mission-records { color: var(--mission-records) !important; }
.page-title.mission-temple { color: var(--mission-temple) !important; }
.page-title.mission-memories { color: var(--mission-memories) !important; }
.page-title.mission-gaps { color: var(--mission-gaps) !important; }
.page-title.mission-hub { color: var(--mission-hub) !important; }

.circuit-dropdown .dropdown-header,
.circuit-theme .dropdown-header {
    color: #00d4ff;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.circuit-dropdown .dropdown-divider,
.circuit-theme .dropdown-divider {
    border-color: rgba(0, 212, 255, 0.2);
}

/* Small phones */
@media (max-width: 600px) {
    .navbar-logo {
        height: 42px;
    }
}

.nav-link,
.navbar-dark .nav-link,
.circuit-navbar .nav-link,
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    font-size: 0.85rem;
}

.nav-link:hover,
.navbar-dark .nav-link:hover,
.circuit-navbar .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.navbar-dark .navbar-nav .dropdown-toggle,
.circuit-navbar .dropdown-toggle {
    color: #ffffff !important;
}

/* Protect logo from any mission theme color bleeding */
.navbar-logo {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) !important;
}

/* ============================================================
   Mission-Specific Accent Colors
   These apply mission colors to titles, headings, badges,
   card top borders, and buttons — NOT backgrounds.
   ============================================================ */

/* --- Step badge colors per mission --- */
body.mission-deeper .step-badge { background: linear-gradient(135deg, var(--mission-deeper), #7d3c98) !important; color: #fff !important; }
body.mission-sideways .step-badge { background: linear-gradient(135deg, var(--mission-sideways), #1a9850) !important; color: #0a1628 !important; }
body.mission-records .step-badge { background: linear-gradient(135deg, var(--mission-records), #cc7000) !important; color: #0a1628 !important; }
body.mission-temple .step-badge { background: linear-gradient(135deg, var(--mission-temple), #d4ac0d) !important; color: #0a1628 !important; }
body.mission-memories .step-badge { background: linear-gradient(135deg, var(--mission-memories), #c2185b) !important; color: #fff !important; }
body.mission-gaps .step-badge { background: linear-gradient(135deg, var(--mission-gaps), #148f77) !important; color: #0a1628 !important; }

/* --- Step card top accent line per mission --- */
body.mission-deeper .step-card::before { background: linear-gradient(90deg, var(--mission-deeper), #d2b4de) !important; }
body.mission-sideways .step-card::before { background: linear-gradient(90deg, var(--mission-sideways), #a9dfbf) !important; }
body.mission-records .step-card::before { background: linear-gradient(90deg, var(--mission-records), #fad7a0) !important; }
body.mission-temple .step-card::before { background: linear-gradient(90deg, var(--mission-temple), #fdebd0) !important; }
body.mission-memories .step-card::before { background: linear-gradient(90deg, var(--mission-memories), #f8bbd0) !important; }
body.mission-gaps .step-card::before { background: linear-gradient(90deg, var(--mission-gaps), #a3e4d7) !important; }

/* --- Step card border glow per mission --- */
body.mission-deeper .step-card { border-color: rgba(155, 89, 182, 0.3) !important; }
body.mission-sideways .step-card { border-color: rgba(46, 204, 113, 0.3) !important; }
body.mission-records .step-card { border-color: rgba(255, 140, 0, 0.3) !important; }
body.mission-temple .step-card { border-color: rgba(241, 196, 15, 0.3) !important; }
body.mission-memories .step-card { border-color: rgba(233, 30, 99, 0.3) !important; }
body.mission-gaps .step-card { border-color: rgba(26, 188, 156, 0.3) !important; }

/* --- Primary button colors per mission --- */
body.mission-deeper .btn-fs-primary { background: linear-gradient(135deg, var(--mission-deeper), #7d3c98) !important; color: #fff !important; box-shadow: 0 4px 20px rgba(155, 89, 182, 0.4) !important; }
body.mission-sideways .btn-fs-primary { background: linear-gradient(135deg, var(--mission-sideways), #1a9850) !important; color: #0a1628 !important; box-shadow: 0 4px 20px rgba(46, 204, 113, 0.4) !important; }
body.mission-records .btn-fs-primary { background: linear-gradient(135deg, var(--mission-records), #cc7000) !important; color: #0a1628 !important; box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4) !important; }
body.mission-temple .btn-fs-primary { background: linear-gradient(135deg, var(--mission-temple), #d4ac0d) !important; color: #0a1628 !important; box-shadow: 0 4px 20px rgba(241, 196, 15, 0.4) !important; }
body.mission-memories .btn-fs-primary { background: linear-gradient(135deg, var(--mission-memories), #c2185b) !important; color: #fff !important; box-shadow: 0 4px 20px rgba(233, 30, 99, 0.4) !important; }
body.mission-gaps .btn-fs-primary { background: linear-gradient(135deg, var(--mission-gaps), #148f77) !important; color: #0a1628 !important; box-shadow: 0 4px 20px rgba(26, 188, 156, 0.4) !important; }

/* --- Mission-specific step image border colors --- */
body.mission-deeper .step-image { border-color: rgba(155, 89, 182, 0.3) !important; }
body.mission-deeper .step-image:hover { border-color: var(--mission-deeper) !important; box-shadow: 0 0 30px rgba(155, 89, 182, 0.3) !important; }
body.mission-sideways .step-image { border-color: rgba(46, 204, 113, 0.3) !important; }
body.mission-sideways .step-image:hover { border-color: var(--mission-sideways) !important; box-shadow: 0 0 30px rgba(46, 204, 113, 0.3) !important; }
body.mission-records .step-image { border-color: rgba(255, 140, 0, 0.3) !important; }
body.mission-records .step-image:hover { border-color: var(--mission-records) !important; box-shadow: 0 0 30px rgba(255, 140, 0, 0.3) !important; }
body.mission-temple .step-image { border-color: rgba(241, 196, 15, 0.3) !important; }
body.mission-temple .step-image:hover { border-color: var(--mission-temple) !important; box-shadow: 0 0 30px rgba(241, 196, 15, 0.3) !important; }
body.mission-memories .step-image { border-color: rgba(233, 30, 99, 0.3) !important; }
body.mission-memories .step-image:hover { border-color: var(--mission-memories) !important; box-shadow: 0 0 30px rgba(233, 30, 99, 0.3) !important; }
body.mission-gaps .step-image { border-color: rgba(26, 188, 156, 0.3) !important; }
body.mission-gaps .step-image:hover { border-color: var(--mission-gaps) !important; box-shadow: 0 0 30px rgba(26, 188, 156, 0.3) !important; }

/* --- Chat helper accent colors per mission --- */
body.mission-deeper .chat-helper-toggle { color: var(--mission-deeper) !important; }
body.mission-sideways .chat-helper-toggle { color: var(--mission-sideways) !important; }
body.mission-records .chat-helper-toggle { color: var(--mission-records) !important; }
body.mission-temple .chat-helper-toggle { color: var(--mission-temple) !important; }
body.mission-memories .chat-helper-toggle { color: var(--mission-memories) !important; }
body.mission-gaps .chat-helper-toggle { color: var(--mission-gaps) !important; }

/* --- Mission hub card accent borders on hover --- */
body.mission-hub .mission-card:hover { border-color: rgba(255, 107, 107, 0.5) !important; box-shadow: 0 10px 40px rgba(255, 107, 107, 0.2) !important; }

/* --- Compact Expandable Progress Bar (below navbar, right-aligned) --- */
.progress-bar-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 8px auto 0;
    margin-right: 580px;
    padding: 0;
    z-index: 1050;
    position: relative;
}

.progress-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 12px;
    background: rgba(10, 22, 40, 0.85);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 18px;
    transition: all 0.2s ease;
}

.progress-compact:hover {
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(10, 22, 40, 0.95);
}

.progress-compact-track {
    flex: 1;
    height: 5px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-compact-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #ff8c00);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.progress-compact-label {
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.progress-compact-arrow {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
}

.progress-compact-arrow.expanded {
    transform: rotate(180deg);
}

/* Expanded detail panel */
.progress-detail {
    display: none;
    background: rgba(10, 22, 40, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 12px 14px;
    margin-top: -1px;
}

.progress-detail.open {
    display: block;
}

.progress-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
}

.progress-detail-item + .progress-detail-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-detail-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.progress-detail-info {
    flex: 1;
    min-width: 0;
}

.progress-detail-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.progress-detail-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #00d4ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-detail-step {
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.progress-detail-goal {
    font-size: 0.75rem;
    color: #ff8c00;
    margin-bottom: 4px;
    line-height: 1.3;
}

.progress-detail-track {
    height: 4px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-detail-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #2dc653);
    border-radius: 2px;
    transition: width 0.4s ease;
}

@media (max-width: 600px) {
    .progress-bar-wrapper { max-width: 100%; margin: 8px 10px 0 auto; }
    .progress-compact { padding: 5px 10px; }
    .progress-compact-label { font-size: 0.65rem; }
}

/* FamilySearch button in navbar */
.btn-familysearch {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white !important;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.btn-familysearch:hover {
    background: linear-gradient(135deg, #66BB6A 0%, #43A047 100%);
    color: white !important;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

/* Save Progress nav link */
.nav-save-progress {
    color: #00d4ff !important;
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 6px;
    padding: 6px 12px !important;
    margin-right: 10px;
    transition: all 0.2s;
}

.nav-save-progress:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.nav-save-progress .save-icon {
    margin-right: 4px;
}

/* Hide save icon on smaller screens to save space */
@media (max-width: 991.98px) {
    .nav-save-progress .save-icon {
        display: none;
    }

    .nav-save-progress {
        font-size: 0.7rem;
        padding: 4px 8px !important;
    }
}

/* --- Main Content Area --- */
.main-content {
    min-height: calc(100vh - 80px - 60px);
    padding: 100px 20px 30px 20px; /* Extra top padding to clear the overhanging logo */
}

/* On larger screens, add left margin to avoid logo overlap */
@media (min-width: 768px) {
    .main-content {
        padding-left: 40px;
    }
}

/* --- Cards --- */
.card-fs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: none;
    overflow: hidden;
}

.card-fs-accent {
    border-top: 4px solid var(--fs-blue);
}

/* --- Buttons --- */
.btn-fs {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-fs-primary {
    background-color: var(--fs-blue);
    color: white;
    border: none;
}

.btn-fs-primary:hover {
    background-color: var(--fs-blue-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 125, 216, 0.4);
}

.btn-fs-gold {
    background-color: var(--fs-gold);
    color: #2c3e50;
    border: none;
}

.btn-fs-gold:hover {
    background-color: #c49843;
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 168, 83, 0.4);
}

.btn-fs-outline {
    background: transparent;
    color: var(--fs-blue);
    border: 2px solid var(--fs-blue);
}

.btn-fs-outline:hover {
    background-color: var(--fs-blue);
    color: white;
    transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 15px;
    background: rgba(44, 62, 80, 0.9);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

/* ============================================================
   WELCOME PAGE
   ============================================================ */

.welcome-hero {
    text-align: center;
    padding: 20px 20px 40px;
}

.welcome-hero h1 {
    color: var(--fs-blue);
    margin-bottom: 15px;
}

.welcome-hero .subtitle {
    font-size: 1.3rem;
    color: var(--fs-text-light);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Age Selector Cards */
.age-selector {
    max-width: 900px;
    margin: 0 auto;
}

.age-card {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.age-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.age-card.selected {
    border-color: var(--fs-blue);
    box-shadow: 0 8px 25px rgba(59, 125, 216, 0.25);
}

.age-card .age-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.age-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--fs-blue);
}

.age-card p {
    font-size: 0.95rem;
    color: var(--fs-text-light);
    margin: 0;
    line-height: 1.5;
}

/* Age-adaptive text areas */
.age-content {
    display: none;
    max-width: 700px;
    margin: 40px auto 0;
    background: var(--fs-white-90);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-left: 5px solid var(--fs-blue);
}

.age-content.active {
    display: block;
    animation: fadeSlideUp 0.4s ease;
}

.age-content h2 {
    color: var(--fs-blue);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.age-content p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.start-btn-wrapper {
    text-align: center;
    margin-top: 25px;
}

/* ============================================================
   DASHBOARD PAGE
   ============================================================ */

.dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: calc(100vh - 80px - 60px - 60px);
}

/* --- Chat Panel --- */
.chat-panel {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.chat-header {
    background: var(--fs-blue);
    color: white;
    padding: 15px 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.5;
    font-size: 1rem;
}

.chat-message.coach {
    align-self: flex-start;
    background: var(--fs-blue-light);
    color: var(--fs-text);
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    align-self: flex-end;
    background: var(--fs-blue);
    color: white;
    border-bottom-right-radius: 4px;
}

/* Links in coach messages (from AI responses) */
.chat-message.coach a.coach-link {
    color: var(--fs-blue);
    text-decoration: underline;
    font-weight: 600;
}

.chat-message.coach a.coach-link:hover {
    color: var(--fs-blue-dark);
    text-decoration: none;
}

body.kids-mode .chat-message.coach a.coach-link {
    color: var(--fs-kids-orange);
}

body.kids-mode .chat-message.coach a.coach-link:hover {
    color: #E66820;
}

/* Images in chat messages */
.chat-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-image-wrapper {
    flex: 0 0 auto;
    max-width: 150px;
}

.chat-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-image-wrapper img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Larger images in custom help chat */
.custom-chat-messages .chat-image-wrapper {
    max-width: 200px;
}

.chat-message .sender {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    opacity: 0.7;
}

.chat-input-area {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    font-family: 'PT Sans', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input-area input:focus {
    border-color: var(--fs-blue);
}

.chat-input-area button {
    background: var(--fs-blue);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-input-area button:hover {
    background: var(--fs-blue-dark);
}

.chat-typing {
    align-self: flex-start;
    padding: 10px 16px;
    color: var(--fs-text-light);
    font-style: italic;
    font-size: 0.9rem;
    display: none;
}

.chat-typing.active {
    display: block;
}

/* --- Mission Panel (Sidebar) --- */
.mission-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.mission-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.mission-card-header {
    background: var(--fs-blue);
    color: white;
    padding: 15px 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mission-card-body {
    padding: 20px;
}

/* Generation Progress */
.generation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.generation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.gen-status {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.gen-status.locked {
    background: #e9ecef;
    color: #adb5bd;
}

.gen-status.active {
    background: var(--fs-blue-light);
    color: var(--fs-blue);
    border: 2px solid var(--fs-blue);
    animation: pulse 2s infinite;
}

.gen-status.complete {
    background: #d4edda;
    color: #198754;
}

.gen-info {
    flex: 1;
}

.gen-label {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--fs-text);
}

.gen-detail {
    font-size: 0.85rem;
    color: var(--fs-text-light);
    margin-top: 2px;
}

/* (Old dashboard progress bar removed — using global compact bar now) */

/* Open FamilySearch Button */
.btn-open-fs {
    display: block;
    width: 100%;
    text-align: center;
    background: white;
    border: 2px solid var(--fs-blue);
    border-radius: 12px;
    padding: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    color: var(--fs-blue);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-open-fs:hover {
    background: var(--fs-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 125, 216, 0.3);
}

/* ============================================================
   ONBOARDING PAGE
   ============================================================ */

.onboarding-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.onboarding-step {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-left: 5px solid var(--fs-blue);
}

.onboarding-step h3 {
    color: var(--fs-blue);
    margin-bottom: 10px;
}

.step-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: var(--fs-blue);
    color: white;
    border-radius: 50%;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 0.9rem;
    margin-right: 10px;
}

/* Terms Agreement Box */
.terms-agreement-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

.terms-preview {
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    border: 1px solid #eee;
    font-size: 0.95rem;
}

.terms-preview p {
    margin-bottom: 10px;
}

.terms-preview ul {
    margin: 10px 0;
    padding-left: 20px;
}

.terms-preview li {
    margin-bottom: 5px;
    color: #555;
}

.terms-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.2s;
}

.terms-checkbox-label:hover {
    border-color: var(--fs-blue);
}

.terms-checkbox-label input:checked ~ span {
    color: var(--fs-blue);
}

.terms-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 8px 12px;
    background: #fff5f5;
    border-radius: 6px;
}

/* Kids mode terms */
body.kids-mode .terms-agreement-box {
    background: #FFF8E7;
    border-color: var(--fs-kids-orange);
}

body.kids-mode .terms-checkbox-label:hover {
    border-color: var(--fs-kids-orange);
}

body.kids-mode .terms-checkbox-label input:checked ~ span {
    color: var(--fs-kids-orange);
}

/* ============================================================
   CELEBRATIONS / ANIMATIONS
   ============================================================ */

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

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 125, 216, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(59, 125, 216, 0); }
}

@keyframes celebrate {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.celebrate {
    animation: celebrate 0.5s ease;
}

/* ============================================================
   DISCLAIMER
   ============================================================ */

.disclaimer {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    max-width: 600px;
    margin: 30px auto 0;
    line-height: 1.5;
}

/* ============================================================
   KIDS MODE - Big, colorful, playful
   ============================================================ */

/* Kids welcome card */
.kids-card {
    background: linear-gradient(135deg, #FFF8E7 0%, #FFE8CC 100%) !important;
    border: 3px solid var(--fs-kids-orange) !important;
}

.kids-card h3 {
    color: var(--fs-kids-orange) !important;
    font-size: 1.3rem !important;
}

.kids-card .age-icon {
    font-size: 3.5rem;
}

.kids-card.selected {
    border-color: var(--fs-kids-orange) !important;
    box-shadow: 0 8px 25px rgba(232, 93, 4, 0.3) !important;
}

/* Kids content section */
.kids-content {
    border-left-color: var(--fs-kids-orange) !important;
    background: var(--fs-kids-bg) !important;
}

.kids-content h2 {
    color: var(--fs-kids-orange) !important;
    font-size: 1.8rem !important;
}

.kids-content p {
    font-size: 1.1rem;
}

/* Kids button */
.btn-fs-kids {
    background: linear-gradient(135deg, var(--fs-kids-orange), #F48C06) !important;
    color: #1a1a1a !important;
    border: none;
    font-size: 1.1rem !important;
    padding: 15px 35px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(232, 93, 4, 0.4);
}

.btn-fs-kids:hover {
    background: linear-gradient(135deg, #D35400, var(--fs-kids-orange)) !important;
    color: #1a1a1a !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 93, 4, 0.5);
}

/* Kids dashboard theme overrides */
body.kids-mode {
    background-color: var(--fs-kids-bg);
}

body.kids-mode .navbar {
    background-color: var(--fs-kids-orange) !important;
}

body.kids-mode .navbar .nav-link,
body.kids-mode .navbar .navbar-brand {
    color: #1a1a1a !important;
}

body.kids-mode .chat-header {
    background: var(--fs-kids-orange);
    color: #1a1a1a;
}

body.kids-mode .chat-message.coach {
    background: #FFF0DB;
    color: #333333;
}

body.kids-mode .chat-message.user {
    background: var(--fs-kids-orange);
    color: #1a1a1a;
}

body.kids-mode .chat-input-area button {
    background: var(--fs-kids-orange);
    color: #1a1a1a;
}

body.kids-mode .chat-input-area button:hover {
    background: #D35400;
}

body.kids-mode .chat-input-area input:focus {
    border-color: var(--fs-kids-orange);
}

body.kids-mode .mission-card-header {
    background: var(--fs-kids-purple);
}

body.kids-mode .gen-status.active {
    background: #FFF0DB;
    color: var(--fs-kids-orange);
    border-color: var(--fs-kids-orange);
}

body.kids-mode .gen-status.complete {
    background: #D4F5DC;
    color: var(--fs-kids-green);
}

body.kids-mode .progress-bar-fill {
    background: linear-gradient(90deg, var(--fs-kids-orange), var(--fs-kids-yellow));
}

body.kids-mode .btn-open-fs {
    border-color: var(--fs-kids-purple);
    color: var(--fs-kids-purple);
}

body.kids-mode .btn-open-fs:hover {
    background: var(--fs-kids-purple);
    color: white;
}

body.kids-mode .btn-fs-primary {
    background-color: var(--fs-kids-orange);
}

body.kids-mode .btn-fs-primary:hover {
    background-color: #D35400;
}

body.kids-mode .gen-label {
    font-size: 0.9rem;
}

body.kids-mode .gen-detail {
    font-size: 0.9rem;
}

body.kids-mode .chat-message {
    font-size: 1.05rem;
}

/* ============================================================
   INTERACTIVE WINDOW SETUP GRAPHIC
   ============================================================ */

.window-setup-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px 20px;
    background: #f8f9fa;
    margin: 0 25px;
    border-radius: 12px;
}

.window-box {
    width: 220px;
    height: 160px;
    background: white;
    border: 2px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.window-box:hover {
    border-color: #ff6b35;
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.window-box.clicked {
    border-color: #4CAF50;
    background: #f0fff0;
}

.window-titlebar {
    height: 28px;
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.window-title {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 11px;
    color: #333;
}

.window-controls {
    font-size: 10px;
    color: #666;
    letter-spacing: 3px;
}

.window-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100% - 28px - 32px);
    background: rgba(59, 125, 216, 0.1);
}

.window-label {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--fs-blue);
}

.window-sublabel {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    color: var(--fs-blue);
    margin-top: 4px;
}

.click-prompt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: var(--fs-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 12px;
    font-weight: 700;
}

.window-box.clicked .click-prompt {
    background: #4CAF50;
}

.window-arrow {
    font-size: 32px;
    color: #ff6b35;
    animation: pulseArrow 1.5s ease-in-out infinite;
}

@keyframes pulseArrow {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(5px); opacity: 0.6; }
}

/* Kids mode for window graphic */
body.kids-mode .window-box.left-window .window-content {
    background: rgba(232, 93, 4, 0.1);
}

body.kids-mode .window-box.left-window .window-label,
body.kids-mode .window-box.left-window .window-sublabel {
    color: var(--fs-kids-orange);
}

body.kids-mode .window-box.left-window .click-prompt {
    background: var(--fs-kids-orange);
}

body.kids-mode .window-arrow {
    color: var(--fs-kids-purple);
}

/* ============================================================
   DASHBOARD V2 - Step Card Focus
   ============================================================ */

.dashboard-v2 {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 100px;
    min-height: calc(100vh - 80px - 60px);
}

/* Clean Progress Bar at Top */
.progress-bar-top {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.progress-bar-track {
    flex: 1;
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-filled {
    height: 100%;
    background: linear-gradient(90deg, var(--fs-blue), #4CAF50);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.progress-bar-label {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--fs-text);
    white-space: nowrap;
}

/* Kids mode progress bar */
body.kids-mode .progress-bar-filled {
    background: linear-gradient(90deg, var(--fs-kids-orange), var(--fs-kids-green));
}

/* Step Card */
.step-card-wrapper {
    margin-bottom: 20px;
}

.step-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.step-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: var(--fs-blue-light);
    border-bottom: 1px solid rgba(59, 125, 216, 0.2);
}

.step-badge {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--fs-blue);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
}

.step-counter {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--fs-text-light);
}

.step-title {
    padding: 25px 25px 15px;
    margin: 0;
    font-size: 1.6rem;
    color: var(--fs-blue);
}

.step-image-container {
    padding: 0 25px;
    text-align: center;
}

.step-image {
    max-width: 100%;
    max-height: 350px;
    border-radius: 12px;
    border: 3px solid #e9ecef;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.step-image:hover {
    border-color: var(--fs-blue);
    transform: scale(1.01);
}

.image-zoom-hint {
    font-size: 0.75rem;
    color: var(--fs-text-light);
    margin-top: 8px;
    font-style: italic;
}

.step-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 25px;
    background: #f8f9fa;
    margin: 0 25px;
    border-radius: 12px;
    color: var(--fs-text-light);
    border: 2px dashed #dee2e6;
}

.step-image-placeholder .placeholder-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.step-instruction {
    padding: 20px 25px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--fs-text);
}

.step-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 25px 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #FFF8E1, #FFF3C4);
    border-radius: 10px;
    border-left: 4px solid var(--fs-gold);
}

.step-tip .tip-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.step-tip .tip-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #5D4E37;
}

.step-actions {
    padding: 20px 25px 30px;
    text-align: center;
}

.step-actions .btn {
    min-width: 250px;
}

.step-transition {
    animation: stepSlideIn 0.4s ease;
}

@keyframes stepSlideIn {
    from {
        opacity: 0.5;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Complete card */
.complete-card {
    text-align: center;
    padding: 60px 40px;
}

.complete-celebration {
    font-size: 5rem;
    margin-bottom: 20px;
}

.complete-card h2 {
    color: #198754;
    margin-bottom: 15px;
}

.complete-card p {
    font-size: 1.1rem;
    color: var(--fs-text-light);
    max-width: 400px;
    margin: 0 auto 10px;
}

/* Chat Helper (Collapsed by default) */
.chat-helper {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    background: white;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.chat-helper.expanded {
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.2);
}

.chat-helper-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--fs-blue);
    color: white;
    border: none;
    border-radius: 16px 16px 0 0;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
}

.chat-helper-toggle:hover {
    background: var(--fs-blue-dark);
}

.chat-toggle-icon {
    font-size: 1.2rem;
}

.chat-toggle-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.chat-helper.expanded .chat-toggle-arrow {
    transform: rotate(180deg);
}

.chat-helper-panel {
    display: none;
    flex-direction: column;
    height: 350px;
    border-top: 1px solid #eee;
}

.chat-helper-panel .chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-helper-panel .chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.chat-helper-panel .chat-message.coach {
    align-self: flex-start;
    background: var(--fs-blue-light);
    color: var(--fs-text);
    border-bottom-left-radius: 4px;
}

.chat-helper-panel .chat-message.user {
    align-self: flex-end;
    background: var(--fs-blue);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-helper-panel .chat-typing {
    align-self: flex-start;
    padding: 10px 16px;
    color: var(--fs-text-light);
    font-style: italic;
    font-size: 0.85rem;
    display: none;
}

.chat-helper-panel .chat-typing.active {
    display: block;
}

.chat-helper-panel .chat-input-area {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    background: #fafafa;
}

.chat-helper-panel .chat-input-area input {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: 'PT Sans', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.chat-helper-panel .chat-input-area input:focus {
    border-color: var(--fs-blue);
}

.chat-helper-panel .chat-input-area button {
    background: var(--fs-blue);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-helper-panel .chat-input-area button:hover {
    background: var(--fs-blue-dark);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    background: #f0f0f0;
}

/* Kids mode overrides for dashboard v2 */
body.kids-mode .progress-dot.active {
    background: var(--fs-kids-orange);
    box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.3);
}

body.kids-mode .progress-dot.complete {
    background: var(--fs-kids-green);
}

body.kids-mode .progress-connector.complete {
    background: var(--fs-kids-green);
}

body.kids-mode .btn-open-fs-mini {
    color: var(--fs-kids-purple);
    border-color: var(--fs-kids-purple);
}

body.kids-mode .btn-open-fs-mini:hover {
    background: var(--fs-kids-purple);
    color: white;
}

body.kids-mode .step-card-header {
    background: #FFF0DB;
    border-color: rgba(232, 93, 4, 0.2);
}

body.kids-mode .step-badge {
    background: var(--fs-kids-orange);
}

body.kids-mode .step-title {
    color: var(--fs-kids-orange);
}

body.kids-mode .step-image:hover {
    border-color: var(--fs-kids-orange);
}

body.kids-mode .step-tip {
    background: linear-gradient(135deg, #FFF0DB, #FFE4C4);
    border-left-color: var(--fs-kids-orange);
}

body.kids-mode .step-tip .tip-text {
    color: #5D3A00;
}

body.kids-mode .chat-helper-toggle {
    background: var(--fs-kids-orange);
}

body.kids-mode .chat-helper-toggle:hover {
    background: #D35400;
}

body.kids-mode .chat-helper-panel .chat-message.coach {
    background: #FFF0DB;
}

body.kids-mode .chat-helper-panel .chat-message.user {
    background: var(--fs-kids-orange);
}

body.kids-mode .chat-helper-panel .chat-input-area input:focus {
    border-color: var(--fs-kids-orange);
}

body.kids-mode .chat-helper-panel .chat-input-area button {
    background: var(--fs-kids-orange);
}

body.kids-mode .chat-helper-panel .chat-input-area button:hover {
    background: #D35400;
}

body.kids-mode .complete-card h2 {
    color: var(--fs-kids-green);
}

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

@media (max-width: 992px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .chat-panel {
        min-height: 500px;
    }
}

@media (max-width: 576px) {
    .welcome-hero h1 {
        font-size: 2rem;
    }

    .welcome-hero .subtitle {
        font-size: 1.1rem;
    }

    .age-card {
        padding: 20px 15px;
    }
}


/* ============================================================
   KIDS LANDING PAGE
   ============================================================ */

.kids-landing {
    background: linear-gradient(135deg, #FFF8E7 0%, #FFE8D6 100%);
    min-height: calc(100vh - 160px);
    padding: 40px 20px;
}

.kids-hero {
    text-align: center;
    margin-bottom: 40px;
}

.kids-hero-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.kids-hero h1 {
    color: var(--fs-kids-orange);
    font-size: 3rem;
    margin-bottom: 10px;
}

.kids-subtitle {
    font-size: 1.3rem;
    color: #555;
}

.parent-notice {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 700px;
    margin: 0 auto 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--fs-blue);
}

.parent-notice-icon {
    font-size: 2.5rem;
    float: left;
    margin-right: 15px;
}

.parent-notice h2 {
    color: var(--fs-blue);
    margin-top: 0;
    margin-bottom: 15px;
}

.parent-notice ul {
    margin: 15px 0;
    padding-left: 25px;
}

.parent-notice li {
    margin-bottom: 8px;
}

.parent-tip {
    background: var(--fs-blue-light);
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.kids-discover {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.kids-discover h2 {
    color: var(--fs-kids-orange);
    margin-bottom: 25px;
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.discover-item {
    background: white;
    border-radius: 16px;
    padding: 25px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.discover-item:hover {
    transform: translateY(-5px);
}

.discover-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.discover-item h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.discover-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.kids-options {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.kids-options h2 {
    color: var(--fs-kids-purple);
    margin-bottom: 25px;
}

.option-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.option-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.option-card h3 {
    color: #333;
    margin-bottom: 10px;
}

.option-card p {
    color: #666;
    margin-bottom: 20px;
}

.btn-fs-secondary {
    background: #6c757d;
    color: white;
}

.btn-fs-secondary:hover {
    background: #5a6268;
    color: white;
}

.kids-facts {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.kids-facts h2 {
    color: var(--fs-kids-green);
    margin-bottom: 20px;
}

.fact-bubbles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fact-bubble {
    background: white;
    border-radius: 20px;
    padding: 15px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-size: 1.05rem;
}

/* Hidden worksheet for printing */
.printable-worksheet {
    display: none;
}

@media print {
    .printable-worksheet {
        display: block;
    }
}


/* ============================================================
   SENIOR MODE - Larger text, higher contrast, clearer UI
   ============================================================ */

body.senior-mode {
    font-size: 1.25rem;
}

body.senior-mode h1 {
    font-size: 2.8rem;
}

body.senior-mode h2 {
    font-size: 2.2rem;
}

body.senior-mode h3 {
    font-size: 1.7rem;
}

body.senior-mode .step-card {
    padding: 35px;
}

body.senior-mode .step-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

body.senior-mode .step-instruction {
    font-size: 1.2rem;
    line-height: 1.9;
}

body.senior-mode .step-tip {
    font-size: 1.1rem;
    padding: 18px;
}

body.senior-mode .btn {
    font-size: 1.2rem;
    padding: 16px 32px;
}

body.senior-mode .chat-helper-toggle {
    font-size: 1.1rem;
    padding: 18px 25px;
}

body.senior-mode .chat-message {
    font-size: 1.1rem;
    padding: 15px 18px;
}

body.senior-mode .chat-input-area input {
    font-size: 1.1rem;
    padding: 15px;
}

/* Higher contrast for seniors */
body.senior-mode .step-instruction {
    color: #222;
}

body.senior-mode .step-tip {
    background: #fff3cd;
    border: 2px solid #ffc107;
}

/* Bigger click targets */
body.senior-mode .progress-dot {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
}

body.senior-mode .progress-connector {
    height: 6px;
}


/* ============================================================
   NEW WELCOME PAGE - Experience Selector
   ============================================================ */

.experience-selector {
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
}

.selector-prompt {
    color: var(--fs-blue);
    margin-bottom: 30px;
    font-size: 1.6rem;
}

.experience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.experience-card {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid transparent;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.experience-card.kids-card {
    border-color: var(--fs-kids-orange);
}

.experience-card.kids-card:hover {
    background: #FFF8F0;
}

.experience-card.standard-card {
    border-color: var(--fs-blue);
}

.experience-card.standard-card:hover {
    background: var(--fs-blue-light);
}

.experience-card.senior-card {
    border-color: var(--fs-gold);
}

.experience-card.senior-card:hover {
    background: #FFFBF0;
}

.experience-card.custom-card {
    border-color: #9C27B0;
}

.experience-card.custom-card:hover {
    background: #F9F0FA;
}

.custom-card .exp-features span {
    background: #F3E5F5;
    color: #6A1B9A;
}

/* Terms agreement on welcome page */
.terms-agreement-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    text-align: center;
}

.terms-checkbox-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
}

.terms-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.terms-text a {
    color: var(--fs-blue);
    text-decoration: underline;
}

.terms-agreement-section.needs-attention {
    animation: pulse-attention 0.5s ease-in-out;
    border: 2px solid #dc3545;
}

@keyframes pulse-attention {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.exp-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.experience-card h3 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.exp-subtitle {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-style: italic;
}

.exp-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.exp-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.exp-features span {
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
}

.kids-card .exp-features span {
    background: #FFE8D6;
    color: #C44D00;
}

.standard-card .exp-features span {
    background: var(--fs-blue-light);
    color: var(--fs-blue-dark);
}

.senior-card .exp-features span {
    background: #FFF3D6;
    color: #8B6914;
}

.exp-recommended {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--fs-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Discover Section */
.discover-section {
    max-width: 800px;
    margin: 50px auto 30px;
    text-align: center;
}

.discover-section h2 {
    color: var(--fs-blue);
    margin-bottom: 30px;
}

.discover-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.discover-item {
    text-align: center;
}

.discover-num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--fs-blue);
    font-family: 'Playfair Display', serif;
}

.discover-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.discover-detail {
    font-size: 0.9rem;
    color: #666;
    max-width: 180px;
}

@media (max-width: 768px) {
    .experience-cards {
        grid-template-columns: 1fr;
    }

    .discover-items {
        gap: 25px;
    }
}


/* ============================================================
   CUSTOM HELP PAGE
   ============================================================ */

.custom-help-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.custom-help-header {
    text-align: center;
    margin-bottom: 30px;
}

.custom-help-header h1 {
    color: var(--fs-blue);
    margin-bottom: 10px;
}

.custom-help-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.custom-help-chat {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.custom-chat-messages {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-chat-messages .chat-message {
    max-width: 85%;
    padding: 15px;
    border-radius: 12px;
    line-height: 1.5;
}

.custom-chat-messages .chat-message.coach {
    align-self: flex-start;
    background: var(--fs-blue-light);
}

.custom-chat-messages .chat-message.user {
    align-self: flex-end;
    background: var(--fs-blue);
    color: white;
}

.custom-chat-messages .example-questions {
    margin: 10px 0 0 20px;
    padding: 0;
}

.custom-chat-messages .example-questions li {
    margin: 8px 0;
    color: #555;
    font-style: italic;
}

.custom-chat-messages .chat-typing {
    display: none;
    align-self: flex-start;
    color: #888;
    font-style: italic;
    padding: 10px;
}

.custom-chat-messages .chat-typing.active {
    display: block;
}

.redirect-suggestion {
    align-self: flex-start;
    margin-top: 10px;
}

.redirect-suggestion .btn {
    font-size: 1rem;
}

.custom-chat-input {
    display: flex;
    border-top: 1px solid #e0e0e0;
}

.custom-chat-input input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    outline: none;
}

.custom-chat-input button {
    background: var(--fs-blue);
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.custom-chat-input button:hover {
    background: var(--fs-blue-dark);
}

.custom-chat-input button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.quick-topics {
    text-align: center;
}

.quick-topics p {
    color: #666;
    margin-bottom: 15px;
}

.topic-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.topic-btn {
    background: white;
    border: 2px solid var(--fs-blue);
    color: var(--fs-blue);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.topic-btn:hover {
    background: var(--fs-blue);
    color: white;
}


/* ============================================================
   MISSION HUB
   ============================================================ */

div.mission-hub {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hub-header {
    text-align: center;
    margin-bottom: 40px;
}

.celebration-badge {
    font-size: 4rem;
    margin-bottom: 15px;
}

.hub-header h1 {
    color: var(--fs-blue);
    margin-bottom: 10px;
}

.hub-subtitle {
    font-size: 1.15rem;
    color: var(--fs-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.mission-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.mission-card.status-available,
.mission-card.status-in_progress,
.mission-card.status-complete {
    cursor: pointer;
}

.mission-card.status-available:hover,
.mission-card.status-in_progress:hover,
.mission-card.status-complete:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mission-card.status-locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.mission-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.mission-title {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.mission-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.mission-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.step-count {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #666;
}

.lds-badge {
    background: #e8f5e9;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #2e7d32;
}

.mission-status {
    margin-top: 10px;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-badge.complete {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.in-progress {
    background: #fff3e0;
    color: #e65100;
}

.status-badge.available {
    background: var(--fs-blue);
    color: white;
}

.status-badge.locked {
    background: #f5f5f5;
    color: #999;
}

.unlock-hint {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
    margin-top: 10px;
}

.hub-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fs-blue);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.hub-actions {
    text-align: center;
}

/* Mission Guide specific */
.mission-guide {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.mission-header {
    text-align: center;
    margin-bottom: 20px;
}

.mission-header-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.mission-header h1 {
    color: var(--fs-blue);
    margin-bottom: 10px;
}

.mission-header p {
    color: #666;
}

/* Mission Hub link on dashboard */
.mission-hub-link {
    display: inline-block;
    margin-left: 15px;
    padding: 5px 12px;
    background: var(--fs-blue);
    color: white !important;
    border-radius: 15px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s;
}

.mission-hub-link:hover {
    background: var(--fs-blue-dark);
    text-decoration: none;
}


/* ============================================================
   SITE FOOTER - Circuit Board Theme
   ============================================================ */

.site-footer, .circuit-footer {
    background: linear-gradient(180deg, #0d2137 0%, #0a1628 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 50px 0 0;
    margin-top: 0;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px 40px;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00d4ff;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.footer-brand {
    margin-top: 15px;
}

.footer-brand a {
    color: #ff8c00;
    text-decoration: none;
    font-weight: 600;
}

.footer-brand a:hover {
    color: #ffb347;
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-section ul a:hover {
    color: #00d4ff;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-disclaimer {
    max-width: 500px;
    text-align: right;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-disclaimer {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.about-hero {
    text-align: center;
    padding: 20px 20px 40px;
}

.about-hero h1 {
    color: var(--fs-blue);
    margin-bottom: 15px;
}

.about-tagline {
    font-size: 1.3rem;
    color: var(--fs-text-light);
    max-width: 500px;
    margin: 0 auto;
}

.about-content {
    margin-top: 20px;
}

.about-section {
    background: white;
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.about-section h2 {
    color: var(--fs-blue);
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.about-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--fs-text);
    margin-bottom: 15px;
}

.about-section a {
    color: var(--fs-blue);
    text-decoration: none;
    font-weight: 600;
}

.about-section a:hover {
    text-decoration: underline;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.problem-item {
    text-align: center;
    padding: 25px 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.problem-item h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
    font-style: italic;
}

.problem-item p {
    font-size: 0.95rem;
    color: var(--fs-blue);
    margin: 0;
    font-weight: 500;
}

.how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.step-item {
    text-align: center;
    padding: 20px;
}

.step-num {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: var(--fs-blue);
    color: white;
    border-radius: 50%;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0 auto 15px;
}

.step-item h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.about-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--fs-blue-light), #E3F0FF);
    border-left: none;
}

.about-cta h2 {
    color: var(--fs-blue);
}

.about-cta p {
    font-size: 1.15rem;
    margin-bottom: 25px;
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.contact-hero {
    text-align: center;
    padding: 20px 20px 40px;
}

.contact-hero h1 {
    color: var(--fs-blue);
    margin-bottom: 15px;
}

.contact-hero p {
    font-size: 1.2rem;
    color: var(--fs-text-light);
}

.contact-content {
    margin-top: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form-section {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.contact-form-section h2 {
    color: var(--fs-blue);
    margin-bottom: 25px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'PT Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--fs-blue);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info-section {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.contact-info-section h2 {
    color: var(--fs-blue);
    margin-bottom: 25px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.contact-method:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.contact-method-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-method h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
}

.contact-method p {
    margin: 0;
    color: #666;
}

.contact-method a {
    color: var(--fs-blue);
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-faq {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.contact-faq h3 {
    color: var(--fs-blue);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item strong {
    display: block;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 5px;
}

.faq-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Contact Success Message */
.contact-success {
    text-align: center;
    background: white;
    border-radius: 16px;
    padding: 60px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: #d4edda;
    color: #198754;
    border-radius: 50%;
    font-size: 2.5rem;
    margin: 0 auto 25px;
}

.contact-success h2 {
    color: #198754;
    margin-bottom: 15px;
}

.contact-success p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}


/* ============================================================
   FOOTER EXTRAS
   ============================================================ */

.footer-logo-row {
    text-align: center;
    margin-bottom: 15px;
}

.havari-logo {
    height: 50px;
    width: auto;
    opacity: 0.85;
    transition: all 0.2s;
    cursor: pointer;
}

.havari-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-logo-row small {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    margin-top: 5px;
}

/* Protected images - prevent copying/saving */
.protected-image {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: auto;
}

/* Logo Modal */
.logo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.logo-modal.active {
    display: flex;
}

.logo-modal-content {
    position: relative;
    text-align: center;
    max-width: 400px;
}

.logo-modal-close {
    position: absolute;
    top: -40px;
    right: -10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.logo-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.logo-modal-image-wrapper {
    position: relative;
    display: inline-block;
}

.logo-modal-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.logo-modal-image-wrapper img {
    max-width: 100%;
    max-height: 350px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.logo-modal-caption {
    margin-top: 20px;
    color: white;
    font-size: 1.1rem;
}

.logo-modal-caption strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.logo-modal-caption span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-style: italic;
}

.footer-legal {
    margin-top: 10px;
}

.footer-legal a {
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #ffffff;
}

.footer-bottom {
    flex-direction: column;
    text-align: center;
}


/* ============================================================
   TERMS OF SERVICE PAGE
   ============================================================ */

.terms-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.terms-hero {
    text-align: center;
    padding: 20px 20px 30px;
}

.terms-hero h1 {
    color: var(--fs-blue);
    margin-bottom: 10px;
}

.terms-updated {
    color: var(--fs-text-light);
    font-size: 0.95rem;
}

.terms-content {
    margin-top: 20px;
}

.terms-section {
    background: white;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.terms-section h2 {
    color: var(--fs-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--fs-blue-light);
    padding-bottom: 10px;
}

.terms-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--fs-text);
    margin-bottom: 12px;
}

.terms-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.terms-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--fs-text);
}

.terms-section strong {
    color: #333;
}

.terms-section a {
    color: var(--fs-blue);
    text-decoration: none;
}

.terms-section a:hover {
    text-decoration: underline;
}

.terms-footer {
    background: var(--fs-blue-light);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.terms-footer p {
    font-size: 1.05rem;
    color: var(--fs-text);
    margin-bottom: 20px;
}


/* ============================================================
   CHOOSE MISSION PAGE
   ============================================================ */

.choose-mission-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.choose-header {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-back {
    font-size: 1.1rem;
    color: var(--fs-text-light);
    margin-bottom: 10px;
}

.choose-header h1 {
    color: var(--fs-blue);
    margin-bottom: 15px;
}

.choose-subtitle {
    font-size: 1.1rem;
    color: var(--fs-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.mission-choices {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.mission-choice-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.mission-choice-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--fs-blue);
}

.choice-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.choice-content {
    flex: 1;
}

.choice-content h3 {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.choice-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.choice-meta {
    display: flex;
    gap: 10px;
}

.choice-arrow {
    font-size: 1.5rem;
    color: var(--fs-blue);
    opacity: 0;
    transition: opacity 0.2s;
}

.mission-choice-card:hover .choice-arrow {
    opacity: 1;
}

.choose-footer {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.choose-footer > p {
    text-align: center;
    font-weight: 600;
    color: var(--fs-blue);
    margin-bottom: 20px;
}

.suggested-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.path-suggestion {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.path-suggestion strong {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 5px;
}

.path-suggestion span {
    font-size: 0.9rem;
    color: #666;
}

.path-suggestion a {
    color: var(--fs-blue);
    font-weight: 600;
}

.also-available {
    text-align: center;
    padding: 20px;
}

.also-available p {
    color: var(--fs-text-light);
    font-size: 0.95rem;
}

.also-available a {
    color: var(--fs-blue);
}

.workspace-tip {
    text-align: center;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 20px;
    color: #2e7d32;
    font-size: 0.95rem;
}

.btn-familysearch-inline {
    display: inline-block;
    background: #4a8f4a;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Kids mode */
body.kids-mode .choose-header h1 {
    color: var(--fs-kids-orange);
}

body.kids-mode .mission-choice-card:hover {
    border-color: var(--fs-kids-orange);
}

body.kids-mode .choice-arrow {
    color: var(--fs-kids-orange);
}

body.kids-mode .choose-footer > p {
    color: var(--fs-kids-purple);
}

/* Senior mode */
body.senior-mode .choose-mission-page {
    font-size: 1.15rem;
}

body.senior-mode .mission-choice-card {
    padding: 25px 30px;
}

body.senior-mode .choice-content h3 {
    font-size: 1.4rem;
}

body.senior-mode .choice-desc {
    font-size: 1.05rem;
}


/* ============================================================
   WINDOW SETUP OVERLAY
   ============================================================ */

.window-setup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.window-setup-overlay.active {
    display: flex;
}

.window-setup-modal {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 550px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.window-setup-modal h2 {
    color: var(--fs-blue);
    margin-bottom: 10px;
}

.window-setup-modal > p {
    color: var(--fs-text-light);
    margin-bottom: 30px;
}

.window-setup-steps {
    text-align: left;
    margin-bottom: 30px;
}

.launch-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.preview-box {
    width: 140px;
    height: 90px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.preview-box.left {
    background: var(--fs-blue-light);
    border: 2px solid var(--fs-blue);
}

.preview-box.right {
    background: #e8f5e9;
    border: 2px solid #4a8f4a;
}

.preview-label {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 0.9rem;
}

.preview-box.left .preview-label {
    color: var(--fs-blue);
}

.preview-box.right .preview-label {
    color: #2e7d32;
}

.preview-sublabel {
    font-size: 0.75rem;
    color: #666;
    margin-top: 3px;
}

.preview-plus {
    font-size: 1.5rem;
    color: #999;
}

.launch-success {
    text-align: center;
    padding: 20px 0;
}

.launch-success .success-icon {
    font-size: 3rem;
    color: #198754;
    margin-bottom: 15px;
}

.launch-success h3 {
    color: #198754;
    margin-bottom: 10px;
}

.launch-success p {
    color: #666;
    margin-bottom: 5px;
}

.launch-success .text-muted {
    font-size: 0.9rem;
    color: #999;
}

.setup-continue {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.setup-continue .btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.skip-link {
    margin-top: 15px;
    margin-bottom: 0;
}

.skip-link a {
    color: var(--fs-text-light);
    font-size: 0.9rem;
}

.skip-link a:hover {
    color: var(--fs-blue);
}

/* Kids mode */
body.kids-mode .window-setup-modal h2 {
    color: var(--fs-kids-orange);
}

body.kids-mode .setup-step-num {
    background: var(--fs-kids-orange);
}

body.kids-mode .setup-step {
    background: #FFF8E7;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.98), rgba(13, 33, 55, 0.98));
    border-top: 2px solid rgba(0, 212, 255, 0.4);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 280px;
}

.cookie-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-consent-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
}

.cookie-consent-text a:hover {
    color: #fff;
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #0a1628;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.cookie-btn-decline:hover {
    border-color: rgba(255, 255, 255, 0.9);
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-text {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}

/* ============================================================
   SHARE FEATURE
   ============================================================ */

/* Share modal overlay */
.share-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.share-modal-overlay.active {
    display: flex;
}

.share-modal-content {
    background: linear-gradient(135deg, #0d2137, #0a1628);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.15);
}

.share-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.share-modal-close:hover {
    color: #fff;
}

.share-modal-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'PT Sans', sans-serif;
    transition: all 0.2s;
}

.share-option:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
}

.share-option-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Footer share links */
.footer-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-share-btn {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.footer-share-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
    color: #00d4ff;
}

/* Navbar share icon */
.share-icon {
    font-size: 1rem;
}

@media (max-width: 480px) {
    .share-modal-options {
        grid-template-columns: 1fr;
    }
}
