/*
  Full-screen post-login bootstrap loader (js/common/BootstrapLoader.js).
  Loaded statically in index.html (tier 1, alongside app-shell.css/
  badge.css) — see that file's comment — since it must be able to appear
  correctly no matter what ViewRenderer currently has mounted (login page,
  or the App Shell mid-render), never depending on any view's own
  styleUrls. Same dark brand surface + white isotype already established
  by login.css's brand panel, just centered as a standalone full-screen
  moment instead of a two-panel layout.
*/

.bootstrap-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  background: var(--brand-950);
}

.bootstrap-loader__logo {
  width: 64px;
  height: auto;
}

.bootstrap-loader__spinner {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--brand-400);
  animation: bootstrap-loader-spin 800ms linear infinite;
}

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

.bootstrap-loader__text {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: var(--font-size-md);
  color: var(--text-inverse);
  letter-spacing: 0.2px;
}

@media (prefers-reduced-motion: reduce) {
  .bootstrap-loader__spinner {
    animation: none;
  }
}
