/* Inline <style> blocks from the <head> of signup.html and login-alt.html.
   Scoped to each page with :where(), which adds no specificity, and loaded
   before Tailwind exactly as before. */

/* ── signup ─────────────────────────────────────────── */
:where(.signup-page) input:-webkit-autofill,
:where(.signup-page) input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #0d2a58 inset;
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
}

:where(.signup-page) .signup-form input::placeholder { color: #fff !important; opacity: 1; }
:where(.signup-page) .signup-form select,
:where(.signup-page) .signup-form select:required:invalid,
:where(.signup-page) .signup-form select:has(option[value=""]:checked),
:where(.signup-page) .signup-form select option { color: #fff !important; }
:where(.signup-page) .signup-form select option { background: #0d2a58; }

/* Step transition */
:where(.signup-page) .step { transition: opacity 200ms ease, transform 200ms ease; }
:where(.signup-page) .step.hidden-step {
  opacity: 0; transform: translateX(18px);
  pointer-events: none; position: absolute; width: 100%;
}
:where(.signup-page) .step.active-step { opacity: 1; transform: translateX(0); }

/* Checkbox teal */
:where(.signup-page) input[type="checkbox"] { accent-color: #00FFC7; width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; }

/* ── login-alt ──────────────────────────────────────── */
:where(.login-alt-page) input:-webkit-autofill,
:where(.login-alt-page) input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #0d2a58 inset;
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
}
:where(.login-alt-page) input::placeholder { color: #fff; }

/* ── both ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0A1F44; }
::-webkit-scrollbar-thumb { background: #1f63d6; border-radius: 2px; }
