/* Auth pages shared styles — extracted verbatim from the inline <style> blocks
 * of login.html, auth-callback.html, and reset-password.html (GPT-6 Finding 11).
 * login/auth-callback share the "compact card" look; reset-password has its own
 * "panel" look. Page-specific rules are namespaced below.
 */

/* ---- shared by login.html + auth-callback.html (was inline in both) ---- */
:root { --bg:#0f1115; --card:#181b21; --border:#2a2e36; --text:#e8eaed; --muted:#9aa0a6; --accent:#9F2625; }
* { box-sizing: border-box; }
html, body { margin:0; }
body {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background:var(--bg); color:var(--text); min-height:100vh;
  display:flex; align-items:center; justify-content:center; padding:24px;
  -webkit-font-smoothing: antialiased;
}
.card { width:100%; max-width:360px; background:var(--card); border:1px solid var(--border); border-radius:14px; padding:28px; }
.logo-row { display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.logo-row img { height:30px; width:auto; }
.admin-tag { font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); border:1px solid var(--border); border-radius:999px; padding:4px 10px; }
.sub { color:var(--muted); font-size:13px; margin:10px 0 18px; }
.divider { display:flex; align-items:center; gap:10px; margin:18px 0 4px; color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.08em; }
.divider::before, .divider::after { content:""; flex:1; height:1px; background:var(--border); }
label { display:block; font-size:12px; font-weight:500; color:var(--muted); margin:14px 0 6px; }
input { width:100%; padding:11px 12px; border-radius:9px; border:1px solid var(--border); background:var(--bg); color:var(--text); font-size:16px; font-family:inherit; }
input:focus { outline:2px solid var(--accent); border-color:transparent; }
button { width:100%; margin-top:20px; padding:12px; border-radius:999px; border:0; background:var(--accent); color:#fff; font-size:14px; font-weight:600; cursor:pointer; font-family:inherit; }
button:hover { filter:brightness(1.08); }
button:disabled { opacity:.6; cursor:default; }
.alert { display:none; margin-top:16px; padding:10px 12px; border-radius:9px; border:1px solid var(--accent); background:rgba(159,38,37,.12); color:#f0b3b2; font-size:13px; }
.ok { display:none; margin-top:16px; padding:10px 12px; border-radius:9px; border:1px solid #2e7d32; background:rgba(46,125,50,.12); color:#a5d6a7; font-size:13px; }
a.back { display:block; text-align:center; margin-top:18px; color:var(--muted); font-size:12px; text-decoration:none; }

/* auth-callback.html only (its own inline block; card is wider + centered) */
.card-wide { width:100%; max-width:380px; background:var(--card); border:1px solid var(--border); border-radius:14px; padding:28px; text-align:center; }
.card-wide img { height:30px; width:auto; margin-bottom:16px; }
.card-wide h1 { font-size:16px; font-weight:600; margin:0 0 8px; }
.card-wide p { color:var(--muted); font-size:13px; line-height:1.55; margin:0 0 16px; }
a.btn { display:inline-block; margin-top:8px; padding:11px 22px; border-radius:999px; background:var(--accent); color:#fff; font-size:13px; font-weight:600; text-decoration:none; }
.err { display:none; color:#f0b3b2; border:1px solid var(--accent); background:rgba(159,38,37,.12); border-radius:9px; padding:10px 12px; font-size:13px; }
/* Hidden until fail() reveals it via CSSOM (inline style= attributes are
   blocked by the auth CSP). */
#back { display:none; }
