:root { color-scheme: light; --praim-orange: #f97316; --praim-orange-dark: #c2410c; --praim-orange-soft: #fed7aa; --praim-dark: #0f172a; --praim-dark-2: #111827; --praim-gray: #64748b; --praim-border: #e5e7eb; --praim-bg: #f8fafc; --praim-white: #ffffff; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--praim-white);
  background:
    radial-gradient(circle at top left, rgba(249,115,22,0.18), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(249,115,22,0.12), transparent 18%),
    linear-gradient(160deg, #020617 0%, var(--praim-dark) 42%, var(--praim-dark-2) 100%);
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.auth-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.26;
  pointer-events: none;
}
.auth-card {
  width: min(100%, 430px);
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.96);
  color: var(--praim-dark);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(2,6,23,0.42);
  padding: 30px 28px 26px;
  backdrop-filter: blur(10px);
}
.brand { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.brand-mark {
  display: inline-flex; align-items: center; width: fit-content;
  padding: 7px 10px; border-radius: 999px;
  background: rgba(249,115,22,0.12); color: var(--praim-orange-dark);
  font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 0;
}
.brand h1 { margin: 0; font-size: 34px; line-height: 1; letter-spacing: 0; color: var(--praim-dark); }
.brand p { margin: 0; color: var(--praim-gray); font-size: 14px; }
.auth-title { margin: 0 0 8px; font-size: 21px; color: var(--praim-dark); }
.auth-copy { margin: 0 0 18px; color: var(--praim-gray); font-size: 14px; line-height: 1.5; }
.alert {
  border: 1px solid rgba(249,115,22,0.24); background: rgba(249,115,22,0.08);
  color: #7c2d12; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px;
}
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 700; color: #1f2937; }
.field input {
  width: 100%; border: 1px solid var(--praim-border); background: #fff; color: var(--praim-dark);
  border-radius: 12px; padding: 13px 14px; font: inherit; outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.field input:focus {
  border-color: var(--praim-orange);
  box-shadow: 0 0 0 4px rgba(249,115,22,0.16);
}
.code-input { font-size: 22px; letter-spacing: 0.34em; text-align: center; font-weight: 800; }
.actions { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
button, .button-link {
  display: inline-flex; align-items: center; justify-content: center;
  appearance: none; border: 0; border-radius: 12px; padding: 13px 16px;
  background: linear-gradient(180deg, var(--praim-orange), var(--praim-orange-dark));
  color: #fff; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 14px 28px rgba(249,115,22,0.24);
}
button:hover, .button-link:hover { transform: translateY(-1px); }
button:focus-visible, .button-link:focus-visible { outline: 3px solid rgba(249,115,22,0.28); outline-offset: 2px; }
button.secondary, .button-link.secondary {
  background: #fff; color: var(--praim-orange-dark); border: 1px solid rgba(249,115,22,0.22); box-shadow: none;
}
.helper { margin-top: 14px; color: var(--praim-gray); font-size: 13px; line-height: 1.5; }
.helper a { color: var(--praim-orange-dark); text-decoration: none; font-weight: 700; }
.helper a:hover { text-decoration: underline; }
.footer-mark { margin-top: 18px; color: var(--praim-gray); font-size: 12px; text-transform: lowercase; }
@media (max-width: 420px) { .auth-card { padding: 24px 18px 20px; border-radius: 18px; } .brand h1 { font-size: 30px; } }
