/* Fondo disponible antes de React. Sin capa para prevalecer sobre el fondo base antiguo. */
html, body {
  margin: 0;
  min-height: 100%;
  background: #f8f9ff;
}

body, #root {
  min-height: 100vh;
  background: linear-gradient(145deg, #f8f9ff 0%, #eef2ff 48%, #f7efff 100%);
}

/* React reemplaza este contenido al montar; no interviene en las rutas ni en los formularios. */
.startup-loader {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  color: #293d82;
  font: 16px/1.5 system-ui, sans-serif;
  text-align: center;
}

.startup-brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; }
.startup-brand img { display: block; }
.startup-loader p { margin: 0; font-size: 14px; color: #65708c; }
.startup-spinner {
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  border: 3px solid #dfe4f4;
  border-top-color: #4969cf;
  border-radius: 50%;
  animation: startup-spin .8s linear infinite;
}
@keyframes startup-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .startup-spinner { animation: none; } }
