/* ============================================================
   Canada Visa Portal - Main Stylesheet
   Colors: Headlines #26374a | Accent/Underline #a62a1e | Notes #d9edf7
   ============================================================ */

:root {
    --hl: #26374a;
    --acc: #a62a1e;
    --nb: #d9edf7;
    --nb-border: #b8d3e8;
    --text: #333;
    --muted: #6c757d;
    --border: #dee2e6;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(38,55,74,0.10);
    --shadow-lg: 0 6px 30px rgba(38,55,74,0.15);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: #f5f6f8;
    line-height: 1.6;
}
img { max-width: 100%; }

/* ─── ANNOUNCEMENT BAR ───────────────────────────── */
.announcement-bar {
    background: var(--acc);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 0;
    text-align: center;
}

/* ─── TOP UTILITY BAR ────────────────────────────── */
.top-bar {
    background: var(--hl);
    padding: 7px 0;
    font-size: 0.78rem;
}

.top-bar-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}
.top-bar-links a:hover { color: #fff; }
.top-bar-links span { color: rgba(255,255,255,0.65); }

/* ─── SITE HEADER ────────────────────────────────── */
.site-header {
    background: #fff;
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow .25s;
    padding: 10px 0;
}
.site-header.scrolled { box-shadow: 0 3px 16px rgba(38,55,74,0.15); }

.logo-wrap { gap: 10px; }

.site-logo {
    height: 46px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
}

.nav-lnk {
    color: var(--hl);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 6px;
    transition: all .2s;
    white-space: nowrap;
}
.nav-lnk:hover { color: var(--acc); background: #f5f6f8; }

.btn-start-app {
    background: var(--acc);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 18px;
    border-radius: 7px;
    text-decoration: none;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.btn-start-app:hover { background: #8a1f14; color: #fff !important; transform: translateY(-1px); }

.mobile-menu-btn {
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 1.2rem;
    color: var(--hl);
    cursor: pointer;
    line-height: 1;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    padding: 12px 0 8px;
    margin-top: 10px;
}
.mobile-menu.open { display: block; }

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav a {
    display: block;
    color: var(--hl);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 9px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s;
}
.mobile-nav a:hover { background: #f5f6f8; }

.mobile-cta {
    background: var(--acc) !important;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    margin-top: 6px;
    padding: 11px 12px !important;
    border-radius: 7px;
}

/* ─── HERO ───────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, var(--hl) 0%, #1a2a3a 100%);
    padding: 72px 0;
    color: #fff;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
}
.trust-badge i { color: #f4c65a; }

.hero-h1 {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hero-p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.82);
    max-width: 540px;
}

.btn-hero-primary {
    background: var(--acc);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.btn-hero-primary:hover {
    background: #8a1f14;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(166,42,30,0.4);
}

.btn-hero-outline {
    background: transparent;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 22px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.btn-hero-outline:hover {
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.08);
    color: #fff !important;
}

.btn-lg-var { font-size: 1rem; padding: 14px 30px; }

.hero-badges { margin-top: 4px; }
.hero-badge-item {
    color: rgba(255,255,255,0.78);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.hero-badge-item i { color: #f4c65a; }

/* ─── TRACKER CARD ───────────────────────────────── */
.tracker-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.22);
    overflow: hidden;
    border-top: 4px solid var(--acc);
    color: var(--text);
    max-width: 420px;
    margin-left: auto;
}

.tracker-header {
    padding: 14px 18px;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tracker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
    box-shadow: 0 0 0 3px rgba(40,167,69,.25);
    flex-shrink: 0;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%,100% { box-shadow: 0 0 0 3px rgba(40,167,69,.25); }
    50% { box-shadow: 0 0 0 6px rgba(40,167,69,.08); }
}

.tracker-ref {
    margin-left: auto;
    font-family: monospace;
    font-size: 0.78rem;
    color: var(--hl);
}

.tracker-applicant {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--nb);
}

.tracker-avatar {
    width: 38px;
    height: 38px;
    background: var(--hl);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.tracker-name { font-size: 0.9rem; font-weight: 700; color: var(--hl); }
.tracker-type { font-size: 0.72rem; color: var(--muted); }
.tracker-passport {
    margin-left: auto;
    font-size: 0.72rem;
    font-family: monospace;
    background: rgba(38,55,74,.08);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--hl);
    white-space: nowrap;
}

.tracker-steps { padding: 10px 18px 14px; display: flex; flex-direction: column; }

.tracker-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}
.tracker-step:last-child { border-bottom: none; }

.ts-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.done-c { background: #d4edda; color: #155724; }

.active-c {
    background: var(--hl);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(38,55,74,.18);
    animation: pulse-step 2s infinite;
}

@keyframes pulse-step {
    0%,100% { box-shadow: 0 0 0 4px rgba(38,55,74,.18); }
    50% { box-shadow: 0 0 0 8px rgba(38,55,74,.07); }
}

.pend-c { background: #f1f3f5; color: #adb5bd; }

.ts-content { flex: 1; min-width: 0; }
.ts-title { font-size: 0.85rem; font-weight: 700; color: var(--hl); }
.ts-sub { font-size: 0.72rem; color: var(--muted); }
.ts-time { font-size: 0.72rem; color: var(--muted); white-space: nowrap; font-weight: 600; }

.tracker-step.active .ts-title { color: var(--acc); }

/* ─── CHECKLIST CARD (hero) ─────────────────────── */
.checklist-items { padding: 8px 18px 4px; display: flex; flex-direction: column; gap: 4px; }

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f0f0f0;
}
.checklist-item:last-child { border-bottom: none; }

.ci-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    flex-shrink: 0;
}
.done-ci { background: #d4edda; color: #155724; }
.pend-ci  { background: #f1f3f5; color: #adb5bd; }

.ci-content { flex: 1; min-width: 0; }
.ci-title { font-size: 0.85rem; font-weight: 700; color: var(--hl); }
.ci-sub   { font-size: 0.72rem; color: var(--muted); }

.ci-tag {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
}
.ci-ok  { background: #d4edda; color: #155724; }
.ci-rec { background: #fff3cd; color: #856404; }

.checklist-cta {
    display: block;
    margin: 12px 18px 18px;
    background: var(--acc);
    color: #fff;
    text-align: center;
    padding: 11px 18px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.checklist-cta:hover { background: #8c2418; color: #fff; transform: translateY(-1px); }

/* ─── SECTION HEADINGS ───────────────────────────── */
.section-heading h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--hl);
    margin-bottom: 10px;
}

.heading-bar {
    width: 48px;
    height: 3px;
    background: var(--acc);
    border-radius: 2px;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto;
}

/* ─── COUNTRIES ──────────────────────────────────── */
.countries-section { background: #fff; }

.country-card {
    background: #f8f9fa;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    padding: 26px 22px;
    transition: all .25s;
    display: block;
    color: inherit !important;
    height: 100%;
}
.country-card:hover {
    border-color: var(--hl);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    text-decoration: none;
    color: inherit !important;
}

.country-flag-wrap { margin-bottom: 14px; }

.country-flag-img {
    width: 80px;
    height: 54px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.08);
}

.flag-fb { font-size: 2.5rem; line-height: 1; }

.country-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--hl);
    margin-bottom: 6px;
}
.country-card p {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 14px;
    line-height: 1.5;
}

.country-tag {
    display: inline-block;
    background: #d4edda;
    color: #155724;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
}

/* ─── EMBASSY SECTION ────────────────────────────── */
.embassy-section { background: #f8f9fa; }

.emb-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow .25s;
}
.emb-card:hover { box-shadow: var(--shadow-lg); }

.emb-card-head {
    background: var(--hl);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.emb-flags {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
}
.emb-flags img {
    width: 36px;
    height: 24px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.emb-card-head h5 {
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 2px;
    line-height: 1.2;
}
.emb-card-head small { color: rgba(255,255,255,0.72); font-size: 0.75rem; }

.emb-card-body { padding: 16px 20px; }

.emb-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
}
.emb-row:last-child { border-bottom: none; }

.emb-row > i {
    color: var(--hl);
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
}

.emb-row strong {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--muted);
    margin-bottom: 1px;
}

.emb-row p { margin: 0; color: var(--text); line-height: 1.5; }

/* ─── NOTE BOX ───────────────────────────────────── */
.note-box {
    background: var(--nb);
    border: 1px solid var(--nb-border);
    border-radius: 7px;
    padding: 12px 16px;
    font-size: 0.82rem;
    color: #31708f;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.6;
}
.note-box i { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }

/* ─── FEE NOTICE ─────────────────────────────────── */
.fee-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 5px solid var(--acc);
    border-radius: var(--radius);
    padding: 20px 24px;
}
.fee-notice h5 { font-size: 0.95rem; font-weight: 700; color: var(--hl); margin-bottom: 8px; }
.fee-notice p { font-size: 0.87rem; color: #664d03; }

.fee-notice-icon {
    width: 42px;
    height: 42px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #664d03;
    flex-shrink: 0;
}

/* ─── VISA FEES SECTION ──────────────────────────── */
.fees-section { background: #fff; }

.fee-card {
    background: #f8f9fa;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    padding: 26px 20px;
    text-align: center;
    transition: all .2s;
    height: 100%;
}
.fee-card:hover { border-color: var(--hl); box-shadow: var(--shadow); transform: translateY(-2px); }
.featured-fee { border-color: var(--acc) !important; background: #fff8f8; }

.fee-card .fee-icon {
    font-size: 2rem;
    color: var(--hl);
    margin-bottom: 10px;
}
.featured-fee .fee-icon { color: var(--acc); }

.fee-card h6 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    margin-bottom: 8px;
}

.fee-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--hl);
    margin-bottom: 6px;
    line-height: 1.2;
}
.featured-fee .fee-amount { color: var(--acc); }

.fee-card p { font-size: 0.78rem; color: var(--muted); margin-bottom: 6px; line-height: 1.4; }
.fee-time { font-size: 0.72rem; font-weight: 600; color: var(--muted); background: var(--nb); padding: 2px 8px; border-radius: 10px; display: inline-block; }

/* ─── HOW IT WORKS ───────────────────────────────── */
.process-section { background: #f8f9fa; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr) 0;
    gap: 0;
    align-items: start;
    position: relative;
}

/* Simpler: use flexbox */
.process-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.process-connector {
    width: 32px;
    height: 2px;
    background: linear-gradient(to right, var(--nb-border), var(--acc));
    margin-top: 36px;
    flex-shrink: 0;
}

.process-item {
    text-align: center;
    padding: 20px 14px;
    flex: 1;
    min-width: 110px;
    max-width: 160px;
}

.pi-num {
    width: 44px;
    height: 44px;
    background: var(--hl);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 3px 10px rgba(38,55,74,0.25);
}

.pi-icon {
    font-size: 1.6rem;
    color: var(--acc);
    margin-bottom: 8px;
}

.process-item h6 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hl);
    margin-bottom: 4px;
}
.process-item p {
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.4;
    margin: 0;
}

