/* Boot screen shown until Flutter takes over the page. Colours mirror the
   design system (lib/ui/theme/app_colors.dart, light): background,
   progressTrack, accentColor, textPrimary. Plain CSS on purpose: it ships with the first
   request, before any Dart runs. */
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  height: 100vh;
  margin: 0;
  background-color: #F6F3EF;
}

.boot-logo {
  width: 56px;
  height: 56px;
}

.progress-container {
  width: 120px;
  height: 8px;
  background-color: #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: #432DD7;
  transition: width 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .progress-bar {
    transition: none;
  }
}

/* Replaces the bar when the engine fails to start (flutter_bootstrap.js). */
.boot-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: #1A1A1A;
}

.boot-error p {
  margin: 0;
}

.boot-error button {
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background-color: #432DD7;
  color: #FFFFFF;
  font: inherit;
  cursor: pointer;
}
