/* Boot splash shown until Vue mounts. Hex values duplicate e360 semantic tokens
   (tokens.scss is not loaded yet): light surface #ffffff / muted #6b7280;
   dark surface #0a0a0a / muted #a3a3a3. */

body {
  margin: 0;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
}

#loading-bg {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  block-size: 100%;
  inline-size: 100%;
}

html[data-theme="dark"] #loading-bg {
  background: #0a0a0a;
}

.e-boot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.e-boot__spinner {
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  border: 1.5px solid #6b7280;
  border-top-color: transparent;
  border-radius: 50%;
  animation: e-boot-spin 0.7s linear infinite;
}

html[data-theme="dark"] .e-boot__spinner {
  border-color: #a3a3a3;
  border-top-color: transparent;
}

.e-boot__label {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
}

html[data-theme="dark"] .e-boot__label {
  color: #a3a3a3;
}

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

@media (prefers-reduced-motion: reduce) {
  .e-boot__spinner {
    animation: none;
    opacity: 0.45;
    border-top-color: inherit;
  }
}
