/* ===== Login screen (auth.js markup — CSS only) ===== */
/* Centered, polished OTP login card on the token system (spec §7.3). The form
   controls (.form-group/.form-label/.form-input) + buttons (.btn/.btn-primary/
   .btn-ghost) are already styled in 07-controls.css; this slice owns the SCREEN
   layout: centered viewport, the card chrome, title/hint/error, full-width actions. */
.login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: var(--space-8) var(--space-4);
}

.login-card {
  width: 100%;
  max-width: 360px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-overlay);
  padding: var(--space-6) var(--space-5);
}

.login-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.login-hint {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
  text-align: center;
  margin-bottom: var(--space-5);
}

/* The card's actions stack full-width for a clear primary target. */
.login-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-3);
}

.login-error {
  min-height: var(--text-lg);
  margin-top: var(--space-3);
  color: var(--danger);
  font-size: var(--text-sm);
  text-align: center;
}
