/* Bootstrap splash — loaded from index.html before the JS bundle */
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  min-height: 100dvh;
}

html.app-booting,
html.app-booting body {
  overflow: hidden;
  background: #020617;
}

.app-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
  background: #020617;
  text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.app-splash__bg {
  position: absolute;
  inset: 0;
  background: #020617 center / cover no-repeat url("/splash-background.png");
}

.app-splash__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
}

.app-splash__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.app-splash__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: #2258c3;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.app-splash__logo svg {
  display: block;
  width: 2rem;
  height: 2rem;
}

.app-splash__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.app-splash__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.app-splash__spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: app-splash-spin 0.75s linear infinite;
}

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