/* Authentication shares QuickBlueTick's blue palette and squircle controls. */
.qbt-auth { margin: 0; min-height: 100svh; display: flex; flex-direction: column; color: #14182b; background: radial-gradient(ellipse at 50% 34%, #eaf2ff, transparent 65%), #f7faff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.qbt-auth *, .qbt-auth *::before, .qbt-auth *::after { box-sizing: border-box; }
.qbt-auth [hidden] { display: none !important; }
.qbt-auth ::selection { background: #d1e5ff; color: #111d36; }
.qbt-auth a { color: #0055d9; text-decoration: none; text-underline-offset: 4px; }
.qbt-auth a:hover { text-decoration: underline; }
.qbt-auth :focus-visible { outline: 3px solid #06f; outline-offset: 4px; }
.qbt-auth-main:focus { outline: none; }
.qbt-auth button { cursor: pointer; }
.qbt-auth button:disabled { cursor: wait; opacity: .65; }
.qbt-auth button, .qbt-auth input { font: inherit; }
.qbt-auth-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 40px; }
.qbt-auth-brand { display: inline-flex; flex-shrink: 0; }
.qbt-auth-brand img { display: block; width: 220px; max-width: 100%; height: auto; }
.qbt-auth .qbt-auth-back { display: inline-flex; align-items: center; gap: 8px; padding-block: 10px; font-size: 14px; color: #435575; }
.qbt-auth-main { flex: 1; display: grid; align-items: center; justify-items: center; padding: 48px 24px 72px; }
.qbt-auth-card { width: 100%; max-width: 470px; padding: 44px; background: #fff; border-radius: 44px; corner-shape: squircle; box-shadow: 0 16px 48px -20px #1e4d8e30; }
.qbt-auth h1 { margin: 0; font-size: clamp(28px, 3.5vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
.qbt-auth-intro { margin: 12px 0 0; font-size: 15px; color: #52617c; line-height: 1.6; }
.qbt-auth-form { display: grid; gap: 22px; margin-top: 30px; }
.qbt-auth-field { min-width: 0; }
.qbt-auth-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.qbt-auth-field input { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cdd8e8; border-radius: 18px; corner-shape: squircle; background: #fcfdff; color: #14182b; font-size: 16px; caret-color: #06f; transition: border-color .15s, box-shadow .15s; }
.qbt-auth-field input::placeholder { color: #6a7890; opacity: 1; }
.qbt-auth-field input:focus { border-color: #06f; box-shadow: 0 0 0 3px #0066ff14; }
.qbt-auth-field input[aria-invalid=true] { border-color: #b42336; }
.qbt-auth-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.qbt-auth-label-row a { font-size: 13px; }
.qbt-auth-password { position: relative; }
.qbt-auth-password:has(.qbt-auth-reveal:not([hidden])) input { padding-right: 72px; }
.qbt-auth-reveal { position: absolute; inset-block: 0; right: 4px; min-width: 60px; padding: 6px 10px; border: 0; border-radius: 12px; background: transparent; color: #0055d9; font-size: 13px !important; font-weight: 600 !important; }
.qbt-auth-reveal:hover { background: #eaf2ff; }
.qbt-auth-remember { display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 28px; font-size: 14px; color: #52617c; cursor: pointer; }
.qbt-auth-remember input { width: 17px; height: 17px; margin: 0; accent-color: #06f; }
.qbt-auth .qbt-auth-submit { width: 100%; min-height: 50px; padding: 12px 20px; border: 0; border-radius: 22px; corner-shape: squircle; color: #fff; background: #06f; font-size: 16px; font-weight: 650; transition: background .15s; }
.qbt-auth .qbt-auth-submit:hover { background: #0055dc; }
.qbt-auth-signup { text-align: center; font-size: 14px; color: #52617c; margin: 28px 0 0; }
.qbt-auth-signup a { font-weight: 600; }
.qbt-auth-message { margin-bottom: 24px; padding: 14px 16px; border: 1px solid #bbd5fa; border-radius: 16px; background: #eff6ff; color: #244b7b; font-size: 14px; overflow-wrap: anywhere; }
.qbt-auth-message--error { border-color: #f0c9cd; background: #fff5f5; color: #a1283a; }
.qbt-auth-form .qbt-auth-message { margin: 0; }
.qbt-auth-message p { margin: 0; font-weight: 600; }
.qbt-auth-message ul { margin: 8px 0 0; padding-left: 20px; }
.qbt-auth-hint { margin: -2px 0 8px; font-size: 13px; color: #52617c; }
.qbt-auth-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 24px 40px; font-size: 12px; color: #65738a; }
.qbt-auth-footer p { margin: 0; }
.qbt-auth-footer nav { display: flex; gap: 24px; }
.qbt-auth-footer a { color: #52617c; }
.qbt-auth-skip { position: absolute; z-index: 10; top: 8px; left: 16px; transform: translateY(-160%); background: #fff; padding: 10px 18px; border: 2px solid #06f; border-radius: 8px; }
.qbt-auth-skip:focus { transform: none; }
@media (max-width: 600px) {
  .qbt-auth-header { padding: 20px; gap: 12px; }
  .qbt-auth-brand img { width: 172px; }
  .qbt-auth .qbt-auth-back { font-size: 12px; gap: 5px; }
  .qbt-auth-back svg { width: 14px; }
  .qbt-auth-main { padding: 28px 16px 44px; }
  .qbt-auth-card { padding: 30px 24px; border-radius: 32px; }
  .qbt-auth-footer { padding: 20px; justify-content: center; text-align: center; }
}
@media (max-width: 359px) { .qbt-auth-brand img { width: 150px; } .qbt-auth-header { padding-inline: 16px; } }
@media (prefers-reduced-motion: reduce) { .qbt-auth input, .qbt-auth button, .qbt-auth .qbt-auth-submit { transition: none; } }
