/* Avisos do site (js/alerta.js) — SweetAlert2 no padrão do FrotiX: cartão escuro com faixa do ícone e do título em cima,
   mensagem no meio e botões numa faixa embaixo. A moldura do SweetAlert fica transparente; o cartão é a nossa. */
.swal2-container.swal2-backdrop-show { background: rgba(20, 16, 36, .62); backdrop-filter: blur(2px); }
.swal2-popup.al-popup { width: min(430px, calc(100vw - 24px)); padding: 0; background: transparent; border: 0; box-shadow: none; overflow: visible; }
.swal2-popup.al-popup .swal2-html-container { margin: 0; padding: 0; overflow: visible; }
.al-cartao {
  overflow: hidden; border-radius: 12px; background: #1e1e2f; color: #e0e0e0; text-align: center;
  font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(201, 168, 255, .16);
}
.al-topo { padding: 24px 24px 18px; background: #2d2d4d; }
.al-icone { display: block; width: 64px; height: 64px; margin: 0 auto 12px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.al-titulo { font: 700 20px/1.25 'Space Grotesk', 'Segoe UI', sans-serif; color: #c9a8ff; overflow-wrap: anywhere; }
.al-corpo { padding: 20px 24px; background: #1e1e2f; }
.al-texto { margin: 0; font-size: 15px; line-height: 1.6; color: #e0e0e0; overflow-wrap: anywhere; white-space: pre-line; }
.al-rodape { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 15px; background: #3b3b5c; }
.al-btn { min-width: 96px; padding: 9px 20px; border: 0; border-radius: 7px; cursor: pointer; font: 600 14px 'IBM Plex Sans', 'Segoe UI', sans-serif; transition: filter .12s, transform .12s; }
.al-btn:hover { filter: brightness(1.12); }
.al-btn:active { transform: translateY(1px); }
.al-btn:focus-visible { outline: 2px solid #7fd4c0; outline-offset: 2px; }
.al-btn--ok { background: #2f9e7a; color: #fff; }
.al-btn--cancelar { background: #8b2c4a; color: #fff; }
.al-cartao--erro .al-topo { box-shadow: inset 0 -3px 0 #ff6f8e; }
.al-cartao--sucesso .al-topo { box-shadow: inset 0 -3px 0 #5fe0a0; }
.al-cartao--info .al-topo { box-shadow: inset 0 -3px 0 #7fd4c0; }
.al-cartao--aviso .al-topo { box-shadow: inset 0 -3px 0 #ffc15a; }
.al-cartao--pergunta .al-topo { box-shadow: inset 0 -3px 0 #c9a8ff; }
@keyframes alEntra { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes alSai { from { opacity: 1; } to { opacity: 0; transform: scale(.97); } }
.al-entra { animation: alEntra .2s ease both; }
.al-sai { animation: alSai .14s ease both; }
@media (prefers-reduced-motion: reduce) { .al-entra, .al-sai { animation: none; } }
