/* Auth pages */
.auth-page {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 80px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(123,47,190,0.15), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(244,114,182,0.08), transparent 40%),
    var(--bg-primary);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.auth-card h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-align: center;
}
.auth-card .subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
}
.auth-card .btn-submit {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-full);
  font-size: 15px;
  margin-top: 8px;
}
.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}
.auth-footer a {
  color: var(--brand-mid);
  text-decoration: none;
  font-weight: 600;
}
.auth-card-wide { max-width: 480px; }
.auth-icon-wrap {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 16px; display: grid; place-items: center;
  background: rgba(167,139,250,.12); border: 1px solid rgba(167,139,250,.28);
  color: #c4b5fd;
}
.auth-row-between {
  display: flex; justify-content: space-between; align-items: center;
  margin: -4px 0 14px;
}
.auth-link-sm {
  font-size: 13px; color: var(--brand-mid); text-decoration: none; font-weight: 600;
}
.code-inputs {
  display: flex; gap: 8px; justify-content: center; margin: 8px 0 22px;
}
.code-digit {
  width: 46px; height: 54px; text-align: center;
  font-size: 22px; font-weight: 800; letter-spacing: 0;
  border-radius: 12px; border: 1px solid var(--border-light);
  background: rgba(8,8,16,.85); color: var(--text-primary);
  font-family: inherit; outline: none;
}
.code-digit:focus {
  border-color: rgba(167,139,250,.55);
  box-shadow: 0 0 0 3px rgba(167,139,250,.15);
}
.resend-form { text-align: center; margin-top: 14px; }
.btn-ghost-link {
  background: none; border: none; color: var(--brand-mid);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 8px;
}
.btn-ghost-link:hover { text-decoration: underline; }
.alert-success {
  background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.3);
  color: #6ee7b7; padding: 12px; border-radius: 10px; margin-bottom: 16px; font-size: 13px;
}
.alert-info, .alert-warning {
  padding: 12px; border-radius: 10px; margin-bottom: 16px; font-size: 13px;
}
.alert-info {
  background: rgba(167,139,250,.12); border: 1px solid rgba(167,139,250,.3); color: #c4b5fd;
}
.alert-warning {
  background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.3); color: #fbbf24;
}
@media (max-width: 480px) {
  .auth-card { padding: 28px 20px; }
  .code-digit { width: 40px; height: 48px; font-size: 18px; }
  .code-inputs { gap: 6px; }
}
