/* Estilos del boot splash de index.html.
 *
 * Viven en una hoja propia (servida desde 'self') porque la CSP endurece
 * style-src-elem: los bloques <style> inline ya no estan permitidos.
 * Los selectores son los mismos que el antiguo bloque inline de index.html.
 */

body {
  margin: 0;
  min-height: 100vh;
  background-image: linear-gradient(to bottom right, #e0e7ff, #faf5ff, #ccfbf1);
  background-attachment: fixed;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
}

html.dark body {
  background-image: linear-gradient(to bottom right, #1e293b, #0f172a, #020617);
}

#boot-splash {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#boot-card {
  text-align: center;
  padding: 20px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

html.dark #boot-card {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(71, 85, 105, 0.45);
}

.boot-spinner {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: 4px solid rgba(168, 85, 247, 0.25);
  border-top-color: rgba(168, 85, 247, 1);
  animation: boot-spin 0.9s linear infinite;
  margin: 0 auto;
}

#boot-text {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(51, 65, 85, 1);
}

html.dark #boot-text {
  color: rgba(226, 232, 240, 0.92);
}

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