/* ============================================================
   Discovery Air — Visa Application & Tracking UI
   Scoped to .va-wrap / .va-* so it never affects other pages.
   Palette follows the site primary (#0051ba).
   ============================================================ */
.va-wrap { background: #f5f8ff; min-height: 60vh; }
.va-card {
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(8,43,92,.04), 0 12px 30px rgba(8,43,92,.06);
}
.va-eyebrow {
    display: inline-block;
    background: #e8f0ff;
    color: #0051ba;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .35rem .85rem;
    border-radius: 999px;
}
.va-wrap h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* ---- Stepper ---- */
.va-stepper { display: flex; gap: .5rem; position: relative; }
.va-step { flex: 1; text-align: center; position: relative; }
.va-step::before {
    content: ''; position: absolute; top: 18px; left: -50%; width: 100%; height: 3px;
    background: #dbe4f0; z-index: 0;
}
.va-step:first-child::before { display: none; }
.va-step.is-done::before, .va-step.is-active::before { background: #0051ba; }
.va-step-dot {
    position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 3px solid #dbe4f0;
    color: #8a97a8; font-weight: 700; transition: all .2s ease;
}
.va-step.is-active .va-step-dot { border-color: #0051ba; color: #0051ba; box-shadow: 0 0 0 4px rgba(0,81,186,.12); }
.va-step.is-done .va-step-dot { border-color: #0051ba; background: #0051ba; color: #fff; }
.va-step-label { display: block; margin-top: .4rem; font-size: .8rem; font-weight: 600; color: #667085; }
.va-step.is-active .va-step-label, .va-step.is-done .va-step-label { color: #0051ba; }

/* ---- Panels ---- */
.va-panel { display: none; }
.va-panel.is-active { display: block; animation: vaFade .25s ease; }
@keyframes vaFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- Requirements list ---- */
.va-req-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .75rem; }
@media (max-width: 640px) { .va-req-list { grid-template-columns: 1fr; } }
.va-req-list li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: #344054; padding: .35rem 0; }
.va-req-list li i { color: #0051ba; }
.va-apply-desc { display: block; width: 100%; font-size: .78rem; color: #98a2b3; margin-top: .1rem; padding-left: 1.4rem; }
.va-drop-desc { font-size: .74rem; color: #667085; }
.va-req-badge { font-size: .68rem; font-weight: 700; text-transform: uppercase; padding: .1rem .45rem; border-radius: 999px; }
.va-req-badge.req { background: #fdecec; color: #c0392b; }
.va-req-badge.opt { background: #eef2f6; color: #667085; }

/* ---- Upload dropzones ---- */
.va-upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media (max-width: 640px) { .va-upload-grid { grid-template-columns: 1fr; } }
.va-drop { border: 2px dashed #cdd8e6; border-radius: 12px; background: #fbfdff; transition: all .2s ease; }
.va-drop.is-drag { border-color: #0051ba; background: #eef4ff; }
.va-drop.has-file { border-style: solid; border-color: #12a150; background: #f0fbf4; }
.va-drop-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem; padding: 1rem .75rem; cursor: pointer; margin: 0; }
.va-drop-inner > i { font-size: 1.4rem; color: #0051ba; }
.va-drop.has-file .va-drop-inner > i::before { content: "\f00c"; } /* check */
.va-drop-title { font-weight: 600; font-size: .9rem; color: #182033; }
.va-drop-hint { font-size: .75rem; color: #98a2b3; }
.va-drop-file { font-size: .78rem; color: #12a150; font-weight: 600; word-break: break-all; }

/* ---- Review ---- */
.va-review dl { display: grid; grid-template-columns: 190px 1fr; gap: .4rem .75rem; margin: 0; }
@media (max-width: 560px) { .va-review dl { grid-template-columns: 1fr; } .va-review dt { margin-top: .5rem; } }
.va-review dt { color: #667085; font-size: .85rem; font-weight: 600; }
.va-review dd { color: #182033; font-size: .9rem; margin: 0; font-weight: 600; }

/* ---- Success ---- */
.va-success-icon { font-size: 3.2rem; color: #12a150; }
.va-tracking-box { background: #f0f6ff; border: 1px dashed #a9c6f5; border-radius: 12px; padding: 1rem 1.5rem; max-width: 360px; }
.va-tracking-id { font-size: 1.4rem; font-weight: 800; letter-spacing: .06em; color: #0051ba; font-family: 'Outfit', monospace; }

/* ============================================================
   Tracking page
   ============================================================ */
.va-timeline { list-style: none; margin: 0; padding: 0; }
.va-tl-track { display: flex; justify-content: space-between; position: relative; margin: 1.5rem 0 .5rem; }
.va-tl-track::before { content: ''; position: absolute; top: 16px; left: 0; right: 0; height: 3px; background: #dbe4f0; }
.va-tl-track .va-tl-fill { position: absolute; top: 16px; left: 0; height: 3px; background: #0051ba; transition: width .3s ease; }
.va-tl-node { position: relative; z-index: 1; text-align: center; flex: 1; }
.va-tl-dot { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 3px solid #dbe4f0; color: #8a97a8;
    display: inline-flex; align-items: center; justify-content: center; }
.va-tl-node.done .va-tl-dot { background: #0051ba; border-color: #0051ba; color: #fff; }
.va-tl-node.current .va-tl-dot { border-color: #0051ba; color: #0051ba; box-shadow: 0 0 0 4px rgba(0,81,186,.12); }
.va-tl-label { display: block; margin-top: .4rem; font-size: .74rem; font-weight: 600; color: #667085; }
.va-tl-node.done .va-tl-label, .va-tl-node.current .va-tl-label { color: #0051ba; }

.va-status-pill { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .8rem; padding: .35rem .8rem; border-radius: 999px; }

/* Document checklist (tracking + admin) */
.va-check-item { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .9rem; border: 1px solid #e4eaf2; border-radius: 10px; margin-bottom: .5rem; }
.va-check-left { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.va-check-mark { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; flex: 0 0 26px; }
.va-check-mark.ok { background: #e7f7ee; color: #12a150; }
.va-check-mark.warn { background: #fef3e0; color: #b9770e; }
.va-check-mark.miss { background: #eef2f6; color: #98a2b3; }
.va-check-label { font-weight: 600; font-size: .9rem; color: #182033; }

/* Update / history feed */
.va-feed { list-style: none; margin: 0; padding: 0; }
.va-feed li { position: relative; padding: 0 0 1.1rem 1.5rem; border-left: 2px solid #e4eaf2; }
.va-feed li:last-child { border-left-color: transparent; padding-bottom: 0; }
.va-feed li::before { content: ''; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #0051ba; }
.va-feed .va-feed-time { font-size: .75rem; color: #98a2b3; }
.va-feed .va-feed-msg { font-size: .9rem; color: #344054; white-space: pre-line; }
