/* Boot shell styles. Kept in a file so the panel can run with a strict CSP. */
/* GitHub is the default palette; the palette blocks below override it. */
html[data-theme='dark'] body {
  background: #0d1117;
}
html[data-theme='light'] body,
html:not([data-theme]) body {
  background: #f6f8fa;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) body {
    background: #0d1117;
  }
}
html[data-palette='catppuccin'][data-theme='light'] body { background: #e6e9ef; }
html[data-palette='catppuccin'][data-theme='dark'] body { background: #181825; }
html[data-palette='flexoki'][data-theme='light'] body { background: #e6e4d9; }
html[data-palette='flexoki'][data-theme='dark'] body { background: #100f0f; }
html[data-palette='aura'][data-theme='light'] body { background: #f0ebf9; }
html[data-palette='aura'][data-theme='dark'] body { background: #15141b; }
html[data-palette='onedark'][data-theme='light'] body { background: #eef0f4; }
html[data-palette='onedark'][data-theme='dark'] body { background: #282c34; }
html,
body {
  margin: 0;
}
.boot-loader {
  display: flex;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font: 13px/1.6 'Helvetica Neue', Helvetica, ui-sans-serif, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  text-align: center;
}
.boot-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(127, 132, 156, 0.28);
  border-top-color: #7a2fdd;
  border-radius: 50%;
  animation: boot-spin 0.8s linear infinite;
}
html[data-theme='dark'] .boot-spinner {
  border-top-color: #cba6f7;
}
.boot-text {
  color: #6c6f85;
}
html[data-theme='dark'] .boot-text {
  color: #a6adc8;
}
.boot-error {
  max-width: 32rem;
  color: #6c6f85;
}
html[data-theme='dark'] .boot-error {
  color: #a6adc8;
}
.boot-error button {
  padding: 7px 16px;
  border: 1px solid rgba(127, 132, 156, 0.4);
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.boot-error button:hover {
  border-color: #7a2fdd;
}
@keyframes boot-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .boot-spinner {
    animation: none;
  }
}
