/* =====================================================
   DATA ANALYTICS LEVEL III — SPLIT-SCREEN ENROLLMENT
   ===================================================== */

/* ===== Tokens ===== */
:root {
    --blue: #0038A8;
    --blue-dark: #0c2d5a;
    --blue-mid: #14447a;
    --blue-light: #1a5dab;
    --blue-pale: #e8f0fe;
    --gold: #e8a838;
    --gold-hover: #d49520;
    --green: #16a34a;
    --green-pale: #dcfce7;
    --red: #dc2626;
    --red-pale: #fee2e2;
    --bg: #f8f9fc;
    --white: #ffffff;
    --text: #1e293b;
    --text-2: #475569;
    --text-3: #94a3b8;
    --border: #e2e8f0;
    --border-lt: #f1f5f9;
    --radius: 12px;
    --radius-lg: 16px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --font-hd: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
    font-family: var(--font);
    margin: 0;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}


/* ==========================================================
   SPLIT LAYOUT
   ========================================================== */
.page-layout {
    display: grid;
    grid-template-columns: 44% 1fr;
    min-height: 100vh;
}

/* ---------- LEFT: Info Panel ---------- */
.info-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    background:
        linear-gradient(160deg, rgba(12, 45, 90, 0.92) 0%, rgba(0, 56, 168, 0.88) 55%, rgba(20, 68, 122, 0.92) 100%),
        url('../images/hero-background.webp') center/cover no-repeat,
        linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-mid) 100%);
    color: #fff;
    overflow: hidden;
    align-self: start;
}

/* Subtle decorative circles */
.info-panel::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -80px;
    width: 320px;
    height: 320px;
    border: 2px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}
.info-panel::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 240px;
    height: 240px;
    border: 2px solid rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.info-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 44px 24px;
}

/* Panel top — logos */
.panel-top { flex-shrink: 0; }

.panel-logos {
    display: flex;
    align-items: center;
}

.panel-logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.panel-logo-circle {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.panel-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.panel-logo-divider {
    display: none;
}

/* Panel main */
.panel-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    gap: 0;
    min-height: 0;
}

.panel-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    width: fit-content;
}

.panel-title {
    font-family: var(--font-hd);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 6px;
}

.panel-title-accent {
    color: var(--gold);
}

.panel-title-sub {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.panel-desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
    margin: 10px 0 18px;
    max-width: 420px;
}

/* Stats */
.panel-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
}

.panel-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
}

.panel-stat:first-child { padding-left: 0; }

.panel-stat-num {
    font-family: var(--font-hd);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
}

.panel-stat-lbl {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.5);
    margin-top: 1px;
}

.panel-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.15);
}

/* ==========================================================
   TABBED CONTENT (Learn / About / FAQs)
   ========================================================== */
