/* auth-theme.css — makes the auth kit's pages (sign in, change password, Users)
   look like the access-code gate they replaced. Every value here is lifted from
   the old gateLoginHtml() style block in spark_nel_server.js, so the sign-in
   screen is visually the same card: light grey page, white rounded card with a
   dark navy header band, blue button.

   Served publicly at /auth-theme.css (the kit's pages must be styleable before
   anyone is signed in). No fonts or images are loaded from anywhere. */

:root {
  --bg: #f4f6f9;
  --fg: #222;
  --muted: #667;
  --card: #fff;
  --border: #dde2eb;
  --accent: #0066cc;
  --accent-fg: #fff;
  --danger: #cc2222;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

.bws-auth-body {
  padding: 16px;
  -webkit-font-smoothing: antialiased;
}

.bws-auth-card {
  width: 380px;
  max-width: 94vw;
  padding: 0 24px 22px;
  border: none;
  box-shadow: 0 6px 28px rgba(0, 0, 0, .14);
  overflow: hidden;
}

/* The dark navy header band of the old gate, rebuilt from the page heading. */
.bws-auth-h1 {
  background: #1a2340;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 -24px 22px;
  padding: 22px 24px;
}
.bws-auth-h1::before { content: "\1F69A\00A0"; }

.bws-auth-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}

.bws-auth-logo { margin: 22px 0 16px; }

.bws-auth-label {
  font-size: 12px;
  font-weight: 600;
  color: #445;
  margin-top: 12px;
}

.bws-auth-input {
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
}
.bws-auth-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, .15);
}

.bws-auth-btn {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
.bws-auth-btn:hover { background: #0055aa; filter: none; }
.bws-auth-btn-quiet:hover { background: transparent; }
.bws-auth-btn-sm { padding: 5px 9px; font-size: .8rem; margin-top: 0; }

.bws-auth-msg { font-size: 13px; font-weight: 600; }
.bws-auth-foot { font-size: 12px; }

/* The Users screen is the same card, just wider. */
.bws-auth-card-wide { width: 1040px; max-width: 96vw; }
.bws-auth-h2 { font-size: 15px; margin: 26px 0 8px; }
.bws-auth-table { font-size: 13px; }
.bws-auth-table th { color: var(--muted); }
