/* sign-in, forgot-password and choose-password pages */
:root { --bg: #0d0e12; --bg2: #16181f; --bg3: #20232c; --text: #eceef3; --muted: #9399a8; --accent: #f5b544; --accent2: #ffcf73; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font: 15px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(245,181,68,.12), transparent 60%), var(--bg);
  display: grid; place-items: center; padding: 24px; }
.card { width: 100%; max-width: 380px; background: var(--bg2); border: 1px solid #2a2e39; border-radius: 16px; padding: 30px 28px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.card[hidden] { display: none; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.logo { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), #e8742c); display: grid; place-items: center; color: #1a1205; font-size: 16px; }
p.sub { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
p.sub b { color: var(--text); }
p.sub.bad { color: #ff9b9b; }
label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 6px; }
input { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid #2f3340; background: var(--bg3); color: var(--text); font: inherit; margin-bottom: 16px; outline: none; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,181,68,.18); }
button[type=submit] { width: 100%; padding: 12px; border: 0; border-radius: 10px; font: inherit; font-weight: 650; cursor: pointer; color: #1a1205;
  background: linear-gradient(135deg, var(--accent), #e8742c); margin-top: 4px; }
button[type=submit]:disabled { opacity: .6; cursor: default; }
.msg { min-height: 22px; font-size: 14px; margin: 12px 0 0; text-align: center; }
.msg.err, .err { color: #ff9b9b; }
.msg.ok { color: #b9e8b0; }
.note { text-align: center; margin-top: 14px; font-size: 13.5px; }
.link { background: none; border: 0; padding: 0; color: var(--accent2); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.link:hover { color: var(--text); }
textarea { width: 100%; padding: 10px 13px; border-radius: 10px; border: 1px solid #2f3340; background: var(--bg3); color: var(--text); font: inherit; margin-bottom: 16px; outline: none; resize: vertical; }
textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,181,68,.18); }
input:disabled, textarea:disabled { opacity: .55; }
label .opt { color: #6f7585; }
button[hidden] { display: none; }
