/*
  JobsMeetTalent — Company authentication shell (login, sign up, forgot / reset
  password, email verification). One layout, driven by includes/company_auth_ui.php.

  Desktop (>=1200px): two columns. All sizes are in rem and the root font size
  follows the window (16px at 1536x1024), so the page keeps the approved
  proportions at every desktop size and browser zoom without transform/zoom.
  Below 1200px: stacked — logo, badge, compact hero, then the form card.
*/
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

html.ca-root { font-size: 16px; }
@media (min-width: 1200px) {
  html.ca-root { font-size: clamp(12.5px, min(1.0417vw, 1.5625vh), 20px); }
}
html.ca-root body {
  margin: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem; line-height: 1.5; letter-spacing: -0.012em; color: #0B1B33; background: #FCFBF8; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.ca, .ca *, .ca *::before, .ca *::after { box-sizing: border-box; }
.ca {
  --navy: #081B36; --gold: #EAAA18; --blue: #1670E8; --green: #16B86A; --purple: #8D42E8; --red: #D93A3F;
  --text: #0B1B33; --text-2: #5B677A; --text-3: #616b7c; --line: #DCE1E9;
  min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 59fr 41fr;
  background:
    radial-gradient(60rem 40rem at 100% 0%, #EEF5FF 0%, transparent 60%),
    radial-gradient(40rem 30rem at 0% 100%, #FFF8E8 0%, transparent 60%),
    #FCFBF8;
}
.ca-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.ca a:focus-visible, .ca button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 0.5rem; }

/* ---------- Brand panel ---------- */
.ca-brand { position: relative; min-width: 0; padding: 1.75rem 0 2rem 5.5rem; min-height: 58rem; }
.ca-logo { display: inline-flex; align-items: center; gap: 0.9rem; color: var(--text); text-decoration: none; }
.ca-logo-mark { width: 2.65rem; height: 2.65rem; border-radius: 0.5rem; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.ca-logo strong { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; }
.ca-copy { position: relative; z-index: 2; margin-top: 2.65rem; max-width: 33rem; }
.ca-badge { display: inline-flex; align-items: center; gap: 0.6rem; height: 2.3rem; padding: 0 1.15rem; border-radius: 1.2rem; background: #FFF1D2; color: #7A5200; font-size: 1.02rem; font-weight: 600; }
.ca-badge svg { width: 1.1rem; height: 1.1rem; color: #B47B08; }
.ca-copy h2 { margin: 1.8rem 0 0; font-size: 3.75rem; line-height: 1.1; font-weight: 800; letter-spacing: -0.04em; color: var(--navy); white-space: nowrap; }
.ca-accent { background: linear-gradient(90deg, #C98A06, #F2B321); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ca-lede { margin: 1.25rem 0 0; font-size: 1.22rem; line-height: 1.82rem; color: var(--text-2); max-width: 31.5rem; }
.ca-benefits { list-style: none; margin: 1.85rem 0 0; padding: 0; display: grid; gap: 0.66rem; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--text); white-space: nowrap; }
.ca-benefits li { display: flex; align-items: center; gap: 0.9rem; }
.ca-tick { width: 1.6rem; height: 1.6rem; flex-shrink: 0; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; }
.ca-tick svg { width: 0.9rem; height: 0.9rem; stroke-width: 3.2; }

.ca-visual { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ca-blob { position: absolute; left: 33rem; top: 17.5rem; width: 22rem; height: 31rem; border-radius: 11rem 11rem 1rem 1rem; background: linear-gradient(180deg, #E3EEFC 0%, #EEF4FD 70%, rgba(238, 244, 253, 0) 100%); }
.ca-visual-img { position: absolute; left: 29.6rem; top: 28rem; height: 20.6rem; width: auto; display: block; }
.ca-float { position: absolute; display: flex; gap: 0.8rem; padding: 1rem; background: #fff; border-radius: 0.9rem; box-shadow: 0 0.75rem 2rem rgba(8, 27, 54, 0.10), 0 0.1rem 0.3rem rgba(8, 27, 54, 0.05); }
.ca-float b { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text); line-height: 1.3; }
.ca-float span { display: block; font-size: 0.86rem; color: var(--text-2); line-height: 1.35; margin-top: 0.2rem; }
.ca-float-icon { width: 2.6rem; height: 2.6rem; flex-shrink: 0; border-radius: 0.8rem; display: grid !important; place-items: center; margin: 0 !important; }
.ca-float-icon svg { width: 1.35rem; height: 1.35rem; }
.ca-float-1 { left: 38.5rem; top: 20.4rem; align-items: center; }
.ca-float-2 { left: 45.6rem; top: 28.2rem; width: 9.7rem; flex-direction: column; gap: 0.6rem; }
.ca-float-3 { left: 15.4rem; top: 38.2rem; align-items: center; }
.is-blue { background: #E6F0FE; color: var(--blue); }
.is-green { background: #E2F7EC; color: #0E9F5B; }
.is-purple { background: #F0E6FD; color: var(--purple); }
.is-gold { background: #FFF1D2; color: #E0A008; }

.ca-stats { position: relative; z-index: 2; display: flex; margin: 15.6rem 0 0 -1.15rem; }
.ca-stat { display: flex; align-items: center; gap: 1.1rem; padding: 0 1.45rem; border-left: 1px solid #DDE3EB; white-space: nowrap; }
.ca-stat:first-child { padding-left: 0; border-left: 0; }
.ca-stat-icon { width: 3.9rem; height: 3.9rem; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.ca-stat-icon svg { width: 1.9rem; height: 1.9rem; }
.ca-stat-icon.is-gold svg { fill: currentColor; }
.ca-stat strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; color: var(--navy); }
.ca-stat span span, .ca-stat div span { display: block; font-size: 0.98rem; color: var(--text-2); }

/* ---------- Form side + card ---------- */
.ca-side { min-width: 0; display: flex; align-items: center; justify-content: flex-start; padding: 2rem 3.1rem 2rem 0; }
.ca-card { width: 100%; max-width: 36.15rem; padding: 1.7rem 2.3rem 1.5rem; background: #fff; border-radius: 1.25rem; box-shadow: 0 1.5rem 4rem rgba(8, 27, 54, 0.07), 0 0.1rem 0.4rem rgba(8, 27, 54, 0.04); }

.ca-tabs { display: grid; grid-template-columns: 1fr 1fr; height: 4.05rem; margin: 0 -0.7rem; border-radius: 0.75rem; background: #F4F5F7; border: 1px solid #E6E9EE; }
.ca-tabs a { display: grid; place-items: center; margin: -1px; border-radius: 0.75rem; border: 2px solid transparent; color: #5B677A; font-size: 1.12rem; font-weight: 600; text-decoration: none; transition: color 0.15s, background 0.15s; }
.ca-tabs a:hover { color: var(--text); }
.ca-tabs a.active { background: #FFF8E6; border-color: var(--gold); color: #7A5200; font-weight: 700; }

.ca-steps { display: flex; align-items: flex-start; justify-content: space-between; margin: 2.15rem 0 0; padding: 0 0.6rem; list-style: none; }
.ca-step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; font-size: 1rem; color: var(--text); text-align: center; white-space: nowrap; }
.ca-step:first-child { align-items: flex-start; flex: 0.8; }
.ca-step:last-child { align-items: flex-end; flex: 0.8; }
.ca-step:first-child .ca-step-dot { margin-left: 2.4rem; }
.ca-step:last-child .ca-step-dot { margin-right: 1.3rem; }
.ca-step-dot { position: relative; z-index: 1; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #EEF0F3; color: var(--text); display: grid; place-items: center; font-size: 1.1rem; font-weight: 700; transition: background 0.2s, color 0.2s; }
.ca-step.active .ca-step-dot { background: var(--gold); color: #fff; box-shadow: 0 0.3rem 0.8rem rgba(234, 170, 24, 0.35); }
.ca-step.done .ca-step-dot { background: #FFF1D2; color: #7A5200; }
.ca-step.active { font-weight: 600; }
.ca-step-line { flex: 0.75; height: 1px; background: #D9DEE6; margin-top: 1.375rem; align-self: flex-start; }
.ca-step-line.done { background: var(--gold); }

.ca-title { margin: 2.75rem 0 0; font-size: 1.75rem; line-height: 1.25; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.ca-tabs + .ca-title { margin-top: 2.25rem; }
.ca-sub { margin: 0.55rem 0 0; font-size: 1.16rem; letter-spacing: -0.015em; line-height: 1.75rem; color: var(--text-2); }
.ca-sub strong { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.ca-form { margin-top: 1.6rem; }
.ca-form-tight { margin-top: 0.75rem; }

.ca-field { margin-bottom: 1.3rem; }
.ca-field > label:not(.ca-check), .ca-label { display: block; margin-bottom: 0.6rem; font-size: 1.03rem; font-weight: 500; color: var(--text); }
.ca-req { color: var(--red); }
.ca-input { position: relative; }
.ca-input > svg { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); width: 1.3rem; height: 1.3rem; color: #9AA3B2; pointer-events: none; }
.ca-field input[type=text], .ca-field input[type=email], .ca-field input[type=password], .ca-field input[type=tel], .ca-field select {
  width: 100%; height: 3.5rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: 0.65rem; background: #fff;
  font: inherit; font-size: 1.05rem; color: var(--text); outline: none; transition: border-color 0.15s, box-shadow 0.15s; box-shadow: none;
}
.ca-input > svg ~ input { padding-left: 3.3rem !important; }
.ca-input.has-toggle input { padding-right: 3.4rem !important; }
.ca-field input::placeholder { color: #8E98A8; }
.ca-field input:focus, .ca-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 112, 232, 0.15); }
.ca-field.has-error input, .ca-field.has-error select { border-color: var(--red); }
.ca-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.ca-phone { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem; }
.ca-phone-prefix { display: flex; align-items: center; gap: 0.8rem; height: 3.5rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: 0.65rem; font-size: 1.05rem; font-weight: 500; color: var(--text); background: #fff; }
.ca-phone-prefix svg { width: 1rem; height: 1rem; }
.ca-pw-btn { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); width: 2.5rem; height: 2.5rem; border: 0; border-radius: 0.5rem; background: transparent; color: #616b7c; cursor: pointer; display: grid; place-items: center; padding: 0; }
.ca-pw-btn:hover, .ca-pw-btn.is-on { color: var(--text); background: #F1F4F8; }
.ca-pw-btn svg { width: 1.25rem; height: 1.25rem; }
.ca-hint { margin-top: 0.4rem; font-size: 0.88rem; color: var(--text-3); }
.ca-error { margin-top: 0.4rem; font-size: 0.9rem; font-weight: 500; color: var(--red); }
.ca-row-end { display: flex; justify-content: flex-end; margin: -0.5rem 0 1.2rem; }
.ca-link { color: #0F5FD0; font-weight: 600; text-decoration: none; }
.ca-link:hover { text-decoration: underline; }
.ca-check { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.98rem; color: var(--text-2); cursor: pointer; }
.ca-check input { width: 1.15rem; height: 1.15rem; margin: 0.15rem 0 0; flex-shrink: 0; accent-color: var(--navy); }

.ca-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem; width: 100%; height: 3.9rem; padding: 0 1.5rem; border: 1px solid transparent; border-radius: 0.65rem; font: inherit; font-size: 1.19rem; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; text-decoration: none; transition: background 0.15s, box-shadow 0.15s; }
.ca-btn svg { width: 1.35rem; height: 1.35rem; }
.ca-btn-primary { background: var(--navy); color: #fff; }
.ca-btn-primary:hover { background: #12305C; box-shadow: 0 0.5rem 1.2rem rgba(8, 27, 54, 0.22); }
.ca-btn-secondary { background: #fff; color: var(--text); border-color: var(--line); }
.ca-btn-secondary:hover { background: #F3F8FF; border-color: #BFD4F5; }
.ca-btn-text { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: #0F5FD0; cursor: pointer; }
.ca-btn-text:hover { text-decoration: underline; }
.ca-actions { display: flex; gap: 0.75rem; margin-top: 1.6rem; }
.ca-actions .ca-btn-secondary { width: auto; flex: 0 0 auto; padding: 0 1.6rem; }

.ca-switch { margin: 1.5rem 0 0; padding-top: 1.4rem; border-top: 1px solid #E9EDF3; text-align: center; font-size: 1.03rem; color: var(--text-2); }
.ca-switch .ca-link { display: inline-block; margin-top: 0.2rem; }
.ca-note { margin: 1rem 0 0; font-size: 0.92rem; color: var(--text-3); text-align: center; }
.ca-legal { margin-top: 2.2rem; text-align: center; font-size: 0.9rem; letter-spacing: -0.02em; color: var(--text-3); line-height: 1.9; margin-left: -1rem; margin-right: -1rem; }
.ca-legal a { color: #24406B; text-decoration: underline; text-underline-offset: 2px; }

.ca-alert { display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 1.25rem; padding: 0.85rem 1rem; border-radius: 0.65rem; font-size: 0.98rem; line-height: 1.45; border: 1px solid transparent; }
.ca-alert svg { flex-shrink: 0; width: 1.2rem; height: 1.2rem; margin-top: 0.1rem; }
.ca-alert.is-success { background: #E9F9F0; border-color: #BFEBD3; color: #0A6B3D; }
.ca-alert.is-danger { background: #FDECEC; border-color: #F6C9CB; color: #A1262A; }
.ca-alert.is-warning { background: #FFF6DF; border-color: #F5E0A6; color: #7A5200; }

.ca-otp { text-align: center; letter-spacing: 0.6em; font-size: 1.5rem !important; font-weight: 700; padding-left: 1.6rem !important; font-variant-numeric: tabular-nums; }

/* Sign-up wizard: without JS every step shows and the stepper/next buttons stay hidden. */
.ca-card .js-only { display: none; }
.ca-card.has-js .js-only { display: flex; }
.ca-card.has-js .ca-pane { display: none; }
.ca-card.has-js .ca-pane.active { display: block; }
.ca-pane .ca-title { margin-top: 2.75rem; }
.ca-card:not(.has-js) .ca-pane + .ca-pane .ca-title { margin-top: 1.5rem; }

/* City picker (assets/js/location-picker.js) inside the card */
.ca .location-picker-menu { border-radius: 0.65rem; z-index: 20; }
.ca .location-picker-manual-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.ca .location-picker-manual .field label { display: block; font-size: 0.9rem; margin-bottom: 0.3rem; }

/* ---------- Short desktop windows: let the page scroll instead of clipping ---------- */
@media (min-width: 1200px) and (max-height: 700px) {
  .ca-side { align-items: flex-start; }
}

/* ---------- Tablet and below: stacked ---------- */
@media (max-width: 1199.98px) {
  .ca { display: block; min-height: 0; padding: 0 0 2.5rem; }
  .ca-brand { min-height: 0; padding: 1.5rem 2rem 0; max-width: 44rem; margin: 0 auto; }
  .ca-logo-mark { width: 2.4rem; height: 2.4rem; font-size: 0.95rem; }
  .ca-logo strong { font-size: 1.3rem; }
  .ca-copy { margin-top: 1.75rem; max-width: none; }
  .ca-badge { height: 2rem; font-size: 0.9rem; padding: 0 0.9rem; }
  .ca-copy h2 { margin-top: 1.25rem; font-size: 2.75rem; white-space: normal; }
  .ca-lede { font-size: 1.05rem; line-height: 1.6; max-width: 36rem; margin-top: 0.9rem; }
  .ca-benefits { margin-top: 1.25rem; font-size: 0.98rem; white-space: normal; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; }
  .ca-benefits li { align-items: flex-start; gap: 0.6rem; }
  .ca-tick { width: 1.35rem; height: 1.35rem; margin-top: 0.05rem; }
  .ca-visual, .ca-stats { display: none; }
  .ca-side { padding: 1.75rem 2rem 0; justify-content: center; }
  .ca-card { max-width: 40rem; padding: 1.5rem 1.75rem; }
  .ca-tabs { margin: 0; height: 3.5rem; }
  .ca-tabs a { font-size: 1.02rem; }
  .ca-title { font-size: 1.5rem; margin-top: 2rem; }
  .ca-pane .ca-title { margin-top: 2rem; }
  .ca-sub { font-size: 1rem; line-height: 1.55; }
  .ca-field input[type=text], .ca-field input[type=email], .ca-field input[type=password], .ca-field input[type=tel], .ca-field select, .ca-phone-prefix { height: 3.1rem; font-size: 1rem; }
  .ca-field > label:not(.ca-check), .ca-label { font-size: 0.95rem; margin-bottom: 0.45rem; }
  .ca-btn { height: 3.25rem; font-size: 1.05rem; }
  .ca-steps { margin-top: 1.5rem; padding: 0; }
  .ca-step { font-size: 0.88rem; gap: 0.5rem; }
  .ca-step-dot { width: 2.25rem; height: 2.25rem; font-size: 0.95rem; }
  .ca-step-line { margin-top: 1.125rem; }
  .ca-step:first-child .ca-step-dot { margin-left: 1.9rem; }
  .ca-step:last-child .ca-step-dot { margin-right: 1.1rem; }
  .ca-legal { margin-top: 1.5rem; font-size: 0.85rem; }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .ca-brand { padding: 1.1rem 1rem 0; }
  .ca-copy { margin-top: 1.1rem; }
  .ca-copy h2 { font-size: 2rem; margin-top: 0.9rem; }
  .ca-lede { font-size: 0.95rem; }
  .ca-benefits { display: none; }
  .ca-side { padding: 1.25rem 0.75rem 0; }
  .ca-card { padding: 1.1rem 1rem 1.25rem; border-radius: 1rem; }
  .ca-title { font-size: 1.35rem; margin-top: 1.5rem; }
  .ca-pane .ca-title { margin-top: 1.5rem; }
  .ca-field-row { grid-template-columns: 1fr; }
  .ca-step { font-size: 0.78rem; white-space: normal; }
  .ca-step:first-child, .ca-step:last-child { align-items: center; flex: 1; }
  .ca-step:first-child .ca-step-dot, .ca-step:last-child .ca-step-dot { margin: 0; }
  .ca-step-line { flex: 0.4; }
  .ca-actions { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .ca-copy h2 { font-size: 1.75rem; }
  .ca-tabs { height: 3.1rem; }
}
@media (prefers-reduced-motion: reduce) { .ca * { transition: none !important; } }

/* File upload inputs (sign-up documents) */
.ca-file { display: block; width: 100%; padding: 0.55rem; border: 1px dashed #B9C3D2; border-radius: 0.65rem; background: #F8FAFD; font: inherit; font-size: 0.95rem; color: var(--text-2); cursor: pointer; }
.ca-file::file-selector-button { margin-right: 0.9rem; height: 2.3rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: 0.5rem; background: #fff; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.ca-file:hover { border-color: var(--blue); }
.ca-file:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ca-field.has-error .ca-file { border-color: var(--red); }
.ca-field[hidden] { display: none; }

/* Brand logo (image) */
.ca-logo img { display: block; height: 2.9rem; width: auto; }
@media (max-width: 1199.98px) { .ca-logo img { height: 2.4rem; } }

/* Brand logo — larger */
.ca-logo img { height: 3.6rem; }
@media (max-width: 1199.98px) { .ca-logo img { height: 2.9rem; } }

/* 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 employers" label, so the form starts right under it instead of below the headline and picture. */
@media (max-width: 1023px) {
  .ca-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; }
  .ca-brand > *:not(.ca-logo):not(.ca-copy) { display: none !important; }
  .ca-copy { margin: 0 !important; padding: 0 !important; max-width: none !important; }
  .ca-copy > *:not(.ca-badge) { display: none !important; }
  .ca-brand .ca-badge { margin: 0 !important; }
  .ca-brand .ca-logo img { height: 30px !important; width: auto !important; }
  .ca-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; }
/* Multi-line answers (appeal form). */
.ca-field textarea { width: 100%; min-height: 7rem; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 0.65rem; background: #fff; font: inherit; font-size: 1.05rem; color: var(--text); outline: none; resize: vertical; }
.ca-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 112, 232, 0.15); }
.ca-field.has-error textarea { border-color: var(--red); }

/* "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; }
.ca-card .site-switch { max-width: none; margin: 0 0 1.1rem; }
