/* Sign-in, sign-up, forgot and reset pages. Same palette and type as the app (web/src/styles/app.css). */
:root {
  --page: #eef2ea; --panel: #f9fbf6; --text: #16202f; --text-2: #4b586b; --border: #cdd6c6; --border-strong: #9aa793;
  --accent: #c23b22; --accent-ink: #fff; --blue: #2f5597; --danger: #a3260f;
  --display: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --page: #121923; --panel: #1a2332; --text: #e8edf4; --text-2: #a3afc0; --border: #2e3b50; --border-strong: #4a5a73; --accent: #ef6a52; --accent-ink: #1a0b07; --blue: #8fb0ee; --danger: #ff9a88; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; background: var(--page); color: var(--text); font: 16px/1.5 var(--body); }
body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
form { width: min(380px, 100%); display: flex; flex-direction: column; gap: 14px; }
h1 { font: 800 44px/1 var(--display); letter-spacing: -0.01em; margin: 0 0 4px; }
p.hint { margin: 0 0 6px; color: var(--text-2); }
input {
  width: 100%; font: 16px/1.4 var(--body); padding: 13px 14px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--panel); color: var(--text);
}
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
button {
  appearance: none; cursor: pointer; min-height: 48px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink);
  font: 700 16px var(--body); padding: 0 22px;
}
button.link { min-height: 0; border: 0; background: none; color: var(--blue); font-weight: 500; font-size: 14px; padding: 0; text-decoration: underline; align-self: flex-start; }
.err { margin: 0; color: var(--danger); font-weight: 600; }
.ok { margin: 0; }
/* The links are fetched after load; keep their space so the page does not jump. */
.links { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; min-height: 22px; margin: 4px 0 0; }
.links a[hidden] { display: inline !important; visibility: hidden; }
a { color: var(--blue); }
