/* Indicador de carregamento do HTMX: escondido até haver um pedido em curso. */
.htmx-indicator { visibility: hidden; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { visibility: visible; }

/* Rede de segurança: nada alarga a página na horizontal (clip, ao contrário de hidden,
   não cria contentor de rolagem e mantém o cabeçalho sticky a funcionar). */
html, body { overflow-x: clip; }

/* Carrossel: rolagem por arrasto/toque sem barra visível. */
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* Tema claro: os tons pastel dos avisos (feitos para o fundo escuro) ficam ilegíveis no claro. */
:root:not([data-theme="dark"]) .text-red-300:not(.theme-dark *),
:root:not([data-theme="dark"]) .text-red-400:not(.theme-dark *) { color: #b91c1c; }
:root:not([data-theme="dark"]) .text-emerald-300:not(.theme-dark *), :root:not([data-theme="dark"]) .text-emerald-400:not(.theme-dark *) { color: #047857; }
:root:not([data-theme="dark"]) .text-amber-400:not(.theme-dark *) { color: #b45309; }
:root:not([data-theme="dark"]) .text-sky-300:not(.theme-dark *) { color: #0369a1; }
