/* Standalone authentication pages: no dashboard stylesheet dependencies. */
:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #141a1c;
  color: #1b2427;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  background:
    radial-gradient(ellipse at 10% 0%, #34433b66, transparent 55%),
    radial-gradient(ellipse at 100% 100%, #8f202322, transparent 55%),
    #141a1c;
  line-height: 1.6;
}

.auth-shell { width: min(100%, 460px); }
.auth-brand { text-align: center; margin-bottom: 30px; }
.auth-brand img { display: block; width: 210px; height: auto; margin: 0 auto; }
.auth-product {
  margin: 23px 0 0;
  color: #e2e7e4;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.auth-card {
  color-scheme: light;
  padding: 38px;
  background: #fafbf8;
  border: 1px solid #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px #0003;
}

.auth-eyebrow {
  margin: 0 0 12px;
  color: #9c2028;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.auth-tagline { min-height: 3.2em; }

h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 34px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.auth-description { margin: 16px 0 28px; color: #586365; font-size: 15px; }
.auth-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #bf202a;
  color: #fff;
  font: 650 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s;
}

.auth-button:hover { background: #9e1720; }
.auth-button:active { background: #86151c; }
.auth-button:focus-visible { outline: 3px solid #1c6579; outline-offset: 4px; }
.auth-button > [aria-hidden] { font-size: 22px; line-height: 1; }
.auth-note { margin: 20px 0 0; color: #626c6d; font-size: 12px; text-align: center; }
.auth-footer { margin-top: 26px; color: #aab6b3; font-size: 12px; text-align: center; }
.auth-error {
  margin: 24px 0;
  padding: 14px 16px;
  border-left: 3px solid #bf202a;
  border-radius: 0 6px 6px 0;
  background: #f5e9e7;
  color: #6b3032;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.auth-error p { margin: 0; }

@media (max-width: 480px) {
  body { padding: 32px 18px; }
  .auth-card { padding: 30px 24px; }
  .auth-brand img { width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-button { transition: none; }
}
