/* ============================================================
   HireXA - Candidate Application (public) - glass redesign
   Design tokens from Figma: liquid-glass cards, Inter, blue #007EE8
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #ECEBF0;
    --ink: #0F172A;          /* text primary   */
    --ink-2: #334155;        /* text secondary */
    --ink-3: #64748B;        /* text tertiary  */
    --ink-4: #94A3B8;        /* placeholder    */
    --line: #CBD5E1;         /* borders        */
    --field: #FAFAFA;        /* input bg       */
    --blue: #007EE8;
    --blue-2: #0B90F3;
    --glass: rgba(255, 255, 255, 0.2);
    --glow: inset 0 0 22.6px #FFFFFF;
    --radius-card: 20px;
}

html, body {
    background: var(--bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

/* ---------- Scrollbars ----------
   The native bar cut a hard grey channel down the right of the glass. Slim,
   rounded and translucent instead, sitting inside a transparent border so it
   reads as a floating pill, and darkening only on hover. Firefox takes the two
   standard properties; WebKit needs the pseudo-elements. Both are set here once
   for the page and every scrolling panel inside it (the JD box, the country
   menu), so they can't drift apart. */
* { scrollbar-width: thin; scrollbar-color: rgba(100, 116, 139, 0.34) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.34);
    /* Transparent border + padding-box clip is what insets the pill off the
       edge; without it the thumb spans the full gutter and looks like a bar. */
    border: 3px solid transparent;
    background-clip: padding-box;
    border-radius: 999px;
}
.ja-cs-menu::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:hover {
    background: rgba(71, 85, 105, 0.55);
    background-clip: padding-box;
}
::-webkit-scrollbar-corner { background: transparent; }

/* ---------- Background glows ----------
   The Schedule a Demo page's three blurred discs - mint over blue over a
   faint indigo - the same sizes, colours, blurs and slow drift, moved to the
   middle of the viewport. Only the "Application Submitted" screen gets them:
   the form itself stays on the plain ground, so the glow reads as the
   reward at the end rather than a wash behind the inputs. Fixed and behind
   everything else (the shell sits above them). */
.ja-glows { display: none; }
body.ja-submitted .ja-glows { display: block; }
.ja-glows {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 1440px;
    height: 899px;
    margin: -450px 0 0 -720px;
    pointer-events: none;
    z-index: 0;
}
.ja-glows span { position: absolute; display: block; border-radius: 50%; }
.ja-glow-indigo { width: 380px; height: 300px; left: 720px; top: 460px; background: rgba(36, 59, 143, 0.1); filter: blur(70px); z-index: 0; }
.ja-glow-blue   { width: 440px; height: 380px; left: 680px; top: 360px; background: rgba(11, 144, 243, 0.22); filter: blur(80px); z-index: 1; }
.ja-glow-mint   { width: 460px; height: 420px; left: 400px; top: 180px; background: rgba(92, 200, 161, 0.38); filter: blur(60px); z-index: 2; }
@keyframes ja-drift-a {
    0%, 100% { transform: none; opacity: 1; }
    50%      { transform: translate3d(-26px, 22px, 0) scale(1.08); opacity: 0.85; }
}
@keyframes ja-drift-b {
    0%, 100% { transform: none; opacity: 1; }
    50%      { transform: translate3d(22px, -18px, 0) scale(1.06); opacity: 0.8; }
}
@keyframes ja-drift-c {
    0%, 100% { transform: none; opacity: 1; }
    50%      { transform: translate3d(14px, 26px, 0) scale(1.1); opacity: 0.9; }
}
.ja-glow-indigo { animation: ja-drift-a 19s ease-in-out infinite; }
.ja-glow-blue   { animation: ja-drift-b 23s ease-in-out infinite; }
.ja-glow-mint   { animation: ja-drift-c 27s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
    .ja-glows span { animation: none; }
}

/* ---------- Shell ----------
   The brand rail is gone, so the column is centred and runs wider rather than
   being pushed off the left edge by a fixed 128px inset. */
.ja-shell {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 32px 40px;
}

/* ---------- Top bar ---------- */
.ja-topbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    background: var(--glass);
    box-shadow: var(--glow);
    border-radius: 14px;
}
.ja-crumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: var(--ink-3); font-weight: 400;
    min-width: 0;
}
.ja-crumb strong { color: var(--ink); font-weight: 600; }
.ja-crumb span, .ja-crumb strong {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40ch;
}
.ja-crumb-sep { color: var(--ink-4); }
/* The wordmark is the brand artwork itself, not text styled to imitate it, so
   the lockup stays correct wherever the brand is refreshed. */
