/* Tela de carregamento enquanto o motor do Flutter baixa (cores do design system: fundo e verde-petróleo). */
html,
body {
  margin: 0;
  height: 100%;
  background: #f4f6f3;
}

#carregando {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  color: #24333a;
}

#carregando .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e1e6e3;
  border-top-color: #123d46;
  border-radius: 50%;
  animation: girar 0.9s linear infinite;
}

@keyframes girar {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #carregando .spinner {
    animation: none;
  }
}

noscript {
  display: block;
  padding: 24px;
  font-family: system-ui, sans-serif;
  color: #24333a;
}
