/* Pre-Flutter splash. Renders inline in index.html before main.dart.js
   loads, then fades out from flutter_bootstrap.js once the engine is up.
   Colors match design_system.md: white surface, green progress bar
   (#00C96D → #00B061), purple-tinted track. */

#loading {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

#loading img {
  width: 96px;
  height: 96px;
  margin-bottom: 28px;
  user-select: none;
  -webkit-user-drag: none;
}

#loading .progress-bar {
  width: 200px;
  height: 4px;
  background: rgba(31, 14, 62, 0.08); /* #1F0E3E @ 8% — brand purple */
  border-radius: 2px;
  overflow: hidden;
}

#loading .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00c96d, #00b061);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}
