/* Auth pages (login, signup, verification, reset). Mobile first, no external
   fonts: these pages run under a strict CSP. */
:root {
  --bg: #0c0a12;
  --surface: #151024;
  --border: #241f33;
  --border-2: #3d3654;
  --text: #ece9f4;
  --muted: #948da6;
  --accent: #a78bfa;
  --accent-2: #c4b5fd;
  --danger: #f87171;
  --ok: #4ade80;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  display: flex;
  justify-content: center;
  padding: 32px 16px;
}
main { width: 100%; max-width: 400px; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--text); font-weight: 700; font-size: 20px; }
.brand .dot { color: var(--muted); font-weight: 400; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
h1 { font-size: 22px; margin: 0 0 8px; }
p.lede { color: var(--muted); margin: 0 0 20px; }
label { display: block; font-size: 14px; color: var(--muted); margin: 14px 0 6px; }
input[type=email], input[type=password], input[type=text] {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-2);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--muted); }
.check input { margin-top: 3px; }
button {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #120d1f;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
button:hover { background: var(--accent-2); }
button.secondary { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.error { color: var(--danger); background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.3); padding: 10px 12px; border-radius: 8px; font-size: 14px; margin-bottom: 8px; }
.notice { color: var(--ok); background: rgba(74, 222, 128, 0.08); border: 1px solid rgba(74, 222, 128, 0.3); padding: 10px 12px; border-radius: 8px; font-size: 14px; margin-bottom: 8px; }
.links { margin-top: 18px; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.hidden { display: none; }
/* "by Zodo" footer: the studio behind rc.center. */
.site-footer { margin-top: 24px; text-align: center; font-size: 13px; }
.legal-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 10px; }
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: var(--text); }
/* "Cookie settings": a button (it opens the consent banner) styled as a link. */
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.link-button:hover { color: var(--text); }
.by-zodo { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.by-zodo:hover { color: var(--text); }
.by-zodo svg { width: 16px; height: 16px; display: block; }
