/* Boot loading screen for a cold page load. */

#app-boot-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: opacity 0.3s ease;
}

#app-boot-loader.app-boot-loader--hidden {
  opacity: 0;
  pointer-events: none;
}

.app-boot-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e3e3e3;
  border-top-color: #147fc2;
  border-radius: 50%;
  animation: app-boot-spin 0.8s linear infinite;
}

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

/* Calm the rotation down for users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .app-boot-spinner {
    animation-duration: 2s;
  }
}
