/* Mimeogra.fun — modal de alerta compartilhado (js/mimeogra-alerta.js).
   Mesmo visual do modal de imagem do editor; classes próprias para não depender de CSS protegido. */
.mf-alerta-overlay { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 20px; border: 0; box-sizing: border-box; background: transparent; display: flex; align-items: center; justify-content: center; }
.mf-alerta-overlay:not([open]) { display: none; }
.mf-alerta-overlay::backdrop { background: rgba(9, 24, 42, .62); backdrop-filter: blur(2px); }
.mf-alerta-overlay[hidden] { display: none !important; }
.mf-alerta { width: min(460px, 100%); max-height: calc(100dvh - 40px); overflow: auto; box-sizing: border-box; padding: 26px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 22px 60px rgba(9, 24, 42, .28); font-family: inherit; }
.mf-alerta__icone { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; font-size: 22px; }
.mf-alerta--erro .mf-alerta__icone { background: #fff0ef; color: #c62828; }
.mf-alerta--aviso .mf-alerta__icone { background: #fff3e9; color: #e8710a; }
.mf-alerta--sucesso .mf-alerta__icone { background: #eaf7ef; color: #1e7a45; }
.mf-alerta--confirmacao .mf-alerta__icone { background: #eaf2fb; color: #16456f; }
.mf-alerta h2 { margin: 0 0 10px; color: #18334d; font-size: 19px; line-height: 1.35; text-align: center; }
.mf-alerta p { margin: 0 0 18px; color: #526477; font-size: 14px; line-height: 1.55; text-align: center; overflow-wrap: anywhere; white-space: pre-line; }
.mf-alerta__acoes { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.mf-alerta__botao { min-width: 120px; padding: 10px 18px; border: 1px solid #16456f; border-radius: 10px; background: #16456f; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.mf-alerta__botao--secundario { border-color: #c9d4df; background: #fff; color: #18334d; }
.mf-alerta__botao:focus-visible { outline: 3px solid #f58220; outline-offset: 2px; }
.mf-alerta__campo { display: block; margin: 0 0 18px; text-align: left; }
.mf-alerta__campo span { display: block; margin-bottom: 6px; color: #18334d; font-size: 13px; font-weight: 700; }
.mf-alerta__campo textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #c9d4df; border-radius: 10px; font: inherit; resize: vertical; }
.mf-alerta__botao:disabled { opacity: .5; cursor: not-allowed; }