.ja-powered {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--ink-3); font-weight: 400;
}
.ja-powered img { height: 20px; width: auto; display: block; }

/* ---------- Main / states ---------- */
.ja-main { margin-top: 20px; }
.ja-state {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    min-height: 60vh; gap: 12px; padding: 40px 20px;
}
.ja-state h2 { font-size: 24px; font-weight: 700; }
.ja-state p { color: var(--ink-3); font-size: 15px; max-width: 460px; }
.ja-state .closed-sub { font-size: 13px; color: var(--ink-4); }
.spinner {
    width: 40px; height: 40px; border-radius: 50%;
    border: 3px solid #dfe4ea; border-top-color: var(--blue);
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.success-icon {
    width: 68px; height: 68px; border-radius: 50%;
    background: #CAEBE1; display: flex; align-items: center; justify-content: center;
}
.success-box {
    margin-top: 8px; text-align: left; display: inline-flex; flex-direction: column; gap: 6px;
    background: var(--glass); box-shadow: var(--glow); border-radius: 14px;
    padding: 18px 22px; font-size: 14px; color: var(--ink-2);
}
.success-box strong { color: var(--ink); }

/* ---------- Layout wrap ---------- */
.ja-wrap { display: flex; flex-direction: column; gap: 18px; }

/* ---------- Hero card ---------- */
.ja-hero {
    background: var(--glass);
    box-shadow: var(--glow);
    border-radius: var(--radius-card);
    padding: 18px 20px;
    display: flex; flex-direction: column; gap: 14px;
}
.ja-hero-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.ja-hero-title { display: flex; flex-direction: column; gap: 4px; }
.ja-hero-title h1 { font-size: 24px; line-height: 1.25; font-weight: 600; color: var(--ink); }
.ja-hero-loc {
    display: flex; align-items: center; gap: 6px;
    font-size: 14px; color: var(--ink-2);
}
.ja-hero-loc svg { width: 16px; height: 16px; flex: none; }
.ja-hero-tags { display: flex; align-items: center; gap: 12px; }
.ja-tag {
    display: inline-flex; align-items: center;
    padding: 2px 10px; border-radius: 16px;
    font-size: 12px; font-weight: 600; line-height: 20px; white-space: nowrap;
}
.ja-tag-green { background: #CAEBE1; color: #3C8770; }
.ja-tag-neutral { background: #D6DAE0; color: #5F6B7A; }

.ja-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.ja-stat {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; padding: 12px 14px; text-align: center;
    background: linear-gradient(315.92deg, rgba(12,144,243,0.08) 13.11%, rgba(12,144,243,0) 73.64%), #FAFAFA;
    box-shadow: var(--glow);
    border-radius: 12px;
    min-height: 66px;
}
.ja-stat-label { font-size: 12px; color: var(--ink-3); }
.ja-stat-value { font-size: 14px; font-weight: 600; color: var(--ink); }

/* JD toggle */
.ja-jd { border-top: 1px solid rgba(203,213,225,0.7); padding-top: 4px; }
.ja-jd summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600; color: var(--ink-2);
    padding: 8px 0;
}
.ja-jd summary::-webkit-details-marker { display: none; }
.ja-chev { transition: transform .2s ease; }
.ja-jd[open] .ja-chev { transform: rotate(90deg); }
.jd-content {
    font-size: 14px; line-height: 1.65; color: var(--ink-2);
    padding: 8px 2px 6px; max-height: 420px; overflow-y: auto;
}
.jd-content p { margin-bottom: 10px; }
.jd-content a { color: var(--blue); }

/* ---------- Tabs ---------- */
.ja-tabs {
    display: flex; gap: 40px;
    border-bottom: 1px solid var(--line);
    padding: 0 4px;
}
.ja-tab {
    background: none; border: none; cursor: pointer;
    padding: 12px 4px; margin-bottom: -1px;
    font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink-3);
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.ja-tab:hover { color: var(--ink-2); }
.ja-tab.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ---------- Steps ---------- */
.ja-form { display: flex; flex-direction: column; gap: 18px; }
.ja-step { display: flex; flex-direction: column; gap: 18px; }

/* ---------- Cards ---------- */
.ja-card {
    background: var(--glass);
    box-shadow: var(--glow);
    border-radius: var(--radius-card);
    padding: 18px 20px;
    display: flex; flex-direction: column; gap: 14px;
}
.ja-card-head { display: flex; flex-direction: column; gap: 2px; }
.ja-card-head h2 { font-size: 17px; font-weight: 600; color: var(--ink); }
.ja-card-head p { font-size: 12px; color: var(--ink-3); }

/* ---------- Grid + fields ---------- */
.ja-grid { display: grid; gap: 14px; }
.ja-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ja-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ja-grid-align { align-items: stretch; }
.ja-grid-align > .ja-card { height: 100%; }

.ja-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ja-field > label { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.ja-field .req { color: #E63946; }
.ja-field .opt { font-weight: 400; color: var(--ink-3); }
/* The WhatsApp consent card spans the two-column grid. Same frame as a field
   (.ja-input: light fill, 1px line, 12px radius) so it belongs to the form,
   with a WhatsApp-green tick and icon so it reads as a choice, not small print.
   Ticked, the frame turns green so the choice is visible at a glance. */
.ja-field-wide { grid-column: 1 / -1; }
.ja-consent {
    display: flex; align-items: center; gap: 12px; cursor: pointer;
    background: var(--field); border: 1px solid var(--line); box-shadow: var(--glow);
    border-radius: 12px; padding: 12px 16px;
    font-size: 12px; font-weight: 500; line-height: 1.5; color: var(--ink-2);
    transition: border-color .15s, background .15s;
}
.ja-consent:hover { border-color: #25D366; }
.ja-consent:has(input:checked) { border-color: #25D366; background: #F0FBF4; }
.ja-consent input { margin: 0; width: 18px; height: 18px; flex: 0 0 18px; accent-color: #25D366; cursor: pointer; }
.ja-consent-icon { display: inline-flex; width: 32px; height: 32px; flex: 0 0 32px; align-items: center;
    justify-content: center; border-radius: 50%; background: #25D366; color: #FFFFFF; }
.ja-consent-icon svg { display: block; }
.ja-consent-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ja-consent-text strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.ja-consent-text span { color: var(--ink-3); font-weight: 500; }
@media (max-width: 640px) {
    .ja-consent { align-items: flex-start; }
    .ja-consent-icon { display: none; }
}

.ja-input {
    display: flex; align-items: center; gap: 8px;
    background: var(--field);
    border: 1px solid var(--line);
    box-shadow: var(--glow);
    border-radius: 12px;
    padding: 8px 16px;
    height: 40px;
}
.ja-input:focus-within { border-color: var(--blue); }
.ja-input input,
.ja-input select {
    width: 100%; border: none; outline: none; background: transparent;
    font-family: inherit; font-size: 13px; font-weight: 500; color: var(--ink);
}
.ja-input input::placeholder { color: var(--ink-4); font-weight: 500; }

/* ---------- Phone field (intl country-code widget) ---------- */
/* phone_input.js styles itself for pages where the <input> IS the field frame.
   Here the frame is .ja-input and the input inside it is transparent and
   borderless, so the widget's own border + radius rendered as a second pill
   nested inside the field. Strip that frame and let the widget span the field
   edge to edge, so the country code reads as a segment of the field. */
.ja-input { position: relative; }
/* The country menu overflows the field; positioned siblings further down the
   form would otherwise paint over it. */
.ja-input:focus-within { z-index: 5; }
.ja-input .hxp {
    align-self: stretch;
    margin: -8px -16px;
    width: calc(100% + 32px);
}
.ja-input .hxp-cc {
    border: none;
    border-right: 1px solid var(--line);
    /* 12px frame minus its 1px border - the inner curve of the field. */
    border-radius: 11px 0 0 11px;
    background: transparent;
    box-shadow: none;
    padding: 0 12px 0 16px;
}
.ja-input .hxp-cc:focus-visible {
    box-shadow: none;
    outline: 2px solid var(--blue);
    outline-offset: -2px;
}
.ja-input .hxp > input { padding: 0 16px 0 12px; }
/* The widget drops its message inside the frame, where a 40px flex row would
   squash it. Park it under the field instead. */
.ja-input .hxp-err { position: absolute; top: 100%; left: 0; }
/* The widget flags errors on its own parts; with their borders gone, the frame
   carries the red. */
.ja-input:has(.hxp-bad) { border-color: #E2574C; }

/* salary row (currency + amount) */
.ja-sal-row { display: flex; gap: 8px; }
.ja-sal-row .ja-input:last-child { flex: 1; }
/* native selects are enhanced into .ja-cs by JS; hide the raw control */
select.ja-enhance { display: none; }

/* ---------- Custom dropdown (styled select) ---------- */
.ja-cs { position: relative; flex: 1; }
.ja-cs.ja-cs-cur { flex: 0 0 auto; width: 88px; }
.ja-cs-trigger {
    width: 100%; height: 40px;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    background: var(--field); border: 1px solid var(--line); box-shadow: var(--glow);
    border-radius: 12px; padding: 8px 14px;
    font-family: inherit; font-size: 13px; font-weight: 500; color: var(--ink);
    cursor: pointer; text-align: left;
    transition: border-color .15s ease;
}
.ja-cs-trigger:hover { border-color: var(--blue-2); }
.ja-cs.open .ja-cs-trigger { border-color: var(--blue); }
.ja-cs-trigger.placeholder .ja-cs-label { color: var(--ink-4); }
.ja-cs-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ja-cs-chev { flex: none; transition: transform .2s ease; color: var(--ink-2); }
.ja-cs.open .ja-cs-chev { transform: rotate(180deg); }
.ja-cs-menu {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
    background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px;
    box-shadow: 0 14px 34px -12px rgba(15,23,42,0.28);
    padding: 6px; max-height: 264px; overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: #CBD5E1 transparent;
}
.ja-cs-opt {
    padding: 9px 12px; border-radius: 8px;
    font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer;
    transition: background .12s ease, color .12s ease;
}
.ja-cs-opt:hover { background: #F1F5F9; }
.ja-cs-opt.selected { background: rgba(0,126,232,0.1); color: var(--blue); font-weight: 600; }

/* ---------- Attachments step ----------
   Two stacked cards, resume over portfolio. The resume card opens with a
   page-sized heading and a row of four fact tiles (the same tiles as the hero
   stats), then the drop zone; the portfolio card repeats the zone at a smaller
   heading and adds a URL field under it. */
.ja-up { gap: 16px; padding: 22px 24px 20px; }
.ja-up-head { display: flex; flex-direction: column; gap: 6px; }
.ja-up-title {
    font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em;
    color: var(--ink);
}
.ja-up-title-sm { font-size: 22px; }
.ja-up-opt { font-weight: 500; color: var(--ink-2); }
.ja-up-sub {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; line-height: 1.4; color: var(--ink-2);
}
.ja-up-sub svg { flex: none; color: var(--ink-2); }
.ja-up-sub-sm { font-size: 13px; color: var(--ink-3); }
.ja-up-facts { gap: 14px; }
.ja-up-facts .ja-stat { gap: 4px; padding: 12px 14px; min-height: 60px; }
.ja-up-facts .ja-stat-value { font-size: 15px; }
/* The caution under the resume zone: a dot, then one quiet line. */
.ja-up-note {
    display: flex; align-items: baseline; gap: 10px;
    font-size: 13px; color: var(--ink-3); padding-left: 2px;
}
.ja-up-note::before {
    content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%;
    background: var(--ink-4); transform: translateY(-2px);
}
/* Outranks the generic .ja-field > label (12px, muted) for the URL row. */
.ja-up .ja-field > .ja-up-label { font-size: 13px; font-weight: 600; color: var(--ink); }

/* ---------- Drop zones (resume + portfolio) ---------- */
.ja-upload-zone {
    border: 1.5px dashed rgba(11,144,243,0.75);
    border-radius: 12px;
    background: rgba(11,144,243,0.06);
    padding: 22px 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    min-height: 128px;
    cursor: pointer; text-align: center;
    transition: border-color .15s ease, background .15s ease;
}
.ja-upload-zone:hover { border-color: var(--blue); background: rgba(11,144,243,0.1); }
/* Drag feedback: the same accent as hover, held while a file is over the zone. */
.ja-upload-zone.dragging {
    border-color: var(--blue); border-style: solid;
    background: rgba(11,144,243,0.14);
}
.ja-upload-zone.busy { pointer-events: none; opacity: .75; }
.ja-upload-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(11,144,243,0.14);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 4px;
    transition: transform .15s ease;
}
.ja-upload-zone:hover .ja-upload-icon { transform: translateY(-2px); }
.ja-upload-text { font-size: 16px; font-weight: 700; color: var(--ink); }
.ja-upload-hint { font-size: 12px; color: var(--ink-3); }

/* Uploaded file row: green tick badge, name over size, Remove on the right. */
.ja-upload-file {
    display: flex; align-items: center; gap: 12px;
    background: var(--field); border: 1px solid var(--line);
    box-shadow: var(--glow); border-radius: 12px; padding: 12px 14px;
}
.ja-file-badge {
    width: 32px; height: 32px; border-radius: 10px; flex: 0 0 auto;
    background: #CAEBE1;
    display: flex; align-items: center; justify-content: center;
}
.ja-file-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ja-file-name {
    font-size: 13px; font-weight: 600; color: var(--ink);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ja-file-size { font-size: 12px; color: var(--ink-3); }
.ja-remove {
    background: none; border: none; cursor: pointer; flex: none;
    color: #E63946; font-family: inherit; font-size: 12px; font-weight: 600;
}
.ja-remove:hover { text-decoration: underline; }

/* ---------- Additional documents and links (SCRUM-431) ----------
   Same zone, file rows and inputs as the cards above; only the list spacing
   and the inline error line are new. */
.ja-extras-list { display: flex; flex-direction: column; gap: 8px; }
.ja-extras-list:empty { display: none; }
.ja-field-err { font-size: 12px; font-weight: 500; color: #E2574C; line-height: 1.4; }
.ja-input.is-bad { border-color: #E2574C; }

/* ---------- Footer ---------- */
.ja-footer {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 16px 20px;
    background: var(--glass);
    box-shadow: var(--glow);
    border-radius: 14px;
}
/* Attachments step: the storage note on the left, Submit on the right. */
.ja-footer-submit { padding: 14px 20px 14px 24px; gap: 16px; }
.ja-footer-note { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.ja-btn-back {
    padding: 10px 18px; border-radius: 13px;
    background: linear-gradient(179deg, rgba(0,126,232,0) 39%, rgba(0,126,232,0.14) 151%), rgba(255,255,255,0.7);
    border: 1px solid var(--line); box-shadow: var(--glow);
    font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.ja-btn-back:hover { border-color: var(--blue-2); color: var(--blue); }
.ja-btn-continue {
    padding: 10px 20px; border-radius: 13px;
    background: linear-gradient(180deg, rgba(0,126,232,0) 8%, rgba(0,126,232,0.5) 152%), var(--blue-2);
    border: 1px solid #8AC9FF;
    box-shadow: 0 4px 10px -6px rgba(0,0,0,0.2), inset 0 0 7.7px rgba(255,255,255,0.4);
    font-family: inherit; font-size: 14px; font-weight: 600; color: #fff; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
}
.ja-btn-continue:hover { background: var(--blue); }
.ja-btn-continue:disabled { opacity: .7; cursor: default; }
/* Submit waits on the resume: until one is uploaded it sits pale, the same
   blue washed out, and comes to full strength the moment the file lands. */
#btn-submit { padding: 11px 28px; font-size: 15px; }
#btn-submit:disabled {
    opacity: 1; background: #A9D3F9; border-color: #C3E2FB;
    box-shadow: inset 0 0 7.7px rgba(255,255,255,0.4);
}
.btn-spinner {
    width: 15px; height: 15px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5); border-top-color: #fff;
    animation: spin .7s linear infinite;
}
.ja-disclaimer { font-size: 12px; color: var(--ink-3); text-align: center; }

/* ---------- Toast ---------- */
.toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px;
    font-size: 14px; font-weight: 500; z-index: 100;
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.4);
    max-width: 90vw;
}
.toast.error { background: #E63946; }
.toast.info { background: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .ja-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .ja-shell { padding: 14px; }
    .ja-stats { grid-template-columns: repeat(2, 1fr); }
    .ja-grid-2, .ja-grid-3 { grid-template-columns: 1fr; }
    .ja-upload-zone { min-height: 0; }
    .ja-hero-title h1 { font-size: 21px; }
    .ja-up-title { font-size: 24px; }
    .ja-up-title-sm { font-size: 20px; }
    .ja-up { padding: 18px 16px; }
    .ja-powered { display: none; }
}
@media (max-width: 480px) {
    .ja-stats { grid-template-columns: 1fr; }
    .ja-footer { flex-wrap: wrap; }
    .ja-footer button { flex: 1; }
    .ja-footer-note { flex-basis: 100%; }
}
#current-location::-webkit-contacts-auto-fill-button,
#current-location::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    position: absolute;
    right: 0;
}