/* Minible-style app splash (replaces Vuexy loader) */
:root {
  --splash-bg: #f8f9fa;
  --splash-primary: #5b73e8;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--splash-bg);
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--splash-bg);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#preloader .splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

#preloader .splash-logo {
  display: block;
  height: 36px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

#preloader .splash-title {
  margin: 0;
  color: #495057;
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

#status {
  position: relative;
  width: 56px;
  height: 56px;
}

#status .spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#status .spinner-ring {
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  border: 3px solid rgba(91, 115, 232, 0.18);
  border-top-color: var(--splash-primary);
  border-radius: 50%;
  animation: splash-spin 0.85s linear infinite;
}

#status .spinner-core {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--splash-primary);
  box-shadow: 0 0 0 4px rgba(91, 115, 232, 0.12);
}

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