/* ─── REQUIREMENTS SECTION ───────────────────────── */
.req-section { background: #fff; }

.req-card {
    background: #f8f9fa;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    padding: 24px 20px;
    height: 100%;
    transition: all .2s;
    position: relative;
}
.req-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.req-mandatory { border-top: 3px solid var(--acc); }
.req-recommended { border-top: 3px solid #28a745; }

.req-tag {
    display: inline-block;
    background: var(--acc);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    margin-bottom: 12px;
}
.req-tag-rec { background: #28a745; }

.req-icon {
    font-size: 1.8rem;
    color: var(--hl);
    margin-bottom: 10px;
}

.req-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--hl);
    margin-bottom: 10px;
}

.req-card ul {
    font-size: 0.82rem;
    color: var(--text);
    padding-left: 18px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.req-format {
    font-size: 0.72rem;
    color: var(--muted);
    background: var(--nb);
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

/* ─── BIOMETRICS SECTION ─────────────────────────── */
.biometrics-section { background: #f8f9fa; }

.biometrics-banner {
    background: linear-gradient(135deg, var(--hl), #1a2a3a);
    color: #fff;
    border-radius: 12px;
    padding: 36px 40px;
}

.biometrics-banner h4 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.biometrics-banner h4 i { color: #f4c65a; }

.biometrics-banner p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
}

.biometrics-list {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    padding-left: 18px;
    line-height: 1.8;
}

.biometrics-fee {
    margin-top: 14px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.1);
    padding: 8px 14px;
    border-radius: 6px;
    display: inline-block;
}

.biometrics-icon-wrap {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    color: #fff;
}
.biometrics-icon-wrap .bi-fingerprint { font-size: 3rem; }
.fw-600 { font-weight: 600; }
.bio-valid { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ─── FAQ SECTION ────────────────────────────────── */
.faq-section { background: #fff; }

.faq-accordion .faq-item {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-btn {
    font-weight: 600 !important;
    color: var(--hl) !important;
    font-size: 0.93rem !important;
    background: #f8f9fa !important;
    padding: 16px 20px !important;
}
.faq-btn:not(.collapsed) {
    background: var(--hl) !important;
    color: #fff !important;
}
.faq-btn:not(.collapsed) i { color: rgba(255,255,255,0.8); }
.faq-btn::after { filter: none !important; }
.faq-btn:not(.collapsed)::after { filter: brightness(0) invert(1) !important; }

.faq-body {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text);
    padding: 16px 20px;
}

/* ─── CTA SECTION ────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--acc), #8a1f14);
    color: #fff;
}

.cta-flag { font-size: 2.5rem; }

.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.cta-section p {
    font-size: 1rem;
    color: rgba(255,255,255,0.88);
    max-width: 500px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.cta-trust { color: rgba(255,255,255,0.8); font-size: 0.85rem; font-weight: 600; }
.cta-trust i { color: rgba(255,255,255,0.6); }

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer {
    background: var(--hl);
    color: rgba(255,255,255,0.72);
    padding: 56px 0 24px;
}

.footer-logo {
    height: 42px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-text { font-size: 0.85rem; color: rgba(255,255,255,0.68); line-height: 1.7; margin-bottom: 12px; }

.footer-email-link {
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color .2s;
}
.footer-email-link:hover { color: #fff; }

.footer-heading { color: #fff; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.65); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-links li.d-flex { color: rgba(255,255,255,0.7); font-size: 0.83rem; }

.footer-flag { border-radius: 2px; border: 1px solid rgba(255,255,255,0.2); }

.footer-hr { border-color: rgba(255,255,255,0.12); margin: 36px 0 18px; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.48); }

/* ─── APPLY FORM ─────────────────────────────────── */
.apply-hero-section {
    background: linear-gradient(135deg, var(--hl), #1a2a3a);
    padding: 48px 0;
    color: #fff;
    text-align: center;
}
.apply-hero-section h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.apply-hero-section p { font-size: 0.95rem; color: rgba(255,255,255,0.8); }

/* Step progress bar */
.step-progress {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.prog-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 56px;
    position: relative;
}
.prog-step + .prog-step::before {
    content: '';
    position: absolute;
    left: -50%;
    top: 17px;
    right: 50%;
    height: 2px;
    background: var(--border);
}
.prog-step.done + .prog-step::before,
.prog-step.active + .prog-step::before { background: var(--hl); }

.prog-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--border);
    color: var(--muted);
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all .25s;
}
.prog-step.done .prog-dot { background: #28a745; color: #fff; }
.prog-step.active .prog-dot { background: var(--hl); color: #fff; box-shadow: 0 0 0 4px rgba(38,55,74,.2); }

.prog-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--muted);
    margin-top: 5px;
    text-align: center;
    white-space: nowrap;
}
.prog-step.active .prog-label { color: var(--hl); font-weight: 700; }
.prog-step.done .prog-label { color: #28a745; }

/* Form card */
.form-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 12px; }

.form-card-head {
    background: var(--hl);
    color: #fff;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.form-card-icon {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.15);
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.form-card-head h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 2px; }
.form-card-head p { font-size: 0.78rem; opacity: .75; margin: 0; }
.form-card-body { padding: 26px; }

/* Form fields */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--hl); margin-bottom: 5px; }
.form-label .req { color: var(--acc); margin-left: 2px; }

.form-control {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--border);
    border-radius: 7px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.form-control:focus { border-color: var(--hl); box-shadow: 0 0 0 3px rgba(38,55,74,.1); }
.form-control.is-invalid { border-color: var(--acc); }
.invalid-feedback { font-size: 0.77rem; color: var(--acc); margin-top: 3px; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }

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

/* Upload zones */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 26px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    background: #f8f9fa;
    position: relative;
}
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--hl); background: var(--nb); }
.upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-icon { font-size: 1.8rem; margin-bottom: 8px; color: var(--muted); }
.upload-text { font-size: 0.84rem; color: var(--muted); }
.upload-text strong { color: var(--hl); }
.upload-hint { font-size: 0.73rem; color: #adb5bd; margin-top: 4px; }
.upload-preview { display: none; align-items: center; gap: 10px; background: #d4edda; border: 1px solid #c3e6cb; border-radius: 6px; padding: 9px 12px; margin-top: 9px; font-size: 0.8rem; color: #155724; }
.upload-preview.show { display: flex; }
.upload-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; border: 1px solid #c3e6cb; }

/* Form nav */
.form-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 26px; border-top: 1px solid var(--border);
    background: #f8f9fa; gap: 10px;
}
.btn-prev {
    background: none; border: 2px solid var(--border); color: var(--hl);
    font-weight: 600; font-size: 0.88rem; padding: 9px 20px;
    border-radius: 7px; cursor: pointer; transition: all .2s;
    display: flex; align-items: center; gap: 6px;
}
.btn-prev:hover { border-color: var(--hl); background: #f0f2f4; }
.btn-next {
    background: var(--hl); color: #fff; font-weight: 700; font-size: 0.92rem;
    padding: 10px 26px; border-radius: 7px; border: none; cursor: pointer;
    transition: all .2s; display: flex; align-items: center; gap: 6px;
}
.btn-next:hover { background: #1a2a3a; }
.btn-submit {
    background: #28a745; color: #fff; font-weight: 700; font-size: 0.92rem;
    padding: 10px 30px; border-radius: 7px; border: none; cursor: pointer;
    transition: all .2s; display: flex; align-items: center; gap: 6px;
}
.btn-submit:hover { background: #218838; }

/* Form note */
.form-note {
    background: var(--nb); border: 1px solid var(--nb-border);
    border-radius: 7px; padding: 12px 15px; font-size: 0.82rem;
    color: #31708f; display: flex; gap: 9px; line-height: 1.6; margin-bottom: 18px;
}

/* Review step */
.review-section-title { font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); margin: 18px 0 7px; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; margin-bottom: 14px; }
.review-item label { font-size: 0.73rem; color: var(--muted); font-weight: 600; }
.review-item span { font-size: 0.88rem; font-weight: 600; color: var(--hl); }
.review-docs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.review-doc-item {
    background: #d4edda; border-radius: 5px; padding: 7px;
    text-align: center; font-size: 0.7rem; font-weight: 600; color: #155724;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
}

/* ─── CONFIRMATION ───────────────────────────────── */
.confirm-hero {
    background: linear-gradient(135deg, var(--hl), #1a2a3a);
    padding: 56px 0;
    color: #fff;
    text-align: center;
}
.confirm-success-icon {
    width: 74px; height: 74px; background: #28a745; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
    margin: 0 auto 16px; color: #fff;
    box-shadow: 0 0 0 10px rgba(40,167,69,.2);
    animation: pop-in .5s ease;
}
@keyframes pop-in {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}
.confirm-ref-num {
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px; padding: 10px 20px; font-family: monospace;
    font-size: 1.2rem; font-weight: 800; letter-spacing: 2px; display: inline-block; margin-top: 12px;
}

.confirm-card {
    background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
    overflow: hidden; margin-bottom: 20px;
}
.confirm-card-head {
    background: var(--hl); color: #fff; padding: 18px 26px;
    font-size: 0.9rem; font-weight: 700;
}
.confirm-card-body { padding: 24px 26px; }

.confirm-selfie {
    width: 120px; height: 140px; object-fit: cover;
    border-radius: 8px; border: 3px solid var(--hl);
    float: right; margin: 0 0 14px 18px;
    box-shadow: var(--shadow);
}

.status-timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 9px 0; position: relative;
}
.tl-item:not(:last-child)::after {
    content: ''; position: absolute; left: 14px; top: 33px;
    width: 2px; height: 100%; background: var(--border);
}
.tl-dot {
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.82rem; flex-shrink: 0; z-index: 1;
}
.tl-done { background: #d4edda; color: #155724; }
.tl-current { background: var(--hl); color: #fff; animation: pulse-step 2s infinite; }
.tl-pending { background: #f1f3f5; color: #adb5bd; }
.tl-label { font-size: 0.86rem; font-weight: 700; color: var(--hl); }
.tl-desc { font-size: 0.75rem; color: var(--muted); margin-top: 1px; }

.btn-schedule {
    display: block; width: 100%; background: var(--acc); color: #fff !important;
    font-weight: 700; font-size: 1rem; padding: 13px; border-radius: 8px;
    text-align: center; transition: all .2s; text-decoration: none; margin-top: 20px;
}
.btn-schedule:hover { background: #8a1f14; color: #fff !important; }

/* ─── SCHEDULE PAGE ──────────────────────────────── */
.date-option {
    border: 2px solid var(--border); border-radius: 8px;
    padding: 16px; cursor: pointer; transition: all .2s; text-align: center;
}
.date-option:hover { border-color: var(--hl); }
.date-option.selected { border-color: var(--hl); background: var(--hl); color: #fff; }
.date-option .date-day { font-size: 0.72rem; font-weight: 600; opacity: .7; }
.date-option .date-num { font-size: 1.4rem; font-weight: 800; }
.date-option .date-month { font-size: 0.72rem; opacity: .7; }

.time-slot {
    border: 1.5px solid var(--border); border-radius: 6px;
    padding: 8px 5px; text-align: center; font-size: 0.78rem;
    font-weight: 600; cursor: pointer; transition: all .2s;
    background: #fff; color: var(--text);
}
.time-slot:hover { border-color: var(--hl); background: var(--nb); }
.time-slot.selected { border-color: var(--hl); background: var(--hl); color: #fff; }
.time-slot.unavailable {
    background: #f8f9fa; color: #ced4da;
    cursor: not-allowed; text-decoration: line-through;
}

/* ─── ALERTS ─────────────────────────────────────── */
.alert { border-radius: 8px; padding: 13px 16px; font-size: 0.88rem; margin-bottom: 18px; display: flex; gap: 9px; align-items: flex-start; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: var(--nb); color: #31708f; border: 1px solid var(--nb-border); }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

/* ─── TRACK PAGE ─────────────────────────────────── */
.track-hero {
    background: linear-gradient(135deg, var(--hl), #1a2a3a);
    padding: 52px 0;
    color: #fff;
    text-align: center;
}
.track-hero h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: 8px; }
.track-hero p { opacity: .8; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 992px) {
    .hero-h1 { font-size: 2.2rem; }
    .process-connector { display: none !important; }
    .process-item { min-width: 130px; }
    .tracker-card { max-width: 100%; margin: 0 auto; }
    .biometrics-banner { padding: 26px; }
}

@media (max-width: 768px) {
    .hero-section { padding: 52px 0; }
    .hero-h1 { font-size: 1.85rem; }
    .section-heading h2 { font-size: 1.6rem; }
    .form-row { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .confirm-selfie { float: none; display: block; margin: 0 auto 16px; }
    .biometrics-banner { padding: 20px 18px; }
}

@media (max-width: 576px) {
    .hero-section { padding: 40px 0; }
    .hero-h1 { font-size: 1.6rem; }
    .hero-btns .btn-hero-primary,
    .hero-btns .btn-hero-outline { width: 100%; justify-content: center; }
    .site-logo { height: 38px; max-width: 140px; }
    .form-card-body { padding: 18px; }
    .form-nav { padding: 14px 18px; flex-direction: column-reverse; }
    .btn-next, .btn-submit, .btn-prev { width: 100%; justify-content: center; }
    .review-docs-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-section h2 { font-size: 1.5rem; }
    .process-item { min-width: 90px; max-width: 110px; padding: 14px 8px; }
    .pi-num { width: 36px; height: 36px; font-size: 0.9rem; }
    .pi-icon { font-size: 1.3rem; }
    .footer-logo { height: 36px; }
}

/* ─── UTILITIES ──────────────────────────────────── */
.text-accent { color: var(--acc) !important; }
.text-hl { color: var(--hl) !important; }
.fw-800 { font-weight: 800 !important; }
.clearfix::after { content: ''; display: block; clear: both; }

/* ─── LOGO SIZE FIXES ────────────────────────────── */
/* Desktop: 220px, Mobile: 200px */
.site-logo { height: 46px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.footer-logo { height: 40px; width: auto; max-width: 220px; object-fit: contain; display: block; filter: brightness(0) invert(1); opacity: .9; }

@media (max-width: 576px) {
    .site-logo { height: 38px; max-width: 200px; }
    .footer-logo { height: 34px; max-width: 200px; }
}

/* ─── APPLY PAGE ─────────────────────────────────── */
.apply-loading {
    position: fixed; inset: 0; background: rgba(38,55,74,.85);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    flex-direction: column;
}
.apply-spinner {
    width: 48px; height: 48px; border: 4px solid rgba(255,255,255,.3);
    border-top-color: #fff; border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.apply-page-hero {
    background: linear-gradient(135deg, var(--hl), #1a2a3a);
    padding: 28px 0; color: #fff;
}
.apply-page-title { font-size: 1.5rem; font-weight: 800; margin: 0 0 4px; }
.apply-page-sub { font-size: 0.85rem; color: rgba(255,255,255,.75); margin: 0; }

/* Step progress */
.apply-progress-wrap {
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px 0; box-shadow: 0 2px 8px rgba(0,0,0,.06);
    position: sticky; top: 68px; z-index: 99;
}
.apply-steps {
    display: flex; align-items: flex-start; justify-content: center;
    gap: 0; max-width: 700px; margin: 0 auto;
}
.apply-step {
    display: flex; flex-direction: column; align-items: center;
    flex: 1; position: relative; min-width: 0;
}
.apply-step + .apply-step::before {
    content: ''; position: absolute; left: -50%; top: 16px;
    right: 50%; height: 2px; background: var(--border);
}
.apply-step.done + .apply-step::before,
.apply-step.active + .apply-step::before { background: var(--hl); }

.apply-step-dot {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--border); color: var(--muted);
    font-weight: 700; font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
    z-index: 1; transition: all .25s; position: relative;
}
.apply-step.done .apply-step-dot { background: #28a745; color: #fff; }
.apply-step.active .apply-step-dot { background: var(--hl); color: #fff; box-shadow: 0 0 0 4px rgba(38,55,74,.18); }

.apply-step-label {
    font-size: 0.62rem; font-weight: 600; color: var(--muted);
    margin-top: 5px; text-align: center; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; max-width: 80px;
}
.apply-step.active .apply-step-label { color: var(--hl); font-weight: 700; }
.apply-step.done .apply-step-label { color: #28a745; }

/* Body */
.apply-body { max-width: 820px; margin: 0 auto; padding: 32px 15px 60px; }

/* Panel */
.apply-panel { background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }

.apply-panel-head {
    background: var(--hl); color: #fff; padding: 20px 26px;
    display: flex; align-items: center; gap: 14px;
}
.apply-panel-icon {
    width: 44px; height: 44px; background: rgba(255,255,255,.15);
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
}
.apply-panel-head h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 3px; }
.apply-panel-head p  { font-size: 0.8rem; opacity: .75; margin: 0; }
.apply-panel-body { padding: 26px; }

/* Field groups */
.apply-field-group { margin-bottom: 24px; }
.apply-field-group-title {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; color: var(--muted); margin-bottom: 14px;
    padding-bottom: 6px; border-bottom: 2px solid var(--acc);
    display: inline-block;
}

/* Inputs */
.apply-label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--hl); margin-bottom: 5px; }
.req { color: var(--acc); }
.apply-hint { font-size: 0.72rem; color: var(--muted); margin-top: 3px; }
.apply-error { font-size: 0.77rem; color: var(--acc); margin-top: 3px; }

.apply-input {
    display: block; width: 100%; padding: 10px 13px;
    border: 1.5px solid var(--border); border-radius: 7px;
    font-size: 0.9rem; font-family: inherit; color: var(--text);
    background: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
.apply-input:focus { border-color: var(--hl); box-shadow: 0 0 0 3px rgba(38,55,74,.1); }
.apply-input.is-invalid { border-color: var(--acc); }
select.apply-input { cursor: pointer; }
textarea.apply-input { resize: vertical; min-height: 76px; }

/* Notes */
.apply-note {
    background: var(--nb); border: 1px solid var(--nb-border);
    border-radius: 7px; padding: 12px 15px; font-size: 0.83rem;
    color: #31708f; display: flex; gap: 9px; line-height: 1.6;
}
.apply-note i { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }
.apply-note-warning { background: #fff3cd; border-color: #ffc107; color: #856404; }
.apply-note-warning i { color: #856404; }

/* Upload groups */
.apply-upload-group {
    background: #f8f9fa; border: 1px solid var(--border);
    border-radius: 10px; padding: 18px 20px;
}
.apply-upload-group-head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px; font-size: 0.9rem; color: var(--hl);
}
.apply-badge-req  { background: var(--acc); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 8px; flex-shrink: 0; }
.apply-badge-rec  { background: #0d6efd; color: #fff; font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 8px; flex-shrink: 0; }
.apply-badge-opt  { background: #6c757d; color: #fff; font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 8px; flex-shrink: 0; }
.apply-upload-desc { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; line-height: 1.5; }
.apply-upload-specs { font-size: 0.78rem; color: var(--muted); background: var(--nb); padding: 7px 10px; border-radius: 5px; margin-bottom: 8px; line-height: 1.5; }

.apply-upload-zone {
    border: 2px dashed var(--border); border-radius: 8px;
    padding: 28px 20px; text-align: center; cursor: pointer;
    transition: all .2s; background: #fff; position: relative;
    min-height: 120px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 6px;
}
.apply-upload-zone:hover { border-color: var(--hl); background: var(--nb); }
.apply-upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.apply-upload-lg { padding: 40px 20px; min-height: 160px; }
.apply-upload-icon { font-size: 1.8rem; color: var(--muted); }
.apply-upload-text { font-size: 0.85rem; color: var(--muted); }
.apply-upload-text strong { color: var(--hl); }
.apply-upload-hint { font-size: 0.72rem; color: #adb5bd; }

.apply-upload-preview {
    margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px;
}
.apply-preview-item {
    background: #d4edda; border: 1px solid #c3e6cb; border-radius: 6px;
    padding: 7px 12px; font-size: 0.8rem; color: #155724;
    display: flex; align-items: center; gap: 7px;
}
.apply-preview-thumb {
    width: 40px; height: 40px; object-fit: cover;
    border-radius: 4px; border: 1px solid #c3e6cb;
}

/* Tip box */
.apply-tip-box {
    background: var(--nb); border: 1px solid var(--nb-border);
    border-radius: 8px; padding: 14px 16px; height: 100%;
}
.apply-tip-title { font-size: 0.78rem; font-weight: 700; color: var(--hl); margin-bottom: 8px; }
.apply-tip-box ul { list-style: none; padding: 0; margin: 0; font-size: 0.8rem; color: #31708f; line-height: 2; }

/* Nav */
.apply-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0 0; border-top: 1px solid var(--border);
    margin-top: 22px; gap: 12px; flex-wrap: wrap;
}
.apply-nav-hint { font-size: 0.75rem; color: var(--muted); }

.apply-btn-next {
    background: var(--hl); color: #fff; font-weight: 700; font-size: 0.92rem;
    padding: 11px 26px; border-radius: 7px; border: none; cursor: pointer;
    transition: all .2s; display: inline-flex; align-items: center; gap: 6px;
    text-decoration: none;
}
.apply-btn-next:hover { background: #1a2a3a; color: #fff; }
.apply-btn-prev {
    background: none; border: 2px solid var(--border); color: var(--hl);
    font-weight: 600; font-size: 0.88rem; padding: 9px 20px;
    border-radius: 7px; cursor: pointer; transition: all .2s;
    display: inline-flex; align-items: center; gap: 5px;
}
.apply-btn-prev:hover { border-color: var(--hl); }
.apply-btn-submit {
    background: #28a745; color: #fff; font-weight: 700; font-size: 0.95rem;
    padding: 12px 30px; border-radius: 7px; border: none; cursor: pointer;
    transition: all .2s; display: inline-flex; align-items: center; gap: 6px;
}
.apply-btn-submit:hover { background: #218838; }

/* Review */
.apply-review-section { background: #f8f9fa; border-radius: 10px; padding: 20px 22px; margin-bottom: 20px; }
.apply-review-title { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 14px; }
.apply-review-item { padding: 8px 12px; background: #fff; border-left: 3px solid var(--acc); border-radius: 5px; margin-bottom: 8px; }
.apply-review-label { font-size: 0.68rem; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.apply-review-val { font-weight: 600; color: var(--hl); font-size: 0.88rem; }

.apply-declaration {
    background: #f8f9fa; border: 1px solid var(--border); border-radius: 8px;
    padding: 18px 20px; font-size: 0.85rem; line-height: 1.7;
}
.apply-declaration strong { display: block; color: var(--hl); margin-bottom: 6px; font-size: 0.9rem; }
.apply-declaration p { color: var(--muted); margin-bottom: 6px; }

/* Apply responsive */
@media (max-width: 576px) {
    .apply-body { padding: 20px 12px 50px; }
    .apply-panel-body { padding: 18px; }
    .apply-panel-head { padding: 16px 18px; }
    .apply-panel-head h2 { font-size: 1rem; }
    .apply-nav { flex-direction: column-reverse; }
    .apply-btn-next, .apply-btn-prev, .apply-btn-submit { width: 100%; justify-content: center; }
    .apply-progress-wrap { top: 60px; }
}

/* ─── TRACK PAGE ─────────────────────────────────── */
.track-hero-strip {
    background: linear-gradient(135deg, var(--hl), #1a2a3a);
    padding: 40px 0; color: #fff;
}
.track-hero-h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: 8px; }
.track-hero-p  { font-size: 0.95rem; color: rgba(255,255,255,.8); margin: 0; }

.track-body { max-width: 900px; margin: 0 auto; padding: 32px 15px 60px; }

.track-search-card {
    background: #fff; border-radius: 12px; box-shadow: var(--shadow);
    overflow: hidden; margin-bottom: 28px;
}
.track-search-head {
    background: var(--hl); color: #fff; padding: 14px 22px;
    font-weight: 700; font-size: 0.9rem;
}
.track-search-body { padding: 20px 22px; }

.track-status-banner {
    border-radius: 12px; padding: 28px; text-align: center;
    color: #fff; margin-bottom: 24px;
}
.track-status-icon { font-size: 2.5rem; margin-bottom: 10px; }
.track-status-banner h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.track-status-banner p  { opacity: .9; margin: 0; }

.track-card { background: #fff; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.track-card-head { background: var(--hl); color: #fff; padding: 13px 20px; font-weight: 700; font-size: 0.9rem; }
.track-card-body { padding: 18px 20px; }

.track-doc-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; background: #f8f9fa;
    border-radius: 6px; margin-bottom: 6px; font-size: 0.85rem;
}
.track-doc-count {
    margin-left: auto; background: var(--hl); color: #fff;
    font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 10px;
}

.track-sched-icon { font-size: 2rem; margin-bottom: 4px; }
.track-sched-status { font-size: 0.8rem; font-weight: 700; color: var(--hl); text-transform: capitalize; }
.track-sched-label { font-size: 0.72rem; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.track-sched-val { font-size: 0.9rem; font-weight: 700; color: var(--hl); }

/* ─── CONFIRMATION PAGE ──────────────────────────── */
.conf-hero {
    background: var(--hl);
    color: #fff;
    padding: 52px 0 44px;
    text-align: center;
}
.conf-hero-inner { max-width: 560px; margin: 0 auto; }

.conf-success-icon {
    width: 68px;
    height: 68px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 10px rgba(40,167,69,.18);
}
.conf-hero-title {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}
.conf-hero-sub {
    font-size: 1rem;
    opacity: .82;
    margin-bottom: 18px;
}
.conf-ref-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-family: monospace;
    font-size: 1rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 30px;
    letter-spacing: .5px;
}
.conf-hero-email {
    font-size: 0.85rem;
    opacity: .75;
    margin-bottom: 0;
}

.conf-body { padding-top: 36px; padding-bottom: 48px; }

.conf-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.conf-card-head {
    background: var(--hl);
    color: #fff;
    padding: 13px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
}
.conf-card-head-warn { background: var(--acc); }
.conf-card-body { padding: 22px; }

/* Timeline */
.conf-timeline { display: flex; flex-direction: column; gap: 0; }

.ct-item {
    display: flex;
    gap: 16px;
    position: relative;
    padding-bottom: 22px;
}
.ct-item:last-child { padding-bottom: 0; }
.ct-item:last-child .ct-line { display: none; }

.ct-marker {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.ct-done   .ct-marker { background: #d4edda; color: #155724; }
.ct-active .ct-marker { background: var(--hl); color: #fff; box-shadow: 0 0 0 5px rgba(38,55,74,.15); }
.ct-pending .ct-marker { background: #f1f3f5; color: #adb5bd; }

.ct-line {
    position: absolute;
    left: 17px;
    top: 36px;
    width: 2px;
    bottom: 0;
    background: #e9ecef;
}
.ct-done .ct-line { background: #c3e6cb; }

.ct-content { flex: 1; padding-top: 6px; }
.ct-title { font-size: 0.88rem; font-weight: 700; color: var(--hl); }
.ct-active .ct-title { color: var(--acc); }
.ct-desc { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.ct-time { font-size: 0.72rem; color: var(--muted); margin-top: 3px; font-weight: 600; }

/* Notice */
.conf-notice-title { font-size: 0.85rem; font-weight: 700; color: var(--hl); margin-bottom: 8px; }
.conf-notice-list {
    padding-left: 18px;
    margin: 0;
    font-size: 0.82rem;
    color: #444;
    line-height: 1.7;
}

/* Selfie */
.conf-selfie-wrap { text-align: center; margin-bottom: 14px; }
.conf-selfie-img {
    width: 90px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid var(--border);
    display: block;
    margin: 0 auto;
}
.conf-selfie-placeholder {
    width: 90px;
    height: 100px;
    background: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.8rem;
    color: #adb5bd;
}
.conf-status-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d4edda;
    color: #155724;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 20px;
    margin-bottom: 4px;
}

/* Detail table */
.conf-detail-table { width: 100%; font-size: 0.82rem; border-collapse: collapse; }
.conf-detail-table tr { border-bottom: 1px solid #f0f0f0; }
.conf-detail-table tr:last-child { border-bottom: none; }
.conf-detail-table td { padding: 6px 0; vertical-align: top; }
.conf-detail-table td:first-child {
    color: var(--muted);
    font-weight: 600;
    width: 40%;
    font-size: 0.78rem;
    padding-right: 10px;
}
.conf-detail-table td:last-child { font-weight: 600; color: var(--hl); }

/* Schedule next step */
.conf-schedule-icon {
    font-size: 2.4rem;
    color: var(--hl);
    margin-bottom: 10px;
}
.conf-schedule-title { font-weight: 700; color: var(--hl); margin-bottom: 8px; font-size: 1rem; }
.conf-schedule-desc { font-size: 0.83rem; color: var(--muted); margin-bottom: 16px; }
.conf-schedule-btn {
    display: inline-block;
    background: var(--acc);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.conf-schedule-btn:hover { background: #8a1f14; transform: translateY(-1px); }

/* Action row */
.conf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 8px 0 40px;
}
.conf-btn-outline {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--hl);
    color: var(--hl);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: var(--radius);
    text-decoration: none;
    background: #fff;
    cursor: pointer;
    transition: all .2s;
}
.conf-btn-outline:hover { background: var(--hl); color: #fff; }

/* ─── SCHEDULE PAGE ──────────────────────────────── */
.sched-body { padding-top: 36px; padding-bottom: 56px; }

.sched-ref-pill {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff; font-family: monospace;
    font-size: .9rem; font-weight: 700;
    padding: 7px 18px; border-radius: 24px;
    margin-top: 12px; letter-spacing: .5px;
}

/* Success card */
.sched-success-card {
    max-width: 540px; margin: 0 auto 40px;
    background: #fff; border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 44px 36px; text-align: center;
    border-top: 4px solid #28a745;
}
.sched-success-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: #28a745; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; margin: 0 auto 20px;
    box-shadow: 0 0 0 10px rgba(40,167,69,.15);
}
.sched-success-title { font-size: 1.7rem; font-weight: 800; color: var(--hl); margin-bottom: 8px; }
.sched-success-sub   { color: var(--muted); margin-bottom: 14px; font-size: .9rem; }
.sched-success-date  {
    display: inline-block;
    background: var(--nb); border: 1px solid var(--nb-border);
    color: var(--hl); font-weight: 800; font-size: 1rem;
    padding: 10px 24px; border-radius: 8px; margin-bottom: 14px;
}
.sched-success-note { font-size: .82rem; color: var(--muted); max-width: 400px; margin: 0 auto; }

/* Section labels */
.sched-section-label {
    font-size: .88rem; font-weight: 700; color: var(--hl);
    margin-bottom: 14px; display: flex; align-items: baseline; gap: 6px;
}
.sched-section-hint {
    font-size: .75rem; font-weight: 500; color: var(--muted);
}

/* Date cards */
.sched-date-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sched-date-label { cursor: pointer; display: block; }
.sched-date-radio { display: none; }
.sched-date-card {
    border: 2px solid var(--border);
    border-radius: 12px; padding: 18px 10px;
    text-align: center; background: #fff;
    transition: all .2s; position: relative; overflow: hidden;
}
.sched-date-card:hover { border-color: var(--hl); }
.sched-date-active {
    border-color: var(--hl) !important;
    background: var(--nb) !important;
    box-shadow: 0 0 0 3px rgba(38,55,74,.12);
}
.sched-date-pill {
    position: absolute; top: 7px; right: 7px;
    background: var(--hl); color: #fff;
    font-size: .62rem; font-weight: 700;
    padding: 2px 7px; border-radius: 10px;
}
.sched-date-day { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.sched-date-num { font-size: 2.4rem; font-weight: 900; color: var(--hl); line-height: 1; }
.sched-date-mon { font-size: .78rem; color: var(--muted); margin-top: 4px; }

/* Time grid */
.sched-time-grid {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.sched-time-btn {
    border: 1.5px solid var(--border);
    background: #fff; color: var(--hl);
    font-size: .8rem; font-weight: 600;
    padding: 7px 12px; border-radius: 7px;
    cursor: pointer; transition: all .15s;
}
.sched-time-btn:hover { border-color: var(--hl); background: var(--nb); }
.sched-time-active {
    background: var(--hl) !important;
    color: #fff !important;
    border-color: var(--hl) !important;
}
.sched-time-disabled {
    opacity: .35; cursor: not-allowed; pointer-events: none;
}

/* Summary card */
.sched-summary-item {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 10px; padding: 9px 0;
    border-bottom: 1px solid #f0f0f0; font-size: .83rem;
}
.sched-summary-item:last-child { border-bottom: none; }
.sched-summary-item span { color: var(--muted); font-weight: 600; font-size: .78rem; }
.sched-summary-item strong { color: var(--hl); text-align: right; word-break: break-all; }

@media (max-width: 576px) {
    .sched-date-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .sched-date-num  { font-size: 1.8rem; }
    .sched-success-card { padding: 32px 20px; }
}
