/* ============ SecurelyX — Auth pages ============ */
.auth-body {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 32px 20px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(124, 58, 237, .08), transparent),
    radial-gradient(ellipse 50% 50% at 90% 90%, rgba(139, 92, 246, .07), transparent),
    var(--bg-page);
}
.auth-wrap { width: 100%; max-width: 430px; }
.auth-brand {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 21px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 24px; letter-spacing: -.02em;
}
.auth-brand:hover { color: var(--text-primary); }
.auth-card {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-card); box-shadow: var(--shadow-md);
  padding: 32px 28px;
  animation: popIn .3s ease;
}
.auth-card h1 { font-size: 23px; margin-bottom: 6px; }
.auth-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 22px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-alt a { font-weight: 600; }

/* OTP boxes */
.otp-inputs { display: flex; gap: 10px; justify-content: center; margin: 26px 0; flex-wrap: wrap; }
.otp-box {
  width: 48px; height: 56px; text-align: center;
  font-size: 22px; font-weight: 700; font-family: 'JetBrains Mono', monospace;
  border: 1.5px solid var(--border); border-radius: 12px;
  background: #fff; color: var(--text-primary);
  outline: none; transition: all .15s ease;
  touch-action: manipulation;
}
.otp-box:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
  transform: translateY(-2px);
}
.otp-box.filled { border-color: var(--primary-light); background: var(--purple-ultra-soft); }
.otp-box.error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(239, 68, 68, .12); animation: shake .3s ease; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.otp-resend { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--text-muted); }

@media (max-width: 640px) {
  .auth-card { padding: 26px 20px; }
  .otp-box { width: 42px; height: 50px; font-size: 20px; }
}
