/* App splash - initial page load (Booken reference style) */
#app-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  background-color: #fff;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#app-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.app-splash__spinner {
  width: 2.75rem;
  height: 2.75rem;
  border: 3px solid #ececec;
  border-top-color: #e15f11;
  border-radius: 9999px;
  animation: app-splash-spin 0.75s linear infinite;
}

.app-splash__label {
  margin: 0;
  font-family: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: #5a5a5a;
  letter-spacing: 0.01em;
}

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

@media (prefers-reduced-motion: reduce) {
  .app-splash__spinner {
    animation: none;
    border-top-color: #e15f11;
    opacity: 0.85;
  }
}
