/* Sellnaut sign-in / sign-up / password reset */
:root {
  --navy-950:#06102B; --navy-900:#0A1A45; --navy-800:#12266B; --navy-700:#1C3690;
  --accent:#3D5AFE; --accent-ink:#2A43D6; --accent-soft:#EEF1FF;
  --mint:#2EE6A6; --mint-ink:#053B29;
  --ink:#0E1B2C; --ink-2:#44506A; --ink-3:#6B7690; --line:#E3E7EE; --bg:#F6F7FB;
  --good:#12805C; --bad:#C7362F;
  --display: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; font: 400 16px/1.5 var(--body); color: var(--ink); overflow-x: hidden; position: relative;
  background: radial-gradient(900px 600px at 85% 75%, rgba(46,230,166,.10), transparent 60%), radial-gradient(800px 600px at 20% 10%, rgba(61,90,254,.25), transparent 60%), linear-gradient(150deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%); background-color: var(--navy-900); }
svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* Background blocks */
.bg { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.b { position: absolute; background: rgba(255,255,255,.04); }
.b1 { left: 0; top: 0; width: 34vw; height: 46vh; background: rgba(61,90,254,.10); }
.b2 { left: 12vw; bottom: 0; width: 18vw; height: 16vh; background: rgba(120,145,255,.16); }
.b3 { right: 0; bottom: 0; width: 24vw; height: 40vh; background: rgba(120,145,255,.10); }
.b4 { right: 10vw; top: 0; width: 16vw; height: 30vh; background: rgba(46,230,166,.05); }
.tick { position: absolute; width: 5px; border-radius: 1px; }
.t1 { left: 24vw; top: 0; height: 56px; background: var(--mint); opacity: .8; }
.t2 { right: 13vw; top: 44vh; height: 60px; background: var(--accent); }

.top, .stage, .bottom { position: relative; z-index: 1; }
.top { display: flex; justify-content: center; padding: 44px 16px 48px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font: 800 30px/1 var(--display); letter-spacing: -.025em; }
.brand img { width: 34px; height: 34px; }
.brand:focus-visible { outline: 3px solid var(--mint); outline-offset: 6px; border-radius: 4px; }

.stage { flex: 1; display: flex; justify-content: center; align-items: flex-start; padding: 0 16px; }
.card { width: 100%; max-width: 520px; background: #fff; border-radius: 6px; padding: 56px 64px 52px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.65); }
h1 { font: 700 28px/1.15 var(--display); letter-spacing: -.01em; margin: 0 0 30px; }
h1:focus { outline: none; }
.lead { color: var(--ink-2); margin: -18px 0 26px; font-size: 16px; }

/* Alert */
.alert { display: flex; gap: 10px; align-items: flex-start; background: #FDECEB; color: #9E251F; border-left: 3px solid var(--bad); padding: 12px 14px; font-size: 15px; font-weight: 500; margin: -8px 0 22px; border-radius: 4px; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }

/* Fields */
.field { position: relative; margin-bottom: 26px; }
.field input { width: 100%; height: 52px; border: 0; border-bottom: 1.5px solid #C9CFDB; border-radius: 0; background: transparent; padding: 0 8px 0 38px; font: 500 17px var(--body); color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.field input::placeholder { color: #8A93A8; font-weight: 400; }
.field input:hover { border-bottom-color: #9AA3B7; }
.field input:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1.5px 0 0 var(--accent); }
.field input[aria-invalid="true"] { border-bottom-color: var(--bad); }
.f-ic { position: absolute; left: 2px; top: 15px; width: 22px; height: 22px; color: #8A93A8; pointer-events: none; transition: color .15s ease; }
.field:focus-within .f-ic { color: var(--accent); }
#password { padding-right: 46px; }
.eye { position: absolute; right: 0; top: 4px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--ink-3); cursor: pointer; border-radius: 8px; }
.eye svg { width: 22px; height: 22px; }
.eye:hover { color: var(--accent-ink); }
.eye:focus-visible { outline: 2px solid var(--accent); }
.hint { margin: -18px 0 24px 38px; font-size: 13.5px; color: var(--ink-3); }
.field + .hint { margin-top: -18px; }

/* Row: remember + forgot */
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: -2px 0 30px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 16px; user-select: none; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box { width: 20px; height: 20px; border: 1.5px solid #B7BFCE; border-radius: 4px; display: grid; place-items: center; background: #fff; transition: background-color .15s ease, border-color .15s ease; }
.box svg { width: 14px; height: 14px; color: #fff; opacity: 0; }
.check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box svg { opacity: 1; }
.check input:focus-visible + .box { outline: 3px solid rgba(61,90,254,.35); outline-offset: 2px; }
.link, .switch a, .done a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.link:hover, .switch a:hover, .done a:hover { text-decoration: underline; }
.link:focus-visible, .switch a:focus-visible, .done a:focus-visible, .bottom a:focus-visible { outline: 3px solid rgba(61,90,254,.4); outline-offset: 2px; border-radius: 3px; }

/* Submit */
.submit { position: relative; width: 100%; min-height: 58px; padding: 12px 20px; border: 0; border-radius: 4px; background: var(--mint); color: var(--mint-ink); font: 700 17px/1.3 var(--body); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background-color .15s ease, transform .1s ease; }
.submit:hover { background: #4CEDB6; }
.submit:active { transform: translateY(1px); }
.submit:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.submit[disabled] { cursor: progress; opacity: .8; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(5,59,41,.25); border-top-color: var(--mint-ink); animation: spin .7s linear infinite; }
.submit[aria-busy="true"] .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.note { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); text-align: center; }

.switch { margin: 28px 0 0; font-size: 16px; color: var(--ink); }

/* Forgot success */
.done { text-align: left; }
.done-ic { width: 48px; height: 48px; border-radius: 50%; background: #E3FBF2; color: var(--good); display: grid; place-items: center; margin-bottom: 16px; }
.done-ic svg { width: 26px; height: 26px; }
.done p { margin: 0 0 12px; font-size: 16.5px; }
.done .muted { font-size: 14px; color: var(--ink-3); }

.bottom { text-align: center; padding: 36px 16px 40px; color: #9FB0E0; font-size: 15px; }
.bottom a { color: #fff; font-weight: 500; text-decoration: none; }
.bottom a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .top { padding: 28px 16px 24px; }
  .brand { font-size: 26px; }
  .card { padding: 34px 22px 32px; }
  h1 { font-size: 24px; margin-bottom: 24px; }
  .b1 { width: 60vw; height: 30vh; } .b3 { width: 50vw; height: 26vh; } .b2 { width: 36vw; } .b4, .t1, .t2 { display: none; }
  .row { margin-bottom: 26px; flex-wrap: nowrap; }
  .check, .link { font-size: 14px; white-space: nowrap; }
  .row { gap: 8px; }
  .check { gap: 8px; }
  .bottom { padding: 28px 16px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .001ms !important; }
  .spinner { animation-duration: 1.6s; }
}
/* Continue with Google */
.gwrap { margin: 0 0 18px; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 54px; border: 1px solid #DADCE0; border-radius: 4px; background: #fff; color: #1F1F1F; font: 600 16px/1.3 var(--body); text-decoration: none; transition: background-color .15s ease, box-shadow .15s ease; }
.gbtn:hover { background: #F8FAFF; box-shadow: 0 1px 3px rgba(60,64,67,.25); }
.gbtn:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; color: var(--ink-3); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* bot check (Cloudflare Turnstile, only when switched on) */
.ts-box { margin: 4px 0 12px; min-height: 0; }
.ts-box[hidden] { display: none; }

.note-legal { font-size: 12.5px; margin-top: 8px; }
.note-legal a { color: inherit; text-decoration: underline; }
