/* Application-only additions. The original landing stylesheet stays unchanged. */
.jf-app { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.jf-app main { flex: 1; }
.jf-app button, .jf-app input { font: inherit; }
.jf-app button { cursor: pointer; }
.jf-app .btn { border: 1px solid transparent; }
.jf-app .btn-secondary { border-color: var(--border); }
.jf-app a:focus-visible, .jf-app button:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.jf-back { color: var(--muted); font-size: 13px; }
.jf-back span { margin-left: 8px; }
.jf-skip { position: absolute; top: -100px; left: 16px; z-index: 200; padding: 12px; background: white; }
.jf-skip:focus { top: 10px; }
.jf-auth-layout { display: grid; grid-template-columns: 1fr 460px; gap: 85px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.jf-auth-intro h1 { font-size: clamp(36px, 4vw, 53px); letter-spacing: -.045em; line-height: 1.12; margin: 26px 0 22px; }
.jf-auth-intro h1 span { background: linear-gradient(90deg, #4f46e5, #8b5cf6); color: transparent; background-clip: text; }
.jf-auth-intro > p { color: var(--muted); font-size: 17px; line-height: 1.8; max-width: 410px; }
.jf-intro-note { display: flex; gap: 15px; align-items: center; margin-top: 36px; }
.jf-note-icon { display: grid; place-items: center; color: var(--primary-dark); background: var(--primary-light); border-radius: 12px; width: 46px; height: 46px; flex-shrink: 0; font-size: 24px; }
.jf-intro-note strong { font-size: 14px; }
.jf-intro-note p { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.jf-intro-lines { display: flex; gap: 7px; margin-top: 42px; }
.jf-intro-lines span { width: 32px; height: 4px; border-radius: 4px; background: #e2e8f0; }
.jf-intro-lines span:first-child { background: var(--primary); }
.jf-auth-card { padding: 36px; background: white; border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 22px 65px rgba(15, 23, 42, .06); }
.jf-form-label { color: var(--primary-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.jf-auth-card h2 { font-size: 26px; letter-spacing: -.035em; line-height: 1.25; margin: 12px 0; }
.jf-form-description { color: var(--muted); font-size: 14px; margin: 0 0 27px; }
.jf-form { display: grid; gap: 19px; }
.jf-field { display: grid; gap: 8px; }
.jf-field label { font-weight: 650; font-size: 13px; }
.jf-field input { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); font-size: 15px; }
.jf-field input:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
.jf-field input::placeholder { color: #7b8798; }
.jf-field small { font-size: 11px; color: var(--muted); line-height: 1.6; }
.jf-submit { width: 100%; min-height: 49px; justify-content: space-between; margin-top: 4px; }
.jf-switch { padding-top: 24px; margin: 26px 0 0; border-top: 1px solid var(--border); text-align: center; font-size: 13px; color: var(--muted); }
.jf-switch a { color: var(--primary-dark); font-weight: 700; }
.jf-alert { color: #9f1239; background: #fff1f2; border: 1px solid #fecdd3; border-radius: 10px; padding: 12px; font-size: 13px; margin-bottom: 22px; }
.jf-footer { border-top: 1px solid var(--border); padding: 23px 0; color: var(--muted); font-size: 11px; background: white; }
.jf-footer .container { display: flex; justify-content: space-between; gap: 16px; }
.jf-error { max-width: 600px; padding-top: 70px; padding-bottom: 70px; }
@media (max-width: 1000px) { .jf-auth-layout { gap: 35px; grid-template-columns: 1fr 420px; } }
@media (max-width: 760px) {
    .jf-auth-layout { grid-template-columns: 1fr; max-width: 500px; padding-top: 35px; padding-bottom: 40px; gap: 26px; }
    .jf-auth-intro h1 { font-size: 34px; margin: 20px 0 0; }
    .jf-auth-intro > p, .jf-intro-note, .jf-intro-lines { display: none; }
    .jf-auth-card { padding: 26px 22px; }
    .jf-footer .container { flex-wrap: wrap; }
    .jf-back { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .jf-app *, .jf-app *::before, .jf-app *::after { scroll-behavior: auto; transition: none; } }

/* BEGIN JOBFLOW DARK AUTH */
body.jf-auth-theme {
    --bg: #090e23;
    --text: #f4f5ff;
    --muted: #a3aec8;
    --border: #283250;
    --primary: #9163ff;
    --primary-dark: #b39aff;
    --primary-light: #24204a;
    color-scheme: dark;
    color: var(--text);
    background: #090e23;
}
.jf-auth-theme main {
    background:
        radial-gradient(ellipse at 90% 12%, rgba(112, 63, 230, .17), transparent 55%),
        radial-gradient(ellipse at 5% 90%, rgba(40, 100, 235, .12), transparent 50%),
        #090e23;
}
.jf-auth-theme .navbar {
    background: #080c1c;
    border-bottom: 1px solid #202943;
}
.jf-auth-theme .brand,
.jf-auth-theme .jf-auth-intro h1,
.jf-auth-theme .jf-auth-card h2,
.jf-auth-theme .jf-field label,
.jf-auth-theme .jf-intro-note strong {
    color: #f4f5ff;
}
.jf-auth-theme .brand-icon,
.jf-auth-theme .jf-submit {
    color: #fff;
    background: linear-gradient(110deg, #8738fa, #327fff);
}
.jf-auth-theme .jf-auth-intro h1 span {
    background: linear-gradient(100deg, #b27aff, #7660ff, #458fff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.jf-auth-theme .eyebrow {
    color: #d0beff;
    background: rgba(132, 83, 255, .09);
    border: 1px solid #42316d;
}
.jf-auth-theme .jf-auth-card {
    background: linear-gradient(145deg, #171f39, #11182d);
    border-color: #303955;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
}
.jf-auth-theme .jf-field input {
    background: #0d1428;
    border-color: #34405f;
    color: #f4f5ff;
    caret-color: #b39aff;
}
.jf-auth-theme .jf-field input::placeholder { color: #8f9bb6; }
.jf-auth-theme .jf-field input:focus {
    border-color: #a581ff;
    outline: 2px solid #a581ff;
    outline-offset: 2px;
}
.jf-auth-theme .jf-field input:autofill {
    background: #0d1428;
    color: #f4f5ff;
}
.jf-auth-theme .jf-field input:-webkit-autofill {
    -webkit-text-fill-color: #f4f5ff;
    -webkit-box-shadow: 0 0 0 1000px #0d1428 inset;
}
.jf-auth-theme .jf-submit {
    border: 1px solid transparent;
    box-shadow: 0 8px 24px rgba(111, 66, 242, .23);
}
.jf-auth-theme .jf-submit:hover { filter: brightness(1.1); }
.jf-auth-theme .jf-switch a,
.jf-auth-theme .jf-form-label { color: #bca5ff; }
.jf-auth-theme .jf-switch a:hover,
.jf-auth-theme .jf-back:hover { color: #e0d5ff; }
.jf-auth-theme .jf-note-icon {
    color: #bca5ff;
    background: #24204a;
}
.jf-auth-theme .jf-intro-lines span { background: #2b3451; }
.jf-auth-theme .jf-intro-lines span:first-child {
    background: linear-gradient(90deg, #994dff, #458fff);
}
.jf-auth-theme .jf-alert {
    color: #ffc3cf;
    background: #361c30;
    border-color: #754054;
}
.jf-auth-theme .jf-footer {
    background: #080c1c;
    border-color: #202943;
}
.jf-auth-theme .jf-skip {
    background: #171f39;
    color: #fff;
}
/* END JOBFLOW DARK AUTH */
