/* Auth-page CSS. Extracted from the inline <style> block in
   accounts/templates/accounts/base_auth.html on 2026-05-03.

   Auth pages do NOT load the listing-page tokens.css because they only
   need a small subset of the palette (the auth card is a simpler
   surface than the listing). The few tokens declared here are
   intentionally redundant with arenas/static/arenas/css/tokens.css —
   keeping the auth surface decoupled means auth can be re-skinned
   without touching the listing chrome and vice versa. The brand-icon
   CSS lives in arenas/static/arenas/css/brand-icon.css and is linked
   separately so the IT monogram is byte-identical across both
   surfaces. The .red-line-top brand stripe is duplicated here too
   (same property values as arenas/static/arenas/css/chrome.css) so
   the auth template stays self-contained. */

:root {
  --color-ice-sheet: #f8fafc;
  --color-fresh-sheet: #ffffff;
  --color-blue-line: #e2e8f0;
  --color-ice-blue: #0ea5e9;
  --color-rink-blue: #0369a1;
  --color-boards: #1e293b;
  --color-boards-light: #334155;
  --color-glass: #64748b;
  --color-red-line: #dc2626;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-ice-sheet);
  color: var(--color-boards);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.auth-card {
  background: var(--color-fresh-sheet);
  border: 1px solid var(--color-blue-line);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--color-boards);
  margin: 0 0 1.5rem;
}
.auth-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}
.auth-subtitle {
  margin: 0 0 2rem;
  color: var(--color-boards-light);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-blue-line);
  border-radius: 8px;
  background: var(--color-fresh-sheet);
  color: var(--color-boards);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { border-color: var(--color-ice-blue); }
.btn-primary {
  background: var(--color-ice-blue);
  border-color: var(--color-ice-blue);
  color: white;
}
.btn-primary:hover { background: var(--color-rink-blue); border-color: var(--color-rink-blue); }
.auth-foot {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-boards-light);
}
.auth-foot a {
  color: var(--color-rink-blue);
  text-decoration: none;
}
/* The logout form on /profile/ wraps a single button. Remove the
   default form margin so the button aligns flush with the rest of
   the auth-card content. Replaces the inline `style="margin: 0;"`
   that was retired with the 2026-05-03 CSP tightening. */
.auth-logout-form { margin: 0; }
/* Site-wide brand stripe. Same property values as the listing
   chrome.css red-line-top rule. z-index 1000 keeps the stripe visible
   above any future overlay. */
.red-line-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-red-line);
  z-index: 1000;
}
