/* Login Page Specific */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-950);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* Decorative background */
.login-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.login-bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .06;
}

.login-bg-circle:nth-child(1) {
  width: 600px; height: 600px;
  background: var(--gold-400);
  top: -200px; right: -200px;
}

.login-bg-circle:nth-child(2) {
  width: 400px; height: 400px;
  background: var(--blue-500);
  bottom: -100px; left: -100px;
}

.login-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Login Card */
.login-card {
  background: var(--ink-850);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(245,158,11,.05);
  animation: loginFadeIn .5s var(--ease-out) forwards;
}

@keyframes loginFadeIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.login-logo-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--ink-900);
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(245,158,11,.3);
}

.login-logo-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-primary);
}

.login-logo-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: -4px;
}

/* OTP Step */
.step { display: none; }
.step.active { display: block; animation: stepIn .3s var(--ease-out); }

@keyframes stepIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  direction: ltr;
  margin: 20px 0;
}

.otp-digit {
  width: 46px; height: 54px;
  background: var(--ink-800);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
  outline: none;
  transition: all var(--dur-fast);
  font-family: inherit;
}

.otp-digit:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(245,158,11,.12);
  background: var(--ink-700);
}

.resend-timer {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.resend-timer span {
  color: var(--gold-400);
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 440px) {
  .login-card { padding: 24px 20px; }
  .otp-digit  { width: 40px; height: 48px; font-size: 18px; }
}
