:root {
  --rt-primary: #006ab5;
  --rt-primary-dark: #00538f;
  --rt-surface: #ffffff;
  --rt-background: #f3f6f9;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 106, 181, .12), transparent 32rem),
    var(--rt-background);
  color: #222;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.auth-card {
  width: min(100%, 34rem);
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 1.25rem 4rem rgba(24, 39, 75, .12);
}

.auth-card-wide { width: min(100%, 58rem); }

.auth-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.5rem;
}

.auth-brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: .9rem;
  display: grid;
  place-items: center;
  background: var(--rt-primary);
  color: #fff;
  font-size: 1.4rem;
}

.btn-primary {
  --bs-btn-bg: var(--rt-primary);
  --bs-btn-border-color: var(--rt-primary);
  --bs-btn-hover-bg: var(--rt-primary-dark);
  --bs-btn-hover-border-color: var(--rt-primary-dark);
}

.form-control:focus, .form-select:focus {
  border-color: rgba(0, 106, 181, .65);
  box-shadow: 0 0 0 .25rem rgba(0, 106, 181, .15);
}

.security-code {
  font-size: 1.6rem;
  letter-spacing: .35rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.recovery-codes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 575.98px) {
  .recovery-codes { grid-template-columns: 1fr; }
}
