/* Auth-screen overlay. Shown by auth.js while MSAL.js is signing in or while
   /api/me is resolving the role. Hidden once authReady fulfills.

   Tokens-only — no hard-coded colors. Lives outside css/components/ because
   this is a chrome-replacement overlay rather than a view component. */

.auth-pending .sidebar,
.auth-pending .main {
  display: none !important;
}

#authScreen {
  position: fixed;
  inset: 0;
  background: var(--navy);
  color: #fff;
  display: none; /* shown by auth.js */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: var(--font-stack);
}

#authScreen .auth-card {
  text-align: center;
  max-width: 420px;
  padding: 40px 32px;
}

#authScreen .auth-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.18);
  border-top-color: var(--ashley-orange);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: auth-spin 0.9s linear infinite;
}

@keyframes auth-spin {
  to { transform: rotate(360deg); }
}

#authScreen .auth-brand {
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

#authScreen .auth-headline {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

#authScreen .auth-sub {
  color: #cbd5e1;
  font-size: var(--fs-body);
  line-height: 1.55;
}
