/* Account screens. Same frame as the app's AuthLayout: white, Inter, midnight button. */

:root {
  --brand: #003865;
  --ink: #1F1F21;
  --muted: #6C7079;
  --faint: #A2A6AE;
  --hair: #EEEFF2;
  --wash: #F6F7F9;
  --danger: #D64430;
  --soft: #E7EEF5;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); font-weight: 700; text-decoration: none; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid #96D700; outline-offset: 2px; }

.auth {
  max-width: 440px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}
.back {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin: 0 0 8px -8px;
  color: var(--ink); font-size: 22px; font-weight: 500;
}
.brand { width: 168px; height: auto; margin: 8px 0 28px; }
h1 { margin: 0; font-size: 30px; letter-spacing: -0.03em; line-height: 1.15; font-weight: 800; }
.sub { margin: 8px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.err {
  display: flex; gap: 8px; align-items: flex-start;
  background: #FDECEA; color: var(--danger);
  border-radius: 12px; padding: 10px 14px; margin-bottom: 18px;
  font-size: 13px; line-height: 1.4; font-weight: 500;
}
label { display: block; font-size: 12.5px; font-weight: 700; margin: 0 0 6px; }
.field { margin-bottom: 16px; }
.row { position: relative; }
input, select {
  width: 100%; background: var(--wash); border: 0; border-radius: 12px;
  padding: 14px 16px; font-size: 15px; color: var(--ink);
}
input::placeholder { color: var(--faint); }
.reveal {
  position: absolute; right: 8px; top: 0; bottom: 0;
  border: 0; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 700; cursor: pointer; padding: 0 8px;
}
.bday { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 8px; }
.checks { margin: -6px 0 16px; padding: 0; list-style: none; }
.checks li { font-size: 12.5px; color: var(--faint); margin: 4px 0; }
.checks li.on { color: #3D6B00; }
.mismatch { color: var(--danger); font-size: 12.5px; margin: -8px 0 12px; }
.robot { height: 70px; margin: 4px 0 8px; }
.robot iframe { width: 100%; height: 70px; border: 0; }
.wait { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.go {
  width: 100%; margin-top: 8px; border: 0; border-radius: 12px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 15px;
  padding: 15px 16px; cursor: pointer;
}
.go:disabled { opacity: .5; cursor: default; }
.foot { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--muted); font-weight: 400; }
.legal { text-align: center; margin-top: 16px; font-size: 12.5px; line-height: 1.45; color: var(--muted); font-weight: 400; }
.forgot { display: block; margin: -4px 0 16px; font-size: 13.5px; }

.step { font-size: 12.5px; font-weight: 700; color: var(--brand); background: var(--soft); display: inline-block; border-radius: 999px; padding: 6px 12px; margin-bottom: 12px; }
.search { margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cell {
  border: 0; background: var(--wash); border-radius: 14px; padding: 12px 8px;
  min-height: 72px; cursor: pointer; color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.25;
}
.cell.on { background: var(--brand); color: #fff; }
.bar { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.bar .go { margin-top: 0; }
.linkish { border: 0; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; padding: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid var(--hair); background: #fff; border-radius: 999px;
  padding: 10px 14px; cursor: pointer; font-weight: 600; font-size: 14px;
}
.pill.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--soft); color: var(--brand); font-weight: 700; font-size: 12.5px;
  border-radius: 999px; padding: 8px 14px; margin-bottom: 16px;
}
.card {
  display: block; width: 100%; text-align: left; border: 1px solid var(--hair);
  background: #fff; border-radius: 16px; padding: 16px; cursor: pointer; margin-bottom: 12px;
}
.card b { display: block; font-size: 17px; margin-bottom: 6px; }
.card span { color: var(--muted); font-size: 13px; line-height: 1.4; font-weight: 400; }
.club {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--hair);
}
.club b { display: block; }
.club small { color: var(--muted); }
.join {
  border: 0; background: var(--brand); color: #fff; border-radius: 999px;
  padding: 8px 14px; font-weight: 700; font-size: 13px; cursor: pointer;
}
.join.on { background: var(--wash); color: var(--ink); }
.empty { color: var(--muted); font-size: 14px; line-height: 1.45; }
.dialog {
  border: 0; border-radius: 16px; padding: 20px; max-width: 360px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.dialog::backdrop { background: rgba(15,23,32,.55); }
.dialog p { margin: 0 0 16px; line-height: 1.45; }
.legal-page { max-width: 680px; margin: 0 auto; padding: 32px 24px 80px; }
.legal-page h1 { margin-bottom: 12px; }
.legal-page h2 { font-size: 18px; margin: 28px 0 8px; }
.legal-page p { color: #3a3d44; line-height: 1.55; margin: 0 0 12px; }
