:root {
  color-scheme: dark;
  --bg: #090909;
  --panel: #151515;
  --panel-2: #1d1d1d;
  --line: #353535;
  --text: #f6f6f6;
  --muted: #b7b7b7;
  --accent: #f47a20;
  --accent-dark: #c95300;
  --danger: #ffb0a8;
  --success: #a9e5b7;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, #252525 0, #090909 48%);
  color: var(--text);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
}

a {
  color: inherit;
}

.auth-shell {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 42px 0 64px;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.auth-brand-mark {
  color: var(--accent);
}

.auth-panel {
  margin-top: 28px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(21, 21, 21, .96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.auth-eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
}

.auth-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1;
}

.auth-intro {
  margin: 18px 0 28px;
  color: var(--muted);
  line-height: 1.6;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field label {
  font-weight: 800;
}

.auth-field input,
.auth-field select {
  width: 100%;
  border: 1px solid #4b4b4b;
  border-radius: 10px;
  background: #0c0c0c;
  color: var(--text);
  padding: 14px 15px;
  font: inherit;
}

.auth-field input:focus,
.auth-field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.auth-help {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.auth-button {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 15px 18px;
  background: var(--accent);
  color: #111;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.auth-button:hover {
  background: #ff8b38;
}

.auth-button:disabled {
  opacity: .6;
  cursor: wait;
}

.auth-status {
  min-height: 24px;
  margin: 18px 0 0;
  line-height: 1.5;
}

.auth-status[data-state="error"] {
  color: var(--danger);
}

.auth-status[data-state="success"] {
  color: var(--success);
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
  color: var(--muted);
}

.auth-links a {
  font-weight: 700;
}

.auth-boundary {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}
