/**
 * Auth Screen Styles
 * Login, MFA verification, MFA setup, recovery codes, token setup screens.
 */

/* =========================================================================
 * AUTH SCREEN OVERLAY
 * ========================================================================= */

.auth-screen {
  position: fixed;
  inset: 0;
  background: var(--gradient-header);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.auth-screen.active {
  display: flex;
}

/* =========================================================================
 * AUTH CARD
 * ========================================================================= */

.auth-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  width: 90%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.auth-logo {
  margin-bottom: 20px;
}

.auth-logo-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  background: rgba(0, 136, 146, .08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mm-topas);
}

.auth-logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mm-navy);
}

.auth-logo-sub {
  font-size: .75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.auth-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.auth-subtitle {
  font-size: .78rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.auth-divider {
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 16px 0;
}

/* =========================================================================
 * AUTH BUTTON
 * ========================================================================= */

.auth-btn {
  width: 100%;
  padding: 11px;
  font-size: .88rem;
  font-weight: 700;
  background: var(--mm-navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  margin-top: 6px;
}

.auth-btn:hover {
  background: #042744;
  transform: translateY(-1px);
}

.auth-btn.cta {
  background: var(--mm-chartreuse);
  color: var(--mm-navy);
}

.auth-btn.cta:hover {
  background: #8ed015;
}

/* =========================================================================
 * MFA CODE INPUT
 * ========================================================================= */

.mfa-code-input {
  text-align: center !important;
  font-size: 1.6rem !important;
  letter-spacing: 8px;
  font-weight: 700;
  font-family: 'Consolas', monospace !important;
}

/* =========================================================================
 * QR CODE PLACEHOLDER
 * ========================================================================= */

.qr-placeholder {
  width: 160px;
  height: 160px;
  margin: 14px auto;
  background: var(--mm-lichtgrau);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  color: var(--text-secondary);
  border: 2px dashed var(--border-strong);
  gap: 4px;
}

/* =========================================================================
 * RECOVERY CODES
 * ========================================================================= */

.recovery-codes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 10px 0;
  font-family: 'Consolas', monospace;
  font-size: .78rem;
}

.recovery-codes span {
  background: var(--mm-lichtgrau);
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
}
