:root{
  --bg:#07152f;
  --bg-2:#0b2248;
  --surface:#0d1f42;
  --surface-2:#122a56;
  --text:#f8f1d4;
  --muted:#c9c1a2;
  --line:rgba(212,176,92,.22);
  --brand:#d4b05c;
  --brand-2:#f1d38a;
  --brand-dark:#08162f;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(212,176,92,.20), transparent 22%),
    radial-gradient(circle at 85% 8%, rgba(255,230,170,.12), transparent 18%),
    linear-gradient(180deg, #0a1732 0%, #09142a 40%, #071223 100%);
}
.auth-container{
  width:min(1120px, calc(100% - 32px));
  margin:0 auto;
}
.auth-topbar{
  position:sticky;
  top:0;
  z-index:40;
  background:linear-gradient(180deg, rgba(7,21,47,.96), rgba(7,21,47,.88));
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
  box-shadow:0 14px 36px rgba(0,0,0,.32);
}
.auth-nav{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.auth-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--brand-2);
  font-weight:800;
  letter-spacing:.4px;
  text-transform:uppercase;
}
.auth-brand img{
  width:48px;
  height:48px;
  object-fit:contain;
  filter:drop-shadow(0 0 12px rgba(212,176,92,.22)) drop-shadow(0 6px 18px rgba(0,0,0,.35));
}
.auth-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.auth-links a{
  text-decoration:none;
  color:#f7e8bb;
  font-weight:700;
  padding:10px 12px;
  border-radius:12px;
}
.auth-main{min-height:72vh}
.auth-shell{padding:30px 0}
.auth-card{
  background:
    radial-gradient(circle at top right, rgba(212,176,92,.10), transparent 28%),
    linear-gradient(180deg, rgba(18,42,86,.98) 0%, rgba(10,24,52,.98) 100%);
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow:0 20px 50px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.03);
}
.auth-hero-card{
  padding:26px;
  margin-bottom:18px;
}
.hero-copy h1{
  margin:0 0 12px;
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.03;
  color:#fff4cf;
}
.hero-copy p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}
.eyebrow{
  display:inline-block;
  padding:8px 13px;
  background:rgba(212,176,92,.12);
  color:var(--brand-2);
  border:1px solid rgba(212,176,92,.22);
  border-radius:999px;
  font-size:.86rem;
  font-weight:800;
  margin-bottom:14px;
}
.form-card{
  padding:24px;
}
.form-section{
  border-top:1px solid rgba(212,176,92,.14);
  padding-top:18px;
  margin-top:18px;
}
.form-section:first-child{
  border-top:0;
  padding-top:0;
  margin-top:0;
}
.section-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.section-title.single{
  margin-bottom:18px;
}
.section-title h2{
  margin:0;
  color:#fff0bf;
}
.step{
  width:30px;
  height:30px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, #e6c878 0%, #b4872b 100%);
  color:#08162f;
  font-weight:800;
}
.field{
  display:block;
  margin-bottom:13px;
}
.field span{
  display:block;
  margin-bottom:7px;
  font-weight:800;
  font-size:.92rem;
  color:#f9ebbb;
}
.field select,.field input{
  width:100%;
  padding:13px 14px;
  border:1px solid rgba(212,176,92,.18);
  border-radius:14px;
  background:rgba(255,255,255,.04);
  color:#fff5d6;
  outline:none;
}
.field select option{
  color:#111827;
}
.field small{
  display:block;
  min-height:18px;
  margin-top:6px;
  color:#ffda85;
}
.helper-note{
  margin:6px 0 0;
  color:var(--muted);
}
.form-submit,.login-actions,.extra-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}
.extra-actions a{
  color:#f6dc95;
  text-decoration:none;
  align-self:center;
}
.btn-primary,.btn-secondary,.btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:14px;
  text-decoration:none;
  border:0;
  cursor:pointer;
  font-weight:800;
}
.btn-primary{
  background:linear-gradient(180deg, #e6c878 0%, #b4872b 100%);
  color:#08162f;
}
.btn-secondary{
  background:linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%);
  color:#fff2c7;
  border:1px solid rgba(212,176,92,.20);
}
.btn-ghost{
  background:transparent;
  color:#f5d98f;
  border:1px dashed rgba(212,176,92,.28);
}
.auth-narrow{max-width:640px}
@media (max-width: 920px){
  .auth-nav{
    align-items:flex-start;
    padding:12px 0;
    flex-direction:column;
  }
}
