/* ==========================================================================
   JobsMeetTalent — candidate authentication pages
   One stylesheet for login, forgot password, reset password and verify
   email. It follows the approved registration page: same logo, palette,
   type scale, card, inputs, buttons, Log in / Sign up switch, stepper and
   candidate photo. Loaded after style.css (base buttons, alerts, tokens).

   Everything is scoped to .auth-page, so it cannot affect register.php or
   any signed-in page.

   Spacing scale: 4 / 8 / 12 / 16 / 20 / 24 / 32 / 40 / 48 / 56 / 64
   ========================================================================== */
.auth-page {
  --au-navy: #061a36;
  --au-ink: #10233f;
  --au-text: #55657e;
  --au-muted: #66748a;
  --au-border: #dfe5ed;
  --au-gold: #efad1d;
  --au-gold-soft: #fff4dd;
  --au-blue: #1670e8;
  --au-bg: #f5f9fe;
  --au-pad: clamp(24px, 4.4vw, 72px);
  --au-control: 50px;

  min-height: 100vh; min-height: 100dvh;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
  background: var(--au-bg); color: var(--au-ink); overflow-x: hidden;
}
body:has(> .auth-page) { background: #f5f9fe; }

/* ------------------------------------------------------------- Brand side */
.auth-brand {
  position: relative; min-width: 0; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 32px var(--au-pad) 24px;
  background:
    radial-gradient(620px 340px at 78% 58%, rgba(223, 239, 255, .95), transparent 70%),
    linear-gradient(140deg, #fffdf8 0%, #fff 55%, #f5f9ff 100%);
}
.auth-logo-link { grid-column: 1; grid-row: 1; display: inline-flex; align-items: center; gap: 12px; justify-self: start; color: #0a1c36; text-decoration: none; }
.auth-logo-link strong { font-size: 21px; font-weight: 800; letter-spacing: -.35px; }
.auth-logo-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--au-gold); color: #0b1d34; display: grid; place-items: center; font-weight: 800; font-size: 14px; }

.auth-brand-copy { position: relative; z-index: 3; grid-column: 1; grid-row: 2; align-self: start; padding-top: clamp(24px, 5vh, 56px); max-width: 58%; }
.auth-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  color: #94620a; background: var(--au-gold-soft); border: 1px solid #f5dfae; font-size: 12.5px; font-weight: 700;
}
.auth-brand h2 {
  margin: 20px 0 16px; color: var(--au-navy); font-weight: 800;
  font-size: clamp(34px, 3.1vw, 52px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance;
}
.auth-brand h2 .accent { color: var(--au-gold); }
.auth-lede { margin: 0; max-width: 46ch; color: var(--au-text); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.55; }
.auth-features { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; max-width: 78%; }
.auth-features li { display: flex; align-items: center; gap: 12px; color: #1d3557; font-size: 14.5px; line-height: 1.4; }
.auth-features .tick { width: 24px; height: 24px; border-radius: 50%; flex: 0 0 24px; display: grid; place-items: center; background: var(--au-gold); color: #fff; }
.auth-features .tick svg { width: 13px; height: 13px; stroke-width: 3; }

/* Candidate photo: a real <img>, scaled proportionally — never cropped, stretched or upscaled past its size */
.auth-hero {
  position: relative; z-index: 2; grid-row: 2; grid-column: 1; align-self: end; justify-self: end;
  width: min(60%, 560px, 62vh); aspect-ratio: 1188 / 954; margin-right: 4%;
}
.auth-hero-img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center bottom; }
.auth-float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px; max-width: 220px;
  background: #fff; color: #132540; border: 1px solid rgba(223, 229, 237, .7); border-radius: 14px; box-shadow: 0 12px 28px rgba(18, 45, 78, .12);
}
.auth-float-card .fc-icon { width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px; display: grid; place-items: center; }
.auth-float-card b { display: block; font-size: 13px; line-height: 1.3; white-space: nowrap; }
.auth-float-card span:not(.fc-icon) { display: block; font-size: 11px; color: #5e6d85; line-height: 1.35; white-space: nowrap; }
.auth-float-card:nth-of-type(1) { top: 0; right: -4%; transform: translateY(-64%); }   /* sits above her head, never on her face */
.auth-float-card:nth-of-type(2) { top: 36%; right: -14%; }
.auth-float-card:nth-of-type(3) { top: 66%; right: -6%; }

.auth-stats { position: relative; z-index: 5; grid-column: 1; grid-row: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 16px; border-top: 1px solid #dce4ee; }
.auth-stats .stat-v2 { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0; border: 0; }
.auth-stats .stat-v2-icon { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px; display: grid; place-items: center; }
.auth-stats .stat-v2 strong { display: block; color: var(--au-navy); font-size: 20px; font-weight: 800; line-height: 1.1; }
.auth-stats .stat-v2 span:not(.stat-v2-icon) { display: block; color: #606c81; font-size: 12px; line-height: 1.35; }

/* --------------------------------------------------------------- Form side */
.auth-side {
  min-width: 0; display: flex; align-items: center; justify-content: center;
  padding: 32px clamp(20px, 4vw, 72px);
  background: linear-gradient(135deg, #f8fbff 0%, #eef5fc 100%);
}
.auth-page .auth-box { width: 100%; max-width: 540px; margin: 0; }
.auth-page .auth-card {
  position: relative; width: 100%; padding: 28px 32px 24px; overflow: visible;
  background: #fff; border: 1px solid #e1e7ef; border-radius: 18px; box-shadow: 0 18px 55px rgba(27, 55, 88, .10);
}
.auth-page .auth-card::before { display: none; }
.auth-page .auth-card > h1 { margin: 0; color: var(--au-navy); font-size: 25px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.auth-page .auth-card > h1 + p { margin: 8px 0 20px; }
.auth-page .auth-card > p { color: var(--au-muted); font-size: 14px; line-height: 1.5; }
.auth-page .auth-card form { margin: 0; }

/* Log in / Sign up switch (rendered only by auth_tabs()) */
.auth-page .auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 24px;
  background: #f6f4ef; border: 1px solid #e5e0d6; border-radius: 12px;
}
.auth-page .auth-tabs a {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border-radius: 9px;
  color: #5f6c83; font-size: 14px; font-weight: 700; text-decoration: none; transition: color .15s, background-color .15s;
}
.auth-page .auth-tabs a:hover { color: var(--au-ink); }
.auth-page .auth-tabs a.active { background: var(--au-gold-soft); color: var(--au-ink); box-shadow: inset 0 0 0 1.5px var(--au-gold); }

/* Step indicator */
.auth-page .reg-stepper { display: flex; align-items: flex-start; margin: 0 4px 24px; }
.auth-page .reg-stepper-node { flex: 0 0 88px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.auth-page .reg-stepper-circle { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #edf0f3; color: var(--au-muted); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.auth-page .reg-stepper-node.active .reg-stepper-circle { background: var(--au-gold); color: #fff; }
.auth-page .reg-stepper-node.done .reg-stepper-circle { background: var(--au-navy); color: #fff; }
.auth-page .reg-stepper-text { font-size: 12px; font-weight: 600; color: #5f6b7a; text-align: center; line-height: 1.25; }
.auth-page .reg-stepper-node.active .reg-stepper-text { color: #223752; }
.auth-page .reg-stepper-line { flex: 1; height: 2px; min-width: 16px; margin-top: 16px; background: #dfe4ea; }
.auth-page .reg-stepper-line.done { background: #233b5c; }

/* Fields */
.auth-page .field { margin-bottom: 16px; }
.auth-page .field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #203753; }
.auth-page .field input {
  width: 100%; height: var(--au-control); padding: 0 16px; border: 1px solid #d8e0e9; border-radius: 10px;
  background: #fff; color: #1a2d47; font: 400 15px/1.4 var(--font-sans, inherit); box-shadow: none; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.auth-page .field input::placeholder { color: #9aa7b7; opacity: 1; }
.auth-page .field input:hover { border-color: #c3cedb; }
.auth-page .field input:focus { border-color: #6aa2e8; box-shadow: 0 0 0 3px rgba(76, 143, 221, .14); }
.auth-page .field-icon-wrap { position: relative; }
.auth-page .field-icon-wrap > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #9aa7b7; pointer-events: none; }
.auth-page .field-icon-wrap input { padding-left: 44px; }
.auth-page .field.has-error input { border-color: #d93a3a; }
.auth-page .field-error { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: #b02626; }
.auth-page .field-hint { margin-top: 8px; font-size: 12.5px; color: var(--au-muted); }
.auth-page .auth-otp { padding: 0 8px; text-align: center; letter-spacing: 8px; font-size: 20px; font-weight: 600; }

/* Password show / hide */
.auth-page .auth-pw input { padding-right: 52px; }
.auth-pw-btn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border: 0; border-radius: 8px; background: none; color: #7a8799; cursor: pointer;
  display: grid; place-items: center;
}
.auth-pw-btn:hover { color: var(--au-ink); background: #f3f6fa; }
.auth-pw-btn svg { width: 18px; height: 18px; pointer-events: none; }
.auth-pw-btn .pw-off, .auth-pw-btn.is-on .pw-on { display: none; }
.auth-pw-btn .pw-on, .auth-pw-btn.is-on .pw-off { display: inline-flex; }

/* Buttons */
.auth-page .btn-block { width: 100%; height: var(--au-control); border-radius: 10px; font-size: 15px; font-weight: 700; }
.auth-page .btn-block.btn-primary { background: var(--au-navy); color: #fff; border: 0; box-shadow: none; }
.auth-page .btn-block.btn-primary:hover { background: #12305a; }
.auth-page .btn-block.btn-secondary { background: #fff; color: #163050; border: 1px solid #d5dde6; box-shadow: none; }
.auth-page .btn-block.btn-secondary:hover { background: #f6f9fc; }
.auth-secondary-form { margin-top: 12px !important; }

/* Links, notes, alerts */
.auth-page .link { color: var(--au-blue); font-weight: 600; }
.auth-forgot { text-align: right; margin: -4px 0 20px; font-size: 13.5px; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13.5px; font-weight: 600; color: var(--au-muted); text-decoration: none; }
.auth-back:hover { color: var(--au-ink); }
.auth-back svg { transform: rotate(90deg); }
.auth-note { margin: 0 0 16px; font-size: 13.5px; color: var(--au-muted); }
.auth-page .auth-alert { margin: 0 0 16px; border-radius: 10px; font-size: 14px; }
.auth-switch { display: flex; align-items: center; gap: 16px; margin: 24px 0 0; font-size: 14px; color: var(--au-muted); text-align: center; }
.auth-switch::before, .auth-switch::after { content: ''; flex: 1; height: 1px; background: #e1e7ef; }
.auth-switch button.link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 600; }
.auth-page .auth-legal { margin-top: 16px; text-align: center; color: #728096; font-size: 11.5px; line-height: 1.8; }
.auth-page .auth-legal a { color: #728096; }

.auth-page a:focus-visible, .auth-page button:focus-visible { outline: 2px solid var(--au-gold); outline-offset: 2px; }

/* -------------------------------------------------------------- Responsive */

/* Short desktop windows (e.g. 1366x768, or zoomed in): tighten the left side */
@media (min-width: 1024px) and (max-height: 820px) {
  .auth-brand { padding-top: 24px; padding-bottom: 20px; }
  .auth-brand-copy { padding-top: 24px; }
  .auth-brand h2 { font-size: clamp(30px, 2.7vw, 42px); margin: 16px 0 12px; }
  .auth-features { margin-top: 16px; gap: 8px; }
  .auth-features li { font-size: 13.5px; }
  .auth-hero { width: min(54%, 54vh); }
  .auth-float-card { padding: 8px 12px; }
  .auth-float-card:nth-of-type(2) { display: none; }
  .auth-float-card:nth-of-type(3) { top: auto; bottom: 6%; }
  .auth-float-card .fc-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .auth-stats .stat-v2-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .auth-stats .stat-v2 strong { font-size: 18px; }
}

/* Very short windows (laptop at 125% zoom): drop the bullet list so nothing meets the photo */
@media (min-width: 1024px) and (max-height: 680px) {
  .auth-features { display: none; }
  .auth-hero { width: min(50%, 50vh); }
}

/* Laptop: still two columns, less air */
@media (min-width: 1024px) and (max-width: 1365px) {
  .auth-page { grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); --au-pad: 32px; }
  .auth-brand-copy { max-width: 64%; }
  .auth-features { max-width: 100%; }
  .auth-float-card { max-width: 190px; padding: 8px 12px; }
  .auth-float-card .fc-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .auth-float-card b { font-size: 12px; }
  .auth-float-card:nth-of-type(1) { right: -2%; }
  .auth-float-card:nth-of-type(2) { display: none; }
  .auth-float-card:nth-of-type(3) { top: auto; bottom: 6%; right: -4%; }
  .auth-stats { gap: 12px; }
  .auth-stats .stat-v2-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .auth-stats .stat-v2 strong { font-size: 17px; }
  .auth-side { padding: 24px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .auth-brand h2 { font-size: 32px; }
  .auth-brand-copy { max-width: 100%; }
  .auth-lede { max-width: 40ch; }
  .auth-hero { width: min(52%, 46vh); margin-right: 8%; }
  .auth-float-card { display: none; }
  .auth-stats .stat-v2 span:not(.stat-v2-icon) { font-size: 11px; }
}

/* Tablet: stack — compact brand header (message left, person right), then the card */
@media (max-width: 1023px) {
  .auth-page { display: block; }
  .auth-brand {
    grid-template-columns: minmax(0, 1fr) clamp(200px, 34vw, 300px); grid-template-rows: auto auto auto 1fr;
    column-gap: 24px; padding: 24px 32px 0;
  }
  .auth-brand-copy { display: contents; }
  .auth-logo-link { grid-column: 1 / -1; grid-row: 1; }
  .auth-badge { grid-column: 1; grid-row: 2; justify-self: start; margin-top: 32px; }
  .auth-brand h2 { grid-column: 1; grid-row: 3; font-size: clamp(28px, 4.4vw, 36px); margin: 16px 0 12px; }
  .auth-lede { grid-column: 1; grid-row: 4; align-self: start; padding-bottom: 32px; font-size: 15px; }
  .auth-hero { grid-column: 2; grid-row: 2 / 5; align-self: end; justify-self: stretch; width: 100%; margin: 0; }
  .auth-features, .auth-stats, .auth-float-card { display: none; }
  .auth-side { padding: 24px 32px 40px; align-items: flex-start; }
  .auth-page .auth-box { max-width: 560px; }
}

/* Mobile: logo → badge → compact visual → message → card */
@media (max-width: 640px) {
  .auth-page { --au-control: 48px; }
  .auth-brand { display: flex; flex-direction: column; align-items: flex-start; padding: 16px 16px 0; }
  .auth-logo-link { order: 1; }
  .auth-logo-link strong { font-size: 18px; }
  .auth-logo-mark { width: 36px; height: 36px; }
  .auth-badge { order: 2; margin-top: 20px; }
  .auth-hero { order: 3; align-self: center; width: min(64%, 240px); margin: 12px 0 0; }
  .auth-brand h2 { order: 4; font-size: 26px; margin: 16px 0 8px; }
  .auth-lede { order: 5; padding-bottom: 20px; font-size: 14.5px; }
  .auth-side { padding: 0 16px 32px; }
  .auth-page .auth-box { max-width: none; }
  .auth-page .auth-card { padding: 20px 16px; border-radius: 16px; }
  .auth-page .auth-card > h1 { font-size: 22px; }
  .auth-page .auth-tabs { margin-bottom: 20px; }
  .auth-page .field input { font-size: 16px; }   /* stops iOS zooming the page on focus */
  .auth-switch { gap: 12px; margin-top: 20px; }
  .auth-page .reg-stepper { margin: 0 0 20px; }
  .auth-page .reg-stepper-node { flex: 0 1 80px; }
  .auth-page .reg-stepper-text { font-size: 11px; }
}
@media (max-width: 380px) {
  .auth-brand h2 { font-size: 24px; }
  .auth-switch::before, .auth-switch::after { display: none; }
  .auth-switch { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .auth-page * { transition: none !important; } }

/* ==========================================================================
   Registration page (.auth-register) — reconstruction of the approved
   1536x1024 composition.

   Every size is a multiple of --s, which is 16px on a 1536x1024 window and
   scales with the window (never below 13px or above 20px), so the same
   proportions hold from 1280 to 1920 and at 67%–125% browser zoom. This is
   ordinary fluid sizing: no transform, no zoom, no screenshot background.
   ========================================================================== */
/* ---- Registration parts shared by every width ---- */
.auth-register .reg-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.auth-register .reg-title { display: block; padding: 0; margin: 0; color: var(--au-navy); font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.auth-register .reg-sub { margin: 8px 0 16px; color: var(--au-muted); font-size: 14.5px; line-height: 1.45; }
.auth-register .reg-stepper-line { position: relative; z-index: 0; }
.auth-register .reg-stepper-node { position: relative; z-index: 1; }
.auth-register .reg-stepper-circle { box-shadow: 0 0 0 6px #fff; }

.auth-register .mode-choice-v2 { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.auth-register .mode-choice-v2-option {
  position: relative; display: grid; grid-template-columns: 20px 48px minmax(0, 1fr); column-gap: 12px; align-items: center;
  width: 100%; min-height: 88px; margin: 0; padding: 12px 14px; cursor: pointer;
  background: #fff; border: 1px solid #dfe5ed; border-radius: 8px; transition: border-color .15s, background-color .15s;
}
.auth-register .mode-choice-v2-option:hover { border-color: #c6d1df; }
.auth-register .mode-choice-v2-option:has(input:checked) { border-color: #3b8af0; background: #f1f7ff; box-shadow: 0 0 0 .5px #3b8af0; }
.auth-register .mode-choice-v2-option input[type=radio] { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: #1670e8; border-radius: 50%; }
.auth-register .mcv2-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.auth-register .mcv2-body { display: block; min-width: 0; }
.auth-register .mcv2-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.auth-register .mcv2-top b { font-size: 16px; font-weight: 700; line-height: 1.25; color: #0e2542; }
.auth-register .mcv2-badge { flex-shrink: 0; font-size: 11px; font-weight: 500; padding: 5px 9px; border-radius: 8px; white-space: nowrap; line-height: 1.2; }
.auth-register .mcv2-desc { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 400; line-height: 1.45; color: #5b6b83; }
.auth-register .mcv2-icon svg, .auth-register .auth-stats .stat-v2-icon svg, .auth-register .auth-float-card:not(:nth-of-type(3)) .fc-icon svg { fill: currentColor; fill-opacity: .9; stroke-width: 1.5; }
.auth-register .mcv2-icon.ic-amber, .auth-register .stat-v2-icon.ic-amber, .auth-register .fc-icon.ic-amber { background: #fff1d6; color: #f5a511; }
.auth-register .mcv2-icon.ic-purple, .auth-register .fc-icon.ic-purple { background: #f1e6ff; color: #9247ee; }
.auth-register .mcv2-icon.ic-blue, .auth-register .stat-v2-icon.ic-blue { background: #e3eefd; color: #1f76e8; }
.auth-register .auth-tip-box { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 14px; padding: 14px 16px; border: 0; border-radius: 8px; background: #eef4fc; color: #33435c; font-weight: 400; font-size: 13.5px; line-height: 1.45; }
.auth-register .auth-tip-box svg { flex: 0 0 auto; color: #f2ab1b; margin: 0; fill: currentColor; fill-opacity: .9; }

.auth-register .reg-step-actions { display: flex; gap: 12px; margin-top: 16px; }
.auth-register .reg-step-actions .js-only { display: flex; }
.auth-register .auth-card:not(.has-js) .reg-step-actions.js-only, .auth-register .auth-card:not(.has-js) .js-only { display: none; }
.auth-register .reg-step-actions .btn { flex: 1; height: var(--au-control); border-radius: 10px; font-size: 15px; font-weight: 700; }
.auth-register .reg-step-actions .btn-primary { background: var(--au-navy); color: #fff; border: 0; box-shadow: none; }
.auth-register .reg-step-actions .btn-primary:hover { background: #12305a; }
.auth-register .reg-step-actions .btn-secondary { flex: 0 0 30%; background: #fff; color: #163050; border: 1px solid #d5dde6; box-shadow: none; }
.auth-register .phone-input-group { display: grid; grid-template-columns: 92px minmax(0, 1fr); width: 100%; }
.auth-register .phone-input-group .phone-prefix { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 12px; border: 1px solid #d8e0e9; border-right: 0; border-radius: 10px 0 0 10px; background: #fff; color: #223752; font-size: 14px; }
.auth-register .phone-input-group input { border-radius: 0 10px 10px 0; }
.auth-register .field label.checkbox-row { display: flex; margin-bottom: 0; }
.auth-register .checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; font-weight: 400; line-height: 1.45; color: var(--au-ink); }
.auth-page .field input[type=checkbox], .auth-register .checkbox-row input { width: 16px; height: 16px; flex: 0 0 16px; margin: 2px 0 0; padding: 0; border-radius: 4px; }
.auth-register .reg-title + .field { margin-top: 16px; }
.auth-register .reg-stepper-circle { transition: none; }
.auth-register .pw-toggle { font-size: 12.5px; }
.auth-register .location-picker .btn { margin-top: 8px; }

@media (min-width: 1200px) {
  .auth-register {
    --s: clamp(13px, min(1.0417vw, 1.5625vh), 20px);
    grid-template-columns: 59fr 41fr; letter-spacing: -.012em;
  }

  /* ---- Left: brand ---- */
  .auth-register .auth-brand {
    min-height: calc(var(--s) * 64);   /* keeps text and photo in the same relationship on short windows */
    background:
      radial-gradient(62% 20% at 4% 80%, rgba(228, 237, 250, .75), transparent 72%),
      radial-gradient(620px 340px at 78% 58%, rgba(223, 239, 255, .95), transparent 70%),
      linear-gradient(140deg, #fffdf8 0%, #fff 55%, #f5f9ff 100%);
    padding: calc(var(--s) * 1.4375) calc(var(--s) * .0625) calc(var(--s) * 8.25) calc(var(--s) * 4.25);
    overflow: hidden;
  }
  .auth-register .auth-logo-link { gap: calc(var(--s) * .875); }
  .auth-register .auth-logo-link strong { font-size: calc(var(--s) * 1.5); letter-spacing: -.02em; }
  .auth-register .auth-logo-mark { width: calc(var(--s) * 2.5); height: calc(var(--s) * 2.5); border-radius: calc(var(--s) * .5); font-size: calc(var(--s) * 1); }

  .auth-register .auth-brand-copy { max-width: none; padding-top: calc(var(--s) * 2.875); }
  .auth-register .auth-badge { gap: calc(var(--s) * .5); padding: calc(var(--s) * .3125) calc(var(--s) * 1.1875) calc(var(--s) * .3125) calc(var(--s) * 1.0625); font-size: calc(var(--s) * .9375); font-weight: 600; border-color: transparent; }
  .auth-register .auth-badge svg { width: calc(var(--s) * 1.125); height: calc(var(--s) * 1.125); }
  .auth-register .auth-brand h2 {
    max-width: none; margin: calc(var(--s) * 1.25) 0 0; white-space: nowrap;
    font-size: calc(var(--s) * 3.0625); line-height: 1.245; letter-spacing: -.045em; text-wrap: wrap;
  }
  .auth-register .auth-lede { max-width: calc(var(--s) * 31.5); margin-top: calc(var(--s) * 1); font-size: calc(var(--s) * 1.15); line-height: 1.5; color: #5b6b83; }
  .auth-register .auth-features { display: grid; max-width: calc(var(--s) * 24); margin-top: calc(var(--s) * 1.875); gap: calc(var(--s) * .9); }
  .auth-register .auth-features li { gap: calc(var(--s) * 1.0625); font-size: calc(var(--s) * 1.03); color: #14294a; }
  .auth-register .auth-features .tick { width: calc(var(--s) * 1.625); height: calc(var(--s) * 1.625); flex-basis: calc(var(--s) * 1.625); }
  .auth-register .auth-features .tick svg { width: calc(var(--s) * .875); height: calc(var(--s) * .875); }

  /* Candidate photo (shape is part of the artwork, so it always sits behind her) */
  .auth-register .auth-hero { width: calc(var(--s) * 33); margin: 0 calc(var(--s) * 2.8) calc(var(--s) * -1.375) 0; }

  /* Dashed guide line that links the floating cards */
  .auth-register .auth-hero::before {
    content: ''; position: absolute; z-index: 3; left: 60%; top: -24%; width: 36%; height: 70%;
    border: 2px dashed #f6cf7d; border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(12deg); pointer-events: none;
  }

  /* Three floating cards, placed relative to the photo */
  .auth-register .auth-float-card { display: flex; bottom: auto; gap: calc(var(--s) * .875); padding: calc(var(--s) * .9375) calc(var(--s) * 2.4375) calc(var(--s) * .9375) calc(var(--s) * .875); max-width: none; border-radius: calc(var(--s) * 1); transform: none; }
  .auth-register .auth-float-card .fc-icon { width: calc(var(--s) * 3.25); height: calc(var(--s) * 3.25); flex-basis: calc(var(--s) * 3.25); border-radius: 50%; }
  .auth-register .auth-float-card .fc-icon svg { width: calc(var(--s) * 1.5); height: calc(var(--s) * 1.5); }
  .auth-register .auth-float-card b { font-size: calc(var(--s) * 1); }
  .auth-register .auth-float-card span:not(.fc-icon) { font-size: calc(var(--s) * .71875); margin-top: calc(var(--s) * .3125); }
  .auth-register .auth-float-card:nth-of-type(1) { top: -33%; right: auto; left: 58%; }
  .auth-register .auth-float-card:nth-of-type(2) { top: -4.5%; right: auto; left: 65.5%; padding: calc(var(--s) * .75) calc(var(--s) * .5625) calc(var(--s) * .75) calc(var(--s) * .75); }
  .auth-register .auth-float-card:nth-of-type(2) b { font-size: calc(var(--s) * .9375); }
  .auth-register .auth-float-card:nth-of-type(3) { top: 30%; right: auto; left: 76.5%; padding-left: calc(var(--s) * 1); padding-right: calc(var(--s) * .75); gap: calc(var(--s) * .625); }
  .auth-register .auth-float-card:nth-of-type(3) b { white-space: normal; max-width: calc(var(--s) * 5.25); font-size: calc(var(--s) * .9375); }
  .auth-register .auth-float-card:nth-of-type(3) .fc-icon { width: calc(var(--s) * 2.25); height: calc(var(--s) * 2.25); flex-basis: calc(var(--s) * 2.25); background: #1fb565; color: #fff; }
  .auth-register .auth-float-card:nth-of-type(3) .fc-icon svg { width: calc(var(--s) * 1.25); height: calc(var(--s) * 1.25); }

  /* Stats */
  .auth-register .auth-stats { display: flex; gap: 0; padding: 0; margin-top: calc(var(--s) * 3.75); border: 0; }
  .auth-register .auth-stats .stat-v2 { gap: calc(var(--s) * 1.1875); padding-right: calc(var(--s) * 1.3125); margin-right: calc(var(--s) * 1.25); border-right: 1px solid #dfe5ed; flex: 0 0 auto; }
  .auth-register .auth-stats .stat-v2:nth-child(2) { padding-right: calc(var(--s) * 2.3125); }
  .auth-register .auth-stats .stat-v2:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
  .auth-register .auth-stats .stat-v2-icon { width: calc(var(--s) * 3.875); height: calc(var(--s) * 3.875); flex-basis: calc(var(--s) * 3.875); }
  .auth-register .auth-stats .stat-v2-icon svg { width: calc(var(--s) * 1.75); height: calc(var(--s) * 1.75); }
  .auth-register .auth-stats .stat-v2 strong { font-size: calc(var(--s) * 1.5); font-weight: 700; }
  .auth-register .auth-stats .stat-v2 span:not(.stat-v2-icon) { font-size: calc(var(--s) * .9375); margin-top: calc(var(--s) * .25); white-space: nowrap; letter-spacing: -.01em; }
  .auth-register .auth-stats .stat-v2 > div { min-width: 0; }

  /* ---- Right: registration card ---- */
  .auth-register .auth-side { padding: calc(var(--s) * 2) calc(var(--s) * 3.3125) calc(var(--s) * 2) calc(var(--s) * .5); justify-content: flex-end; }
  .auth-register .auth-box { max-width: calc(var(--s) * 35.5625); }
  .auth-register .auth-card { padding: calc(var(--s) * 1.0625) calc(var(--s) * 1.75) calc(var(--s) * 1.5); border-radius: calc(var(--s) * 1); }

  .auth-register .auth-tabs { gap: 0; padding: 0; margin-bottom: calc(var(--s) * 1.875); border-radius: calc(var(--s) * .5); background: #f5f5f3; border-color: #ecebe7; }
  .auth-register .auth-tabs a { min-height: calc(var(--s) * 3.3125); border-radius: calc(var(--s) * .5); font-size: calc(var(--s) * 1.0625); font-weight: 600; }

  .auth-register .reg-stepper { margin: 0 calc(var(--s) * .5) calc(var(--s) * 1.8125); }
  .auth-register .reg-stepper-node { flex: 0 0 calc(var(--s) * 8); gap: calc(var(--s) * .75); }
  .auth-register .reg-stepper-circle { width: calc(var(--s) * 2.5); height: calc(var(--s) * 2.5); font-size: calc(var(--s) * 1.0625); font-weight: 700; }
  .auth-register .reg-stepper-text { font-size: calc(var(--s) * .9375); font-weight: 500; color: #55657e; white-space: nowrap; }
  .auth-register .reg-stepper-node.active .reg-stepper-text { color: #10233f; }
  .auth-register .reg-stepper-line { margin-top: calc(var(--s) * 1.25); margin-left: calc(var(--s) * -1.25); margin-right: calc(var(--s) * -1.25); }

  .auth-register .reg-title { font-size: calc(var(--s) * 1.5); line-height: 1.1; letter-spacing: -.035em; }
  .auth-register .reg-sub { margin: calc(var(--s) * .6875) 0 calc(var(--s) * .6875); font-size: calc(var(--s) * 1.0625); line-height: 1.35; }

  .auth-register .mode-choice-v2 { gap: calc(var(--s) * 1.0625); }
  .auth-register .mode-choice-v2-option { grid-template-columns: calc(var(--s) * 1.25) calc(var(--s) * 3.75) minmax(0, 1fr); column-gap: calc(var(--s) * 1.25); min-height: calc(var(--s) * 6.4375); padding: calc(var(--s) * .75) calc(var(--s) * .875) calc(var(--s) * .75) calc(var(--s) * .9375); border-radius: calc(var(--s) * .5); }
  .auth-register .mode-choice-v2-option input[type=radio] { width: calc(var(--s) * 1.25); height: calc(var(--s) * 1.25); align-self: start; margin-top: calc(var(--s) * .5); }
  .auth-register .mcv2-icon { width: calc(var(--s) * 3.75); height: calc(var(--s) * 3.75); }
  .auth-register .mcv2-icon svg { width: calc(var(--s) * 1.625); height: calc(var(--s) * 1.625); }
  .auth-register .mcv2-top b { font-size: calc(var(--s) * 1.1875); letter-spacing: -.025em; }
  .auth-register .mcv2-badge { font-size: calc(var(--s) * .75); padding: calc(var(--s) * .4375) calc(var(--s) * .6875); border-radius: calc(var(--s) * .5); }
  .auth-register .mcv2-desc { max-width: calc(var(--s) * 19.25); margin-top: calc(var(--s) * .25); font-size: calc(var(--s) * .875); line-height: 1.55; letter-spacing: -.015em; }

  .auth-register .auth-tip-box { gap: calc(var(--s) * 1.125); margin-top: calc(var(--s) * 1.1875); padding: calc(var(--s) * .9375) calc(var(--s) * 1.5) calc(var(--s) * .9375) calc(var(--s) * 1.125); border-radius: calc(var(--s) * .5); font-size: calc(var(--s) * .875); line-height: 1.6; letter-spacing: -.015em; }
  .auth-register .auth-tip-box svg { width: calc(var(--s) * 2); height: calc(var(--s) * 2); }

  .auth-register .reg-step-actions { gap: calc(var(--s) * .75); margin-top: calc(var(--s) * 1.0625); }
  .auth-register .reg-step-actions .btn { height: calc(var(--s) * 3.3125); border-radius: calc(var(--s) * .5); font-size: calc(var(--s) * 1.0625); }
  .auth-register .auth-switch { margin-top: calc(var(--s) * 2.375); font-size: calc(var(--s) * .9375); }
  .auth-register .auth-switch .link { font-weight: 700; margin-left: calc(var(--s) * .5); }
  .auth-register .field label { font-size: calc(var(--s) * .875); }
  .auth-register .field input { height: calc(var(--s) * 3.125); font-size: calc(var(--s) * 1); }
}

/* ---- Registration: tablet + mobile order
   logo → badge → heading → text → artwork → benefits → stats → card ---- */
@media (max-width: 1199px) {
  .auth-register { display: block; }
  .auth-register .auth-brand-copy { max-width: none; padding-top: 0; }
  .auth-register .auth-hero::before { display: none; }
  .auth-register .auth-brand { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 32px 32px; }
  .auth-register .auth-brand-copy { display: contents; }
  .auth-register .auth-logo-link { order: 1; }
  .auth-register .auth-badge { order: 2; margin-top: 32px; }
  .auth-register .auth-brand h2 { order: 3; font-size: clamp(30px, 5.4vw, 44px); margin: 16px 0 12px; }
  .auth-register .auth-lede { order: 4; padding-bottom: 0; font-size: 16px; max-width: 60ch; }
  .auth-register .auth-hero { order: 5; align-self: center; width: min(100%, 420px); margin: 72px 0 0; }
  .auth-register .auth-float-card { display: flex; bottom: auto; max-width: 190px; padding: 8px 12px; gap: 8px; }
  .auth-register .auth-float-card .fc-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .auth-register .auth-float-card b { font-size: 12px; }
  .auth-register .auth-float-card span:not(.fc-icon) { font-size: 10.5px; }
  .auth-register .auth-float-card:nth-of-type(1) { top: 0; left: 0; right: auto; transform: translateY(-110%); }
  .auth-register .auth-float-card:nth-of-type(2) { top: 0; right: 0; left: auto; transform: translateY(-110%); }
  .auth-register .auth-float-card:nth-of-type(3) { top: auto; bottom: 4%; right: 0; left: auto; }
  .auth-register .auth-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 16px; border-top: 1px solid #dce4ee; }
  .auth-register .auth-side { display: block; min-height: 0; }
  .auth-register .auth-features { order: 6; display: grid; max-width: none; margin-top: 24px; gap: 12px; }
  .auth-register .auth-stats { order: 7; display: grid; width: 100%; margin-top: 24px; }
  .auth-register .auth-side { padding: 0 32px 40px; }
  .auth-register .auth-box { max-width: 640px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .auth-register .auth-brand { padding: 16px 16px 24px; }
  .auth-register .auth-badge { margin-top: 20px; }
  .auth-register .auth-brand h2 { font-size: 28px; margin: 16px 0 8px; }
  .auth-register .auth-lede { font-size: 14.5px; }
  .auth-register .auth-hero { width: min(100%, 320px); margin-top: 64px; }
  .auth-register .auth-features li { font-size: 14px; }
  .auth-register .auth-stats { grid-template-columns: 1fr; gap: 12px; padding-top: 16px; }
  .auth-register .auth-side { padding: 0 16px 32px; }
  .auth-register .auth-box { max-width: none; }
  .auth-register .mode-choice-v2-option { grid-template-columns: 18px 40px minmax(0, 1fr); column-gap: 10px; padding: 12px; }
  .auth-register .mcv2-icon { width: 40px; height: 40px; }
  .auth-register .mcv2-top { flex-wrap: wrap; gap: 4px 8px; }
  .auth-register .mcv2-top b { font-size: 15px; }
  .auth-register .reg-stepper-line { min-width: 8px; }
}
@media (max-width: 400px) {
  .auth-register .auth-float-card:nth-of-type(2) { display: none; }
}

@media (max-width: 1199px) { .auth-register .br-desktop { display: none; } }

/* ==========================================================================
   Login page (.auth-register.auth-login)

   Login is the registration page's sibling: it carries the .auth-register
   class, so the columns, brand side, photo, floating cards, stats, card
   shell, tabs, inputs and buttons are the very same rules. This block only
   sizes what exists on login alone (heading, forgot link, single button)
   and never selects anything on the registration page.
   ========================================================================== */
@media (min-width: 1200px) {
  .auth-login .auth-card > h1 { font-size: calc(var(--s) * 1.5); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; }
  .auth-login .auth-card > h1 + p { margin: calc(var(--s) * .6875) 0 calc(var(--s) * 1.5); font-size: calc(var(--s) * 1.0625); line-height: 1.35; }
  .auth-login .field { margin-bottom: calc(var(--s) * 1.25); }
  /* inputs: height, radius, border and font come from the registration rules untouched */
  .auth-login .field-icon-wrap > svg { left: calc(var(--s) * 1.125); width: calc(var(--s) * 1.125); height: calc(var(--s) * 1.125); }
  .auth-login .field-icon-wrap input { padding-left: calc(var(--s) * 3); }
  .auth-login .auth-pw input { padding-right: calc(var(--s) * 3.5); }
  .auth-login .auth-pw-btn { width: calc(var(--s) * 2.75); height: calc(var(--s) * 2.75); right: calc(var(--s) * .25); }
  .auth-login .auth-pw-btn svg { width: calc(var(--s) * 1.25); height: calc(var(--s) * 1.25); }
  .auth-login .auth-forgot { margin: calc(var(--s) * -.25) 0 calc(var(--s) * 1.25); font-size: calc(var(--s) * .9375); }
  .auth-login .btn-block { height: calc(var(--s) * 3.3125); border-radius: calc(var(--s) * .5); font-size: calc(var(--s) * 1.0625); }
  .auth-login .auth-alert { margin-bottom: calc(var(--s) * 1.25); border-radius: calc(var(--s) * .5); font-size: calc(var(--s) * .9375); }
}
/* Below the desktop grid, login uses registration's stacked layout, in the order
   logo → badge → heading → text → visual → card (no benefits / stats before the form). */
@media (max-width: 1199px) {
  .auth-login .auth-features, .auth-login .auth-stats { display: none; }
  .auth-login .auth-brand { padding-bottom: 24px; }
}
.auth-login .auth-switch { gap: 12px; }
.auth-login .auth-switch > span { flex: 0 1 auto; }
.auth-login .auth-switch .link { white-space: nowrap; }
@media (max-width: 420px) {
  .auth-login .auth-switch::before, .auth-login .auth-switch::after { display: none; }
  .auth-login .auth-switch { justify-content: center; }
}

/* Brand logo (image) */
.auth-page .auth-logo-link .auth-logo-img { display: block; height: 44px; width: auto; }
.auth-register .auth-logo-link .auth-logo-img { height: calc(var(--s) * 2.9); }
@media (max-width: 1199.98px) { .auth-page .auth-logo-link .auth-logo-img { height: 38px; } }

/* Brand logo — larger */
.auth-page .auth-logo-link .auth-logo-img { height: 56px; }
.auth-register .auth-logo-link .auth-logo-img { height: calc(var(--s) * 3.6); }
@media (max-width: 1199.98px) { .auth-page .auth-logo-link .auth-logo-img { height: 46px; } }

/* Sign-up email code (signup-otp.js) */
.otp-box { margin-top: 8px; display: grid; gap: 8px; }
.otp-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.otp-row[hidden] { display: none; }
.otp-btn { height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid #c9ced8; background: #fff; color: #0f1b2d; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.otp-btn:hover:not(:disabled) { background: #f4f5f7; }
.otp-btn:disabled { opacity: .6; cursor: default; }
.otp-btn-primary { background: #0f1b2d; border-color: #0f1b2d; color: #fff; }
.otp-btn-primary:hover:not(:disabled) { background: #1d2c45; }
.otp-btn[hidden], .otp-note[hidden] { display: none; }
.otp-note { font-size: 12px; color: #5e6b80; }
.otp-code-row input { width: 150px; height: 34px; padding: 0 12px; border: 1px solid #c9ced8; border-radius: 8px; font: inherit; font-size: 15px; letter-spacing: .3em; text-align: center; }
.otp-code-row input:focus { outline: 2px solid #c08a2e; outline-offset: 1px; }
.otp-status { font-size: 12.5px; min-height: 0; }
.otp-status:empty { display: none; }
.otp-status.is-info { color: #34425a; }
.otp-status.is-error { color: #b42318; font-weight: 500; }
.otp-status.is-ok, .otp-box.is-verified .otp-status { color: #0a7c46; font-weight: 600; }
.otp-box { margin-bottom: 6px; }
.otp-box .otp-code-row { flex-wrap: nowrap; }
.otp-box input[data-otp-code] { width: 160px !important; max-width: 60%; flex: 0 1 160px; height: 38px !important; min-height: 0; padding: 0 10px !important; letter-spacing: .3em; text-align: center; font-size: 15px; }
.otp-box .otp-btn { height: 38px; }
.inline-error:empty { display: none; }
[aria-invalid="true"] { border-color: #b42318 !important; }
.inline-error { font-size: 12px; color: #b42318; margin-top: 4px; }

/* Phones and tablets (15 Oct): log in / sign up first. The brand panel shrinks to the logo and the
   "For candidates" label, so the form starts right under it instead of below the big picture. */
@media (max-width: 1023px) {
  .auth-brand { min-height: 0 !important; height: auto !important; padding: 14px 16px 4px !important; display: flex !important; flex-direction: row !important;
    flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; background: transparent !important; }
  .auth-brand > *:not(.auth-logo-link):not(.auth-brand-copy) { display: none !important; }
  .auth-brand-copy { margin: 0 !important; padding: 0 !important; max-width: none !important; }
  .auth-brand-copy > *:not(.auth-badge) { display: none !important; }
  .auth-brand .auth-badge { margin: 0 !important; }
  .auth-brand .auth-logo-img { height: 30px !important; width: auto !important; }
  .auth-side { padding-top: 6px !important; }
}

/* Continue with Google / Facebook (21 Oct) */
.social-auth { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; margin: 4px 0 0; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 12px; border: 1px solid #d9dee8; border-radius: 10px; background: #fff; color: #1f2a44; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background .15s, border-color .15s; }
.social-btn:hover { background: #f6f8fb; border-color: #c4ccda; }
.social-btn:focus-visible { outline: 3px solid rgba(8, 101, 218, .35); outline-offset: 2px; }
.social-btn svg { flex: 0 0 auto; }
.social-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 12px; color: #5b6577; font-size: 12.5px; }
.social-or::before, .social-or::after { content: ""; flex: 1; height: 1px; background: #e3e7ee; }
.social-pending { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #eef6ff; border: 1px solid #cfe2fb; font-size: 13px; color: #1f2a44; }
.social-pending a { color: #0865da; font-weight: 600; text-decoration: none; }
.social-pending a:hover { text-decoration: underline; }
input[readonly] { background: #f4f6f9; color: #4a5568; cursor: not-allowed; }

/* About you — sign-up's last step (about-you.php) */
.auth-page .ay-form { display: grid; gap: 14px; }
.auth-page .ay-form .field { margin: 0; min-width: 0; }
.auth-page .ay-group { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.auth-page .ay-group legend { font-size: 13px; font-weight: 700; color: #223752; padding: 0; margin-bottom: 8px; }
.auth-page .ay-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.auth-page .ay-row[hidden] { display: none; }
.auth-page #ay_exp { grid-template-columns: minmax(0, 1fr) 132px; }
.auth-page .ay-opt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.auth-page .ay-opt.no-rel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.auth-page .ay-opt > [hidden], .auth-page .ay-form [data-ay-jobs][hidden] { display: none; }
.auth-page .ay-roles { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auth-page .ay-roles > :first-child { grid-column: 1 / -1; }
.auth-page .ay-form select, .auth-page .ay-form input[type=date], .auth-page .ay-form input[type=number] { width: 100%; }
.auth-page .ay-form .field.has-error select { border-color: #d93a3a; }
.auth-page .ay-form .field input:not([type=checkbox]):not([type=radio]), .auth-page .ay-form select {
  height: 42px; padding: 0 12px; border: 1px solid #d8e0e9; border-radius: 10px; background-color: #fff; color: #1a2d47; font: 400 15px/1.4 var(--font-sans, inherit);
}
.auth-page .ay-form select:focus { border-color: #6aa2e8; box-shadow: 0 0 0 3px rgba(76, 143, 221, .14); outline: none; }
.auth-page .ay-form .seg-choice { border-color: #d8e0e9; border-radius: 10px; }
.auth-page .ay-form .seg-choice label span { padding: 10px 20px; font-size: 14px; line-height: 20px; }
.auth-page .ay-form .field-error { margin-top: 5px; font-size: 12.5px; }
.auth-page .ay-checks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.auth-page .ay-checks .field-label { font-weight: 600; font-size: 13px; }
.auth-page .ay-checks .checkbox-row, .auth-page .ay-group .checkbox-row { margin: 0; }
.auth-page .ay-privacy { margin: 0; font-size: 12.5px; color: #5f6b7a; text-align: center; }
@media (max-width: 640px) {
  .auth-page #ay_exp { grid-template-columns: minmax(0, 1fr) 110px; }
  .auth-page .ay-row { gap: 10px; }
  .auth-page .ay-opt { gap: 10px; }
  .auth-page .ay-opt.no-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-page .ay-opt.no-rel > :last-child { grid-column: 1 / -1; }
  .auth-page .ay-form .field input:not([type=checkbox]):not([type=radio]), .auth-page .ay-form select { font-size: 16px; }
  .auth-page .ay-roles { grid-template-columns: minmax(0, 1fr); }
}

/* Desktop: the left panel stays one screen tall and pinned while a long form (sign-up, About you) scrolls,
   so the photo and stats never drift down the page. */
@media (min-width: 1024px) {
  .auth-page { overflow-x: clip; }   /* "hidden" would make this the scroll box and stop the sticky panel */
  .auth-brand { position: sticky; top: 0; align-self: start; height: 100vh; height: 100dvh; }
}

/* Sign-up stats row: on narrower desktops let the three items share the width (text wraps) instead of running off the panel. */
@media (min-width: 1024px) {
  .auth-register .auth-stats .stat-v2 { flex: 0 1 auto; min-width: 0; }
  .auth-register .auth-stats .stat-v2 span:not(.stat-v2-icon) { white-space: normal; }
}

/* "Wrong site?" switch between the candidate and employer sites (top of every login / sign-up page). */
.site-switch { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 520px; margin: 0 auto 14px; padding: 10px 14px; border: 1.5px solid #f0c060; border-radius: 10px; background: #fff8e6; color: #0c1c33; text-decoration: none; font-size: 14px; line-height: 1.35; box-sizing: border-box; transition: background .15s, border-color .15s; }
.site-switch:hover, .site-switch:focus-visible { background: #ffefc2; border-color: #e59a0b; outline: none; }
.site-switch:focus-visible { box-shadow: 0 0 0 3px rgba(229, 154, 11, .35); }
.site-switch-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #e59a0b; color: #fff; }
.site-switch-icon svg { width: 16px; height: 16px; }
.site-switch-text { flex: 1; min-width: 0; }
.site-switch-text strong { font-weight: 700; margin-right: 4px; }
.site-switch-arrow { flex: none; font-weight: 700; font-size: 16px; }
