/* Matches the app's default (High-Vis) look: lib/theme/palettes.ts. */
:root {
  --bg: #0A0A0B;
  --surface: #1A1A1A;
  --border: #2A2A2E;
  --text: #FFFFFF;
  --muted: #A1A1A6;
  --accent: #FF6B1A;
  --on-accent: #0A0A0B;
  --error: #FF6B6B;
  --done: #30D158;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px;
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
.card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.brand { margin: 0 0 8px; color: var(--accent); font-weight: 800; letter-spacing: .02em; }
h1 { margin: 0 0 16px; font-size: 22px; line-height: 1.25; }
form { display: flex; flex-direction: column; gap: 8px; }
label { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 8px; }
input[type="password"], input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 16px; /* 16px stops iOS Safari zooming the field */
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check input { width: 20px; height: 20px; }
.hint { margin: 4px 0 8px; font-size: 13px; color: var(--muted); }
button {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}
button:disabled { opacity: .6; cursor: progress; }
.message { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.message.error { background: rgba(255, 107, 107, .12); color: var(--error); }
.message.done { background: rgba(48, 209, 88, .12); color: var(--done); }
a { color: var(--accent); }
