/* Splash screen */

.splash-screen {
  --primary: #1d5fbf;
  --accent: #e0a526;
  --bg: #f6f8fb;

  background: var(--bg);
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-bs-theme="dark"] .splash-screen {
  --bg: #070d1c;
}

.splash-screen .spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid var(--primary);
  border-top-color: var(--accent);
  animation: splash-spin 0.9s linear infinite;
}

@keyframes splash-spin {
  to { transform: rotate(360deg); }
}
