/* Shared styles for auth + onboarding screens (no sidebar) */
.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px 60px;
  position: relative;
}
.auth-shell::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(at 20% 10%, rgba(99,102,241,0.18) 0%, transparent 50%),
    radial-gradient(at 85% 0%, rgba(236,72,153,0.12) 0%, transparent 50%),
    radial-gradient(at 50% 90%, rgba(139,92,246,0.10) 0%, transparent 60%),
    radial-gradient(at 90% 90%, rgba(6,182,212,0.10) 0%, transparent 50%);
}

.auth-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 36px;
}
.auth-brand .brand-mark {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(99,102,241,0.4);
}
.auth-brand .brand-name {
  font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
}
.auth-brand .brand-name span { color: var(--primary); }

.auth-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
}
.auth-card.wide { max-width: 920px; }
.auth-card.wider { max-width: 1080px; }

.auth-card h1 {
  font-size: 28px; font-weight: 700; letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.auth-card .subtitle {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0 0 24px;
}

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 120ms, box-shadow 120ms;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.field .hint { font-size: 11.5px; color: var(--text-muted); }

.full-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background 120ms;
}
.full-btn:hover { background: var(--primary-hover); }
.full-btn.secondary {
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--border);
}
.full-btn.secondary:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-text-on-soft); }

.divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-quiet);
  font-size: 12px; font-weight: 500;
  margin: 18px 0;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.sso-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.sso-btn {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font-size: 13px; font-weight: 600;
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer;
}
.sso-btn:hover { border-color: var(--primary); background: var(--primary-soft); }

.auth-foot {
  text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 18px;
}
.auth-foot a { color: var(--primary); font-weight: 600; }

/* Stepper */
.stepper {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 28px;
  justify-content: center;
}
.stepper .step {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--text-quiet);
}
.stepper .step .num {
  width: 22px; height: 22px;
  border-radius: var(--r-pill);
  background: var(--border-soft);
  color: var(--text-muted);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}
.stepper .step.active .num { background: var(--primary); color: #fff; box-shadow: 0 4px 10px rgba(99,102,241,0.3); }
.stepper .step.active { color: var(--text); font-weight: 600; }
.stepper .step.done .num { background: var(--success); color: #fff; }
.stepper .step.done { color: var(--text); }
.stepper .line {
  width: 28px; height: 2px; background: var(--border-soft);
  border-radius: var(--r-pill);
}
.stepper .line.done { background: var(--success); }