.panel-tabs {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.panel-tab-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    background: rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 4px;
    flex-shrink: 0;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: 2px solid transparent;
    color: rgba(255,255,255,0.5);
    font-family: var(--font);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.tab-btn i { font-size: 0.82rem; }

.tab-btn:hover {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
}

.tab-btn.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: var(--gold);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.panel-tab-body {
    position: relative;
    overflow: hidden;
    height: 290px;
}

/* Hide scrollbar but keep scroll */
.panel-tab-body::-webkit-scrollbar { width: 3px; }
.panel-tab-body::-webkit-scrollbar-track { background: transparent; }
.panel-tab-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

.tab-pane {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.tab-pane.active {
    display: block;
}

/* Horizontal slide animations */
.tab-pane.slide-right {
    display: block;
    animation: slideFromRight 0.35s ease;
}

.tab-pane.slide-left {
    display: block;
    animation: slideFromLeft 0.35s ease;
}

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

@keyframes slideFromLeft {
    from { transform: translateX(-30px); opacity: 0; }
    to   { transform: translateX(0);     opacity: 1; }
}

/* --- Tab: Learn — 2×2 grid of competency cards --- */
.learn-grid {
    display: grid;
    /* auto-fit drops to 1 column when columns would shrink below ~260px.
       Tablet landscape (iPad 1024 / 1180, info-panel ~450-500px) → 1 col;
       desktop ≥1200 (info-panel ~530px+) → 2 cols. */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 8px;
}

.learn-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px;
    transition: background 0.2s;
}

.learn-item:hover {
    background: rgba(255,255,255,0.12);
}

.learn-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.learn-icon-blue   { background: rgba(59,130,246,0.25);  color: #93c5fd; }
.learn-icon-green  { background: rgba(16,185,129,0.25);  color: #6ee7b7; }
.learn-icon-amber  { background: rgba(245,158,11,0.25);  color: #fcd34d; }
.learn-icon-purple { background: rgba(139,92,246,0.25);  color: #c4b5fd; }

.learn-body { min-width: 0; }

.learn-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    line-height: 1.3;
    margin-bottom: 3px;
}

.learn-desc {
    font-size: 0.67rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
}

.learn-intro {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    margin: 0 0 8px;
    line-height: 1.4;
}

.learn-more-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.68rem;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
}

.learn-more-row > .bi {
    color: var(--gold);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.learn-more-row > span { flex: 1; min-width: 0; }

.learn-more-row strong { color: rgba(255,255,255,0.85); }

.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 3px 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.learn-more-link:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.learn-more-link .bi { font-size: 0.6rem; }

/* Tool chips (Excel / SQL / Python / Power BI) below each learn-desc */
.learn-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.tool-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.92);
    white-space: nowrap;
}

.tool-chip i {
    font-size: 0.75rem;
}

/* Brand-tinted icon colors (chip itself stays neutral so the icon pops) */
.tool-excel   i { color: #4ade80; }     /* Excel green */
.tool-sql     i { color: #60a5fa; }     /* SQL blue */
.tool-python  i { color: #93c5fd; }     /* Python sky */
.tool-powerbi i { color: #fcd34d; }     /* Power BI yellow */

/* --- Tab: About --- */
.tab-about-text {
    font-size: 0.84rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin: 0 0 14px;
}

.tab-about-text strong {
    color: rgba(255,255,255,0.95);
}

.tab-quals {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tab-qual-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2px;
}

.tab-qual-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
}

.tab-qual-item i {
    color: var(--gold);
    font-size: 0.82rem;
    flex-shrink: 0;
}

/* --- Tab: FAQ Carousel --- */
.faq-carousel {
    position: relative;
    min-height: 80px;
}

.faq-slide {
    display: none;
    animation: faqFadeIn 0.4s ease;
}

.faq-slide.active {
    display: block;
}

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

.faq-question {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-question i {
    color: var(--gold);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.faq-answer {
    font-size: 0.84rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    padding-left: 26px;
}

.faq-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
}

.faq-arrow {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.faq-arrow:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

.faq-dots {
    display: flex;
    gap: 6px;
}

.faq-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s;
}

.faq-dot.active {
    background: var(--gold);
    transform: scale(1.25);
}

/* Panel bottom */
.panel-bottom {
    flex-shrink: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 14px;
}

.panel-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.panel-meta-item {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 7px;
}

.panel-meta-item i {
    color: var(--gold);
    font-size: 0.82rem;
}

.panel-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-tagline-img {
    height: 24px;
    width: auto;
    opacity: 0.5;
}

.panel-copy {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
}


/* ---------- RIGHT: Form Column ---------- */
.form-column {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 48px 40px 60px;
}

.form-inner {
    width: 100%;
    max-width: 580px;
}


/* ==========================================================
   FLASH / ERROR MESSAGES
   ========================================================== */
.flash-msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}

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

.flash-success { background: var(--green-pale); color: #166534; border: 1px solid #bbf7d0; }
.flash-danger  { background: var(--red-pale);   color: #991b1b; border: 1px solid #fecaca; }
.flash-warning { background: #fef9c3;           color: #854d0e; border: 1px solid #fde047; }

.flash-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.4;
    color: inherit;
    padding: 0 2px;
    line-height: 1;
}
.flash-close:hover { opacity: 1; }

.error-list {
    padding-left: 18px;
    margin: 6px 0 0;
}
.error-list li { margin-bottom: 2px; }


/* ==========================================================
   FORM HEADER
   ========================================================== */
.form-header { margin-bottom: 28px; }

.form-title {
    font-family: var(--font-hd);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-title i {
    color: var(--blue);
    font-size: 1.3rem;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-2);
    margin: 0;
}


/* ==========================================================
   FORM SECTIONS
   ========================================================== */
.form-section {
    margin-bottom: 28px;
}

.section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-3);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}


/* ==========================================================
   SCHEDULE CARDS — auto-fit so 2 active cards split 50/50,
   3 cards split into thirds, etc. (driven by DB row count)
   ========================================================== */
.sched-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 10px;
}

.sched-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 14px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.sched-card:hover:not(.sched-full) {
    border-color: var(--text-3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

/* Theme colors */
.sched-day.sched-selected     { border-color: #f59e0b; background: #fffbeb; }
.sched-morning.sched-selected { border-color: #ea580c; background: #fff7ed; }
.sched-evening.sched-selected { border-color: #6366f1; background: #eef2ff; }
.sched-night.sched-selected   { border-color: #6366f1; background: #eef2ff; }
.sched-weekend.sched-selected { border-color: #06b6d4; background: #ecfeff; }

/* Full */
.sched-card.sched-full {
    opacity: 0.45;
    cursor: not-allowed;
}
.sched-card.sched-full:hover { transform: none; box-shadow: none; }

.sched-badge-full {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--red);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1px 7px;
    border-radius: 4px;
}

.sched-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin: 0 auto 8px;
}

.sched-day .sched-icon-wrap     { background: #fef3c7; color: #d97706; }
.sched-morning .sched-icon-wrap { background: #ffedd5; color: #ea580c; }
.sched-evening .sched-icon-wrap { background: #e0e7ff; color: #4f46e5; }
.sched-night .sched-icon-wrap   { background: #e0e7ff; color: #4f46e5; }
.sched-weekend .sched-icon-wrap { background: #cffafe; color: #0891b2; }

.sched-name {
    font-family: var(--font-hd);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.sched-time {
    font-size: 0.75rem;
    color: var(--text-2);
    line-height: 1.4;
}

.sched-desc {
    font-size: 0.68rem;
    color: var(--text-3);
    margin-top: 4px;
    line-height: 1.4;
}

.sched-start {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.3;
}
.sched-start i { font-size: 0.85rem; opacity: 0.8; }

/* Slots progress */
.sched-slots-info {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-3);
}

.sched-slots-info i {
    font-size: 0.7rem;
}

.sched-full .sched-slots-info {
    color: var(--red);
}

/* Radio indicator */
.sched-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 50%;
    margin: 10px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.sched-radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s;
}

.sched-day.sched-selected .sched-radio    { border-color: #f59e0b; }
.sched-day.sched-selected .sched-radio-dot { background: #f59e0b; }
.sched-morning.sched-selected .sched-radio    { border-color: #ea580c; }
.sched-morning.sched-selected .sched-radio-dot { background: #ea580c; }
.sched-evening.sched-selected .sched-radio    { border-color: #6366f1; }
.sched-evening.sched-selected .sched-radio-dot { background: #6366f1; }
.sched-night.sched-selected .sched-radio    { border-color: #6366f1; }
.sched-night.sched-selected .sched-radio-dot { background: #6366f1; }
.sched-weekend.sched-selected .sched-radio    { border-color: #06b6d4; }
.sched-weekend.sched-selected .sched-radio-dot { background: #06b6d4; }

/* Section helper line under "Choose Your Schedule" */
.section-helper {
    font-size: 0.78rem;
    color: var(--text-3);
    margin: -2px 0 12px;
    line-height: 1.45;
}

/* ==========================================================
   EMPLOYMENT STATUS CHIPS + FIELD MICRO-STYLES
   ========================================================== */
.field-sublabel {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 8px;
}
.field-hint {
    font-size: 0.72rem;
    color: var(--text-3);
    margin: 6px 0 0;
    line-height: 1.45;
    display: flex;
    align-items: center;
    gap: 4px;
}
.field-hint i { color: var(--text-3); }

.emp-chip-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}
.emp-chip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
    user-select: none;
    line-height: 1.25;
}
.emp-chip:hover {
    border-color: var(--text-3);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.emp-chip input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.emp-chip i {
    font-size: 1.15rem;
    color: var(--text-3);
    flex-shrink: 0;
    transition: color 0.15s;
}
.emp-chip-text {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-2);
}
.emp-chip-selected,
.emp-chip:has(input:checked) {
    border-color: #0038A8;
    background: #eff6ff;
    box-shadow: 0 4px 12px rgba(0, 56, 168, 0.12);
}
.emp-chip-selected i,
.emp-chip:has(input:checked) i {
    color: #0038A8;
}
.emp-chip-selected .emp-chip-text,
.emp-chip:has(input:checked) .emp-chip-text {
    color: #0c2d5a;
}
.emp-chip:has(input:focus-visible) {
    outline: 2px solid #0038A8;
    outline-offset: 2px;
}

/* Tablet (≤900px): chips collapse to 2 columns */
@media (max-width: 900px) {
    .emp-chip-row { grid-template-columns: repeat(2, 1fr); }
}
/* Narrow mobile: stack 1 per row for legibility */
@media (max-width: 480px) {
    .emp-chip-row { grid-template-columns: 1fr; gap: 8px; }
    .emp-chip { padding: 11px 12px; }
}

/* Prominent duration badge (e.g. "15 days" / "20 days") */
.sched-card { padding-top: 22px; }

.sched-duration-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0c2d5a, #0038A8);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(12, 45, 90, 0.25);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sched-duration-badge i { font-size: 0.7rem; }

.sched-day .sched-duration-badge     { background: linear-gradient(135deg, #b45309, #f59e0b); box-shadow: 0 4px 12px rgba(217,119,6,0.25); }
.sched-morning .sched-duration-badge { background: linear-gradient(135deg, #c2410c, #f97316); box-shadow: 0 4px 12px rgba(234,88,12,0.25); }
.sched-evening .sched-duration-badge { background: linear-gradient(135deg, #4338ca, #6366f1); box-shadow: 0 4px 12px rgba(79,70,229,0.25); }

/* Blended badge */
.sched-blended-badge {
    position: absolute;
    top: -11px;
    right: 14px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sched-blended-badge i { font-size: 0.7rem; }

/* Make the time-of-day stand out as the primary detail */
.sched-time-strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-top: 2px;
}

/* ==========================================================
   FORM FIELDS
   ========================================================== */
.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text);
    margin-bottom: 5px;
}

.req { color: var(--red); }

.field-feedback {
    font-size: 0.72rem;
    font-weight: 500;
    margin-top: 4px;
    min-height: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.field-feedback.error {
    color: var(--red);
}

.field-feedback-block {
    margin-top: 10px;
    padding: 8px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 0.78rem;
}

.field-feedback.success {
    color: var(--green);
}

.field-feedback i {
    font-size: 0.72rem;
}

.input-icon input.field-valid {
    border-color: var(--green);
}

.input-icon input.field-invalid {
    border-color: var(--red);
}

/* Locked province display — replaces the province select */
.province-locked-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #f8fafc;
    color: var(--text-2);
    font-size: 0.88rem;
    cursor: default;
    user-select: none;
}

.province-locked-wrap > .bi-geo-alt-fill {
    color: var(--primary, #2563eb);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.province-locked-name {
    font-weight: 600;
    color: var(--text);
    flex: 1;
}

.province-locked-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 2px 8px;
    white-space: nowrap;
}

.province-locked-tag .bi-lock-fill {
    font-size: 0.6rem;
}

.input-icon {
    position: relative;
}

.input-icon > i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--text-3);
    pointer-events: none;
    z-index: 1;
}

.input-icon.input-icon-area > i {
    top: 14px;
    transform: none;
}

.input-icon input,
.input-icon textarea,
.input-icon select {
    width: 100%;
    padding: 11px 13px 11px 40px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.88rem;
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-icon textarea {
    resize: vertical;
    min-height: 56px;
}

.input-icon select:disabled {
    background: var(--bg);
    color: var(--text-3);
    cursor: not-allowed;
    opacity: 0.7;
}

.input-icon select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8.825a.5.5 0 01-.354-.146l-3.5-3.5a.5.5 0 11.708-.708L6 7.618l3.146-3.147a.5.5 0 01.708.708l-3.5 3.5A.5.5 0 016 8.825z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 34px;
}

.input-icon input:focus,
.input-icon textarea:focus,
.input-icon select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 56, 168, 0.08);
}

.input-icon input.is-invalid,
.input-icon textarea.is-invalid,
.input-icon select.is-invalid {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.07);
}

/* ==========================================================
   CUSTOM SELECT (city, barangay, education)
   ========================================================== */

/* Native select hidden from view — kept in DOM for form submission */
.input-icon select.csel-native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -1;
}

/* Trigger — looks like an input field */
.csel-trigger {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.88rem;
    font-family: var(--font);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
    user-select: none;
    outline: none;
    box-sizing: border-box;
    min-height: 42px;
}

.csel-trigger:focus,
.csel-trigger.open {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 56, 168, 0.08);
}

.csel-trigger.is-invalid {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.07);
}

.csel-trigger.csel-disabled {
    background: var(--bg);
    color: var(--text-3);
    cursor: not-allowed;
    opacity: 0.7;
}

.csel-display {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text);
    line-height: 1.4;
}

.csel-display.csel-placeholder { color: var(--text-3); }

.csel-arrow {
    font-size: 0.72rem;
    color: var(--text-3);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.csel-trigger.open .csel-arrow { transform: rotate(180deg); }

/* Dropdown panel */
.csel-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06);
    z-index: 300;
    overflow: hidden;
    animation: cselIn 0.14s ease;
}

.csel-dropdown.open { display: block; }

@keyframes cselIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Search box */
.csel-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px 8px;
    border-bottom: 1px solid var(--border);
}

.csel-search > i {
    font-size: 0.78rem;
    color: var(--text-3);
    flex-shrink: 0;
}

.csel-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.84rem;
    font-family: var(--font);
    color: var(--text);
    background: transparent;
    padding: 0;
}

.csel-search-input::placeholder { color: var(--text-3); }

/* Options list */
.csel-list {
    max-height: 200px;
    overflow-y: auto;
    padding: 4px 0;
    overscroll-behavior: contain;
}

.csel-option {
    padding: 9px 16px;
    font-size: 0.86rem;
    color: var(--text);
    cursor: pointer;
    transition: background 0.1s;
    line-height: 1.4;
}

.csel-option:hover { background: #f1f5f9; }

.csel-option.selected {
    background: #eff6ff;
    color: var(--blue);
    font-weight: 600;
}

.csel-empty {
    padding: 14px 16px;
    font-size: 0.83rem;
    color: var(--text-3);
    text-align: center;
}

.field-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 12px;
}


/* ==========================================================
   DOCUMENTS
   ========================================================== */
.docs-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
}

.docs-intro {
    font-size: 0.82rem;
    color: var(--text-2);
    margin: 0 0 12px;
}

.docs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    margin-bottom: 14px;
}

.docs-grid span {
    font-size: 0.78rem;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.docs-grid span i {
    color: var(--blue);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.docs-ack {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
}

.docs-ack.docs-ack-invalid {
    border-color: var(--red);
    background: #fef2f2;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.07);
}

.docs-ack input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--blue);
}

.docs-ack > span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.45;
}


/* ==========================================================
   SUBMIT
   ========================================================== */
.btn-submit {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 56, 168, 0.2);
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 56, 168, 0.3);
}

.btn-submit:disabled {
    background: #cbd5e1;
    color: var(--text-3);
    cursor: not-allowed;
    box-shadow: none;
}

.submit-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-3);
    margin: 12px 0 0;
    line-height: 1.5;
}

/* ==========================================================
   INPUT HIGHLIGHT ANIMATION (after schedule selection)
   ========================================================== */
@keyframes inputHighlight {
    0%   { box-shadow: 0 0 0 0 rgba(0, 56, 168, 0.3); }
    40%  { box-shadow: 0 0 0 6px rgba(0, 56, 168, 0.15); }
    100% { box-shadow: 0 0 0 0 rgba(0, 56, 168, 0); }
}

.input-highlight {
    animation: inputHighlight 1.5s ease 2;
    border-radius: 10px;
}

.input-highlight input {
    border-color: var(--blue) !important;
}


/* ==========================================================
   FORM LOCKED STATE (until schedule is selected)
   ========================================================== */
.form-locked-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--blue-pale);
    border: 1.5px dashed var(--blue);
    border-radius: var(--radius);
    color: var(--blue);
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.form-locked-notice i {
    font-size: 1rem;
}

.form-locked-notice.hidden {
    display: none;
}

.form-locked {
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
    filter: grayscale(0.3);
    transition: opacity 0.3s, filter 0.3s;
}

.form-locked.unlocked {
    opacity: 1;
    pointer-events: auto;
    user-select: auto;
    filter: none;
}


/* Fully booked */
.booked-msg {
    text-align: center;
    padding: 60px 20px;
}

.booked-msg i {
    font-size: 3rem;
    color: var(--text-3);
    display: block;
    margin-bottom: 14px;
}

.booked-msg h3 {
    font-family: var(--font-hd);
    font-weight: 700;
    margin: 0 0 8px;
}

.booked-msg p {
    font-size: 0.9rem;
    color: var(--text-2);
    margin: 0;
}


/* ==========================================================
   SUCCESS PAGE (standalone — keeps its own layout)
   ========================================================== */
.success-card {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: none;
    overflow: hidden;
}

.success-icon { font-size: 4rem; color: var(--green); }

.enrollment-summary {
    background: var(--border-lt);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 20px;
}

.enrollment-summary h5 {
    color: var(--blue-dark);
    margin-bottom: 15px;
    font-family: var(--font-hd);
}

.next-steps { text-align: left; max-width: 500px; margin: 0 auto; }
.next-steps h5 { color: var(--blue-dark); text-align: center; font-family: var(--font-hd); }
.next-steps ol li { margin-bottom: 8px; color: var(--text-2); }

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid var(--border);
    color: var(--text-2);
    transition: all 0.2s;
}

.btn-hero-outline:hover {
    background: var(--border-lt);
}

/* Success page topbar */
.topbar {
    background: var(--white);
    border-bottom: 3px solid var(--blue);
    padding: 14px 0;
}
.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar-logos { display: flex; align-items: center; gap: 14px; }
.topbar-logo { max-height: 44px; width: auto; object-fit: contain; }
.topbar-divider { width: 2px; height: 34px; background: var(--border); }
.tagline-img { height: 30px; width: auto; }

/* Success page footer */
.site-footer {
    background: var(--blue-dark);
    color: rgba(255,255,255,0.7);
    padding: 28px 0;
}
.footer-inner, .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-logos { display: flex; align-items: center; gap: 14px; }
.footer-logo { height: 36px; width: auto; opacity: 0.7; filter: brightness(0) invert(1); }
.footer-info { text-align: right; }
.footer-company { font-weight: 700; color: rgba(255,255,255,0.9); margin: 0 0 2px; font-size: 0.85rem; }
.footer-address { font-size: 0.78rem; margin: 0 0 2px; }
.footer-copy { font-size: 0.68rem; margin: 0; opacity: 0.5; }


/* ==========================================================
   SCHEDULE DETAIL MODAL
   ========================================================== */
.sched-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10, 15, 30, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sched-modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.25s ease;
}

.sched-modal {
    background: #fff;
    width: 100%;
    max-width: 440px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.2), 0 2px 8px rgba(0,0,0,0.06);
    animation: schedModalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes schedModalIn {
    from { opacity: 0; transform: scale(0.93) translateY(14px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Close button ── */
.sched-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
}
.sched-modal-close:hover { background: rgba(255,255,255,0.38); }

/* ── Header band ── */
.sched-modal-header {
    padding: 24px 24px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.sched-modal.theme-day .sched-modal-header     { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.sched-modal.theme-morning .sched-modal-header { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.sched-modal.theme-evening .sched-modal-header,
.sched-modal.theme-night .sched-modal-header   { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }
.sched-modal.theme-weekend .sched-modal-header { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

.sched-modal-header-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}

.sched-modal-header-text { flex: 1; min-width: 0; }

.sched-modal-eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.72);
    margin-bottom: 4px;
}

.sched-modal-name {
    font-family: var(--font-hd);
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

/* ── Body ── */
.sched-modal-body {
    padding: 20px 22px 22px;
}

/* ── 2×2 stat grid ── */
.sched-modal-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.sched-stat {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8fafc;
    border: 1.5px solid #e8edf3;
    border-radius: 12px;
    padding: 12px 14px;
}

.sched-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    flex-shrink: 0;
    color: #64748b;
}

.sched-modal.theme-day     .sched-stat-icon { color: #d97706; border-color: #fcd34d; }
.sched-modal.theme-morning .sched-stat-icon { color: #ea580c; border-color: #fdba74; }
.sched-modal.theme-evening .sched-stat-icon,
.sched-modal.theme-night   .sched-stat-icon { color: #4f46e5; border-color: #c7d2fe; }
.sched-modal.theme-weekend .sched-stat-icon { color: #0891b2; border-color: #a5f3fc; }

.sched-stat-content { min-width: 0; }

.sched-stat-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    margin-bottom: 3px;
}

.sched-stat-value {
    font-size: 0.81rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

/* ── Description ── */
.sched-modal-desc {
    font-size: 0.84rem;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 14px;
    text-align: left;
}

/* ── Blended notice ── */
.sched-modal-emphasized { margin-bottom: 14px; }

.blended-notice {
    background: #eef2ff;
    border: 1.5px solid #c7d2fe;
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
}
.blended-notice-title {
    font-size: 0.67rem;
    font-weight: 800;
    color: #3730a3;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.blended-notice-title i { color: #4f46e5; font-size: 0.85rem; }
.blended-notice-body {
    font-size: 0.82rem;
    color: #374151;
    line-height: 1.65;
}
.blended-notice-body b { color: #1e1b4b; }

/* ── Slots ── */
.sched-modal-slots {
    font-size: 0.78rem;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.sched-modal-slots.low { color: #dc2626; }

/* ── CTA button ── */
.sched-modal-select {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(0, 56, 168, 0.25);
    letter-spacing: 0.2px;
}
.sched-modal-select:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 56, 168, 0.35);
}


/* ==========================================================
   MOBILE INFO BUTTONS (hidden on desktop)
   ========================================================== */
.mobile-info-btns {
    display: none;
}


/* ==========================================================
   MOBILE INFO MODAL
   ========================================================== */
.info-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: flex-end;
    justify-content: center;
}

.info-modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.info-modal {
    background: var(--white);
    width: 100%;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    animation: modalSlideUp 0.3s ease;
    overflow: hidden;
}

@keyframes modalSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.info-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 0;
    flex-shrink: 0;
}

.info-modal-tabs {
    display: none;
}

.info-modal-header-title {
    font-family: var(--font-hd);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin: 0;
}

.info-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-2);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.info-modal-close:hover {
    background: var(--border);
}

.info-modal-body {
    padding: 16px 20px 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.info-modal-title {
    display: none;
}

.info-modal-pane {
    display: none;
}

.info-modal-pane.active {
    display: block;
    animation: modalContentFade 0.25s ease;
}

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

/* .info-modal-title is hidden — header shows the title instead */

/* Modal Learn */
.modal-learn-intro {
    font-size: 0.82rem;
    color: var(--text-2);
    margin: -4px 0 12px;
    line-height: 1.5;
}

.modal-learn-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-learn-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.modal-learn-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.modal-learn-icon-blue   { background: #eff6ff; color: #2563eb; }
.modal-learn-icon-green  { background: #f0fdf4; color: #059669; }
.modal-learn-icon-amber  { background: #fffbeb; color: #d97706; }
.modal-learn-icon-purple { background: #f5f3ff; color: #7c3aed; }

.modal-learn-body { min-width: 0; }

.modal-learn-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
    line-height: 1.3;
}

.modal-learn-desc {
    font-size: 0.78rem;
    color: var(--text-2);
    line-height: 1.55;
    margin-bottom: 6px;
}

.modal-learn-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.modal-learn-tag-blue   { background: #dbeafe; color: #1d4ed8; }
.modal-learn-tag-green  { background: #d1fae5; color: #065f46; }
.modal-learn-tag-amber  { background: #fef3c7; color: #92400e; }
.modal-learn-tag-purple { background: #ede9fe; color: #5b21b6; }

.modal-learn-outlook {
    margin-top: 12px;
    padding: 12px 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
}

.modal-learn-outlook-stat {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.8rem;
    color: #065f46;
    line-height: 1.5;
    margin-bottom: 10px;
}

.modal-learn-outlook-stat .bi {
    color: #059669;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.modal-learn-outlook-stat strong { color: #064e3b; }

.modal-learn-outlook-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.modal-learn-outlook-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #065f46;
    background: #fff;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    padding: 5px 10px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.modal-learn-outlook-links a:hover {
    background: #d1fae5;
    border-color: #34d399;
}

/* Modal About */
.modal-about-text {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-2);
    margin: 0 0 18px;
}

.modal-about-text strong {
    color: var(--text);
}

.modal-quals {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-qual-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-3);
    margin-bottom: 4px;
}

.modal-qual-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text);
    padding: 8px 14px;
    background: var(--bg);
    border-radius: 10px;
}

.modal-qual-item i {
    color: var(--blue);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Modal FAQs */
.modal-faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-faq-item {
    background: var(--bg);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}

.modal-faq-item summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
}

.modal-faq-item summary::-webkit-details-marker {
    display: none;
}

.modal-faq-item summary i {
    color: var(--gold);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.modal-faq-item[open] summary {
    color: var(--blue);
}

.modal-faq-item p {
    font-size: 0.84rem;
    line-height: 1.65;
    color: var(--text-2);
    margin: 0;
    padding: 0 14px 14px 38px;
}


/* ==========================================================
   RESPONSIVE — Tablet
   ========================================================== */
@media (max-width: 1100px) {
    .page-layout {
        grid-template-columns: 42% 1fr;
    }

    .info-inner {
        padding: 28px 32px 24px;
    }

    .panel-title {
        font-size: 2.1rem;
    }

    .form-column {
        padding: 36px 28px 48px;
    }
}


/* When the info-panel is sticky-100vh (viewport ≥ 992px), the base layout
   pinned the tab body at 290px and made panel-tabs flex-shrink:0. Any content
   that exceeded 290px overflowed downward into panel-bottom's space, painting
   under the footer text (location/copyright). Fix: at this range, panel-hero
   stops competing for vertical space and panel-tabs absorbs whatever is left
   between hero + footer. The active tab pane scrolls internally if its content
   still exceeds the body — so the footer is ALWAYS pinned at the bottom and
   nothing overlaps it, regardless of viewport size, card count, or font scale. */
@media (min-width: 992px) {
    .panel-hero { flex: 0 0 auto; }
    .panel-tabs { flex: 1 1 0; min-height: 0; }

    .panel-tab-body {
        flex: 1 1 0;
        height: auto;
        min-height: 200px;
    }
    .tab-pane.active {
        max-height: 100%;
        overflow-y: auto;
        padding-right: 6px;
    }
    .tab-pane.active::-webkit-scrollbar { width: 4px; }
    .tab-pane.active::-webkit-scrollbar-track { background: transparent; }
    .tab-pane.active::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
}

/* Tablet landscape range (iPad 1024 / 1180): info-panel is narrow (~430-500px)
   and learn-grid auto-fits to a single column → content runs taller. Trim hero
   typography so panel-tabs has more room to grow before the active pane needs
   to scroll. */
@media (min-width: 992px) and (max-width: 1199px) {
    .panel-hero { padding-bottom: 6px; }
    .panel-title { font-size: 1.85rem; }
    .panel-desc { font-size: 0.84rem; margin: 8px 0 12px; }
    .panel-stats { margin-bottom: 10px; }
    .panel-stat-num { font-size: 1.2rem; }
}


/* ==========================================================
   RESPONSIVE — Mobile (stacked)
   ========================================================== */
@media (max-width: 991px) {
    .page-layout {
        grid-template-columns: 1fr;
    }

    /* Left panel becomes compact hero banner */
    .info-panel {
        position: relative;
        height: auto;
        overflow: visible;
    }

    .info-panel::before,
    .info-panel::after {
        display: none;
    }

    .info-inner {
        padding: 24px 20px 20px;
    }

    .panel-top {
        margin-bottom: 4px;
    }

    .panel-logo-circle {
        width: 48px;
        height: 48px;
    }

    .panel-logo {
        width: 38px;
        height: 38px;
    }

    .panel-logo-pill {
        gap: 10px;
    }

    .panel-main {
        padding: 8px 0;
    }

    .panel-hero {
        flex: none;
    }

    .panel-badge {
        font-size: 0.6rem;
        padding: 3px 10px;
        margin-bottom: 8px;
    }

    .panel-title {
        font-size: 1.5rem;
        margin-bottom: 2px;
    }

    .panel-title-sub {
        font-size: 0.82rem;
        margin-top: 2px;
    }

    /* Hide description and stats on mobile — available in modal */
    .panel-desc {
        display: none;
    }

    .panel-stats {
        display: none;
    }

    /* Hide inline tabs on mobile, show modal buttons */
    .panel-tabs {
        display: none;
    }

    .mobile-info-btns {
        display: flex;
        gap: 6px;
        margin-top: 4px;
    }

    .mobile-info-btn {
        flex: 1;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.15);
        color: rgba(255,255,255,0.85);
        font-family: var(--font);
        font-size: 0.68rem;
        font-weight: 600;
        padding: 10px 8px;
        border-radius: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        transition: all 0.2s;
    }

    .mobile-info-btn i {
        color: var(--gold);
        font-size: 0.78rem;
    }

    .mobile-info-btn:active {
        background: rgba(255,255,255,0.18);
        transform: scale(0.97);
    }

    /* Hide panel bottom on mobile */
    .panel-bottom {
        display: none;
    }

    /* ===== Form column ===== */
    .form-column {
        padding: 24px 18px 100px;
        min-height: auto;
    }

    .form-inner {
        max-width: 100%;
    }

    .form-header {
        margin-bottom: 20px;
    }

    .form-title {
        font-size: 1.4rem;
        gap: 8px;
    }

    .form-title i {
        font-size: 1.1rem;
    }

    .form-subtitle {
        font-size: 0.82rem;
    }

    .form-section {
        margin-bottom: 22px;
    }

    .section-label {
        font-size: 0.68rem;
        margin-bottom: 10px;
        padding-bottom: 6px;
    }

    /* Schedule cards — mobile redesign */
    .sched-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 14px; /* clearance for first card's floating badge */
    }

    .sched-card {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto auto;
        text-align: left;
        padding: 14px 14px 12px;
        gap: 1px 14px;
        align-items: center;
        border-radius: 14px;
        border-width: 2px;
        border-left-width: 4px;
        transition: box-shadow 0.2s, transform 0.2s;
    }

    /* Theme accent left borders */
    .sched-day     { border-left-color: #f59e0b; }
    .sched-morning { border-left-color: #ea580c; }
    .sched-evening { border-left-color: #6366f1; }

    .sched-day.sched-selected     { background: #fffbeb; border-color: #f59e0b; border-left-color: #d97706; }
    .sched-morning.sched-selected { background: #fff7ed; border-color: #ea580c; border-left-color: #c2410c; }
    .sched-evening.sched-selected { background: #eef2ff; border-color: #6366f1; border-left-color: #4338ca; }

    .sched-card:hover:not(.sched-full) {
        transform: none;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }

    .sched-icon-wrap {
        grid-row: 1 / 4;
        margin: 0;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        align-self: center;
    }

    .sched-name {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        font-size: 0.88rem;
        line-height: 1.2;
    }

    .sched-time-strong {
        grid-column: 2;
        grid-row: 2;
        font-size: 0.82rem;
        font-weight: 700;
        margin-top: 0;
    }

    .sched-time {
        grid-column: 2;
        grid-row: 3;
        font-size: 0.7rem;
        margin-top: 1px;
    }

    .sched-time + .sched-time { display: none; }

    .sched-desc { display: none; }

    .sched-slots-info {
        grid-column: 2 / -1;
        grid-row: 4;
        margin-top: 6px;
        justify-content: flex-start;
    }

    .sched-radio {
        grid-row: 1 / 4;
        grid-column: 3;
        margin: 0;
        align-self: center;
    }

    .sched-badge-full {
        top: 8px;
        right: 8px;
    }

    /* Form fields — better touch targets */
    .field {
        margin-bottom: 14px;
    }

    .field label {
        font-size: 0.78rem;
        margin-bottom: 4px;
    }

    .input-icon input,
    .input-icon textarea,
    .input-icon select {
        padding: 12px 13px 12px 38px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .field-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    /* Documents */
    .docs-box {
        padding: 14px;
    }

    .docs-intro {
        font-size: 0.78rem;
    }

    .docs-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .docs-grid span {
        font-size: 0.75rem;
    }

    .docs-ack {
        padding: 10px 12px;
    }

    .docs-ack > span {
        font-size: 0.76rem;
    }

    /* Custom select — larger tap targets on mobile */
    .csel-trigger { min-height: 46px; }
    .csel-list { max-height: 180px; }
    .csel-option { padding: 11px 16px; }

    /* Schedule modal — bottom sheet on mobile */
    .sched-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .sched-modal {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
        overflow-y: auto;
        animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .sched-modal-header {
        padding: 20px 20px 18px;
        gap: 12px;
    }

    .sched-modal-header-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        border-radius: 11px;
    }

    .sched-modal-name { font-size: 1.05rem; }

    .sched-modal-body {
        padding: 16px 18px 0;
    }

    .sched-modal-stats {
        gap: 8px;
        margin-bottom: 14px;
    }

    .sched-stat { padding: 10px 12px; }

    /* Sticky "Select This Schedule" button — always visible at the bottom of the sheet */
    .sched-modal .sched-modal-select {
        position: sticky;
        bottom: 0;
        width: calc(100% + 36px);
        margin: 14px -18px 0;
        border-radius: 0;
        padding: 16px;
        font-size: 1rem;
    }

    /* Sticky submit button */
    .btn-submit {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        border-radius: 0;
        padding: 16px 24px;
        font-size: 0.92rem;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.12);
    }

    .btn-submit:hover:not(:disabled) {
        transform: none;
    }

    .submit-note {
        font-size: 0.72rem;
        margin: 8px 0 0;
    }

    /* Flash messages */
    .flash-msg {
        padding: 12px 14px;
        font-size: 0.8rem;
    }

    /* Booked message */
    .booked-msg {
        padding: 40px 16px;
    }

    .booked-msg i {
        font-size: 2.4rem;
    }
}


/* ==========================================================
   RESPONSIVE — Tablet portrait (768–991px)
   Overrides the mobile stacked styles above to give tablets a
   roomier, tablet-grade UI: visible panel content, inline tabs,
   3-column schedule cards, paired form fields, non-fixed submit.
   ========================================================== */
@media (min-width: 768px) and (max-width: 991px) {
    /* ===== Info panel — more breathing room ===== */
    .info-inner {
        padding: 36px 44px 28px;
    }

    .panel-logo-circle {
        width: 60px;
        height: 60px;
    }

    .panel-logo {
        width: 50px;
        height: 50px;
    }

    .panel-logo-pill {
        gap: 14px;
    }

    .panel-main {
        padding: 14px 0 8px;
    }

    .panel-badge {
        font-size: 0.68rem;
        padding: 4px 14px;
        margin-bottom: 12px;
    }

    .panel-title {
        font-size: 2rem;
        margin-bottom: 4px;
    }

    .panel-title-sub {
        font-size: 0.95rem;
        margin-top: 4px;
    }

    /* Show full description and stats on tablet */
    .panel-desc {
        display: block;
        font-size: 0.86rem;
        max-width: 100%;
        margin: 12px 0 16px;
    }

    .panel-stats {
        display: flex;
        margin-bottom: 18px;
    }

    /* Restore inline tabs; hide mobile modal buttons */
    .panel-tabs {
        display: flex;
    }

    .panel-tab-body {
        height: auto;
        min-height: 220px;
    }

    .tab-pane {
        position: relative;
    }

    .mobile-info-btns {
        display: none;
    }

    /* Show panel footer on tablet, lay out meta inline */
    .panel-bottom {
        display: block;
        margin-top: 20px;
    }

    .panel-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px 18px;
    }

    /* ===== Form column — wider, generous padding ===== */
    .form-column {
        padding: 40px 48px 56px;
    }

    .form-inner {
        max-width: 680px;
    }

    .form-header {
        margin-bottom: 26px;
    }

    .form-title {
        font-size: 1.55rem;
    }

    .form-title i {
        font-size: 1.25rem;
    }

    .form-subtitle {
        font-size: 0.92rem;
    }

    .form-section {
        margin-bottom: 26px;
    }

    .section-label {
        font-size: 0.74rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    /* ===== Schedule cards — auto-fit so card count adapts ===== */
    .sched-row {
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        gap: 14px;
        padding-top: 18px;
    }

    .sched-card {
        display: block;
        text-align: center;
        padding: 22px 12px 14px;
        border-radius: 12px;
        border-width: 2px;
        border-left-width: 2px;
    }

    /* Reset the mobile left-accent borders */
    .sched-day,
    .sched-morning,
    .sched-evening {
        border-left-color: var(--border);
    }

    .sched-day.sched-selected     { border-color: #f59e0b; border-left-color: #f59e0b; background: #fffbeb; }
    .sched-morning.sched-selected { border-color: #ea580c; border-left-color: #ea580c; background: #fff7ed; }
    .sched-evening.sched-selected { border-color: #6366f1; border-left-color: #6366f1; background: #eef2ff; }

    .sched-card:hover:not(.sched-full) {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    .sched-icon-wrap {
        margin: 0 auto 8px;
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }

    .sched-name {
        margin: 0 0 4px;
        font-size: 0.88rem;
        line-height: 1.3;
    }

    .sched-time-strong {
        font-size: 0.82rem;
        margin-top: 2px;
    }

    .sched-time {
        font-size: 0.72rem;
        margin-top: 2px;
    }

    .sched-time + .sched-time { display: block; }

    .sched-desc {
        display: block;
        font-size: 0.68rem;
        margin-top: 6px;
    }

    .sched-slots-info {
        margin-top: 10px;
        justify-content: center;
    }

    .sched-radio {
        margin: 10px auto 0;
    }

    .sched-badge-full {
        top: 6px;
        right: 6px;
    }

    /* ===== Form fields — paired columns ===== */
    .field {
        margin-bottom: 16px;
    }

    .field label {
        font-size: 0.82rem;
        margin-bottom: 5px;
    }

    .input-icon input,
    .input-icon textarea,
    .input-icon select {
        padding: 12px 14px 12px 40px;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .field-row {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    /* Documents — 2 columns on tablet */
    .docs-box {
        padding: 18px;
    }

    .docs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .docs-grid span {
        font-size: 0.8rem;
    }

    .docs-ack > span {
        font-size: 0.82rem;
    }

    /* ===== Submit button — back to in-flow on tablet ===== */
    .btn-submit {
        position: static;
        border-radius: var(--radius);
        padding: 14px 24px;
        font-size: 1rem;
        box-shadow: none;
    }

    .btn-submit:hover:not(:disabled) {
        transform: translateY(-1px);
    }

    .submit-note {
        font-size: 0.78rem;
        margin: 10px 0 0;
    }

    /* ===== Schedule modal — centered dialog (not bottom sheet) ===== */
    .sched-modal-overlay {
        align-items: center;
        padding: 24px;
    }

    .sched-modal {
        max-width: 540px;
        border-radius: 18px;
        max-height: 88vh;
    }

    .sched-modal-header {
        padding: 22px 24px 20px;
        gap: 14px;
    }

    .sched-modal-header-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        border-radius: 12px;
    }

    .sched-modal-name { font-size: 1.15rem; }

    .sched-modal-body {
        padding: 18px 22px 22px;
    }

    .sched-modal-stats {
        gap: 10px;
        margin-bottom: 16px;
    }

    .sched-stat { padding: 12px 14px; }

    .sched-modal .sched-modal-select {
        position: static;
        width: 100%;
        margin: 14px 0 0;
        border-radius: var(--radius);
        padding: 14px;
        font-size: 0.95rem;
    }

    /* Booked / closed message */
    .booked-msg {
        padding: 56px 28px;
    }

    .booked-msg i {
        font-size: 3rem;
    }
}


/* ==========================================================
   RESPONSIVE — Small Mobile
   ========================================================== */
@media (max-width: 480px) {
    .info-inner {
        padding: 20px 16px 16px;
    }

    .panel-logo-circle {
        width: 42px;
        height: 42px;
    }

    .panel-logo {
        width: 34px;
        height: 34px;
    }

    .panel-title {
        font-size: 1.45rem;
    }

    .panel-desc {
        font-size: 0.78rem;
    }

    .panel-stat {
        padding: 0 12px;
    }

    .panel-stat-num {
        font-size: 1.05rem;
    }

    .mobile-info-btn {
        font-size: 0.62rem;
        padding: 8px 6px;
        gap: 4px;
    }

    .mobile-info-btn i {
        font-size: 0.7rem;
    }

    .form-column {
        padding: 20px 14px 96px;
    }

    .form-title {
        font-size: 1.25rem;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sched-card {
        padding: 12px 12px 10px;
        gap: 1px 10px;
    }

    .sched-icon-wrap {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}


/* ==========================================================
   SUBMISSION LOADER OVERLAY
   ========================================================== */
.submit-loader {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.submit-loader.active {
    display: flex;
}

.submit-loader-card {
    background: var(--white);
    border-radius: 16px;
    padding: 36px 32px;
    text-align: center;
    max-width: 340px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: loaderIn 0.3s ease;
}

@keyframes loaderIn {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.submit-loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--blue);
    border-radius: 50%;
    margin: 0 auto 18px;
    animation: loaderSpin 0.8s linear infinite;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

.submit-loader-title {
    font-family: var(--font-hd);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 6px;
}

.submit-loader-text {
    font-size: 0.82rem;
    color: var(--text-2);
    margin: 0;
    line-height: 1.5;
}
