/**
 * SweetAlert2 — ícones “limpos” para o painel:
 * sucesso = círculo verde + um ✓; erro = círculo vermelho + ×
 * (sem anéis animados / vários traços do tema padrão).
 */

html body .swal2-container .swal2-icon.swal2-success,
html body .swal2-container .swal2-icon.swal2-error,
html body .swal2-container .swal2-icon.swal2-warning,
html body .swal2-container .swal2-icon.swal2-info,
html body .swal2-container .swal2-icon.swal2-question {
  animation: none !important;
  border: none !important;
  color: #fff !important;
  overflow: visible !important;
}

/* Cortar animações internas */
html body .swal2-container .swal2-icon.swal2-success *,
html body .swal2-container .swal2-icon.swal2-error *,
html body .swal2-container .swal2-icon.swal2-warning *,
html body .swal2-container .swal2-icon.swal2-info *,
html body .swal2-container .swal2-icon.swal2-question * {
  animation: none !important;
}

/* Sucesso: esconder anel, arcos e duas “pernas” do check animado */
html body .swal2-container .swal2-icon.swal2-success [class^="swal2-success-"],
html body .swal2-container .swal2-icon.swal2-success .swal2-success-ring,
html body .swal2-container .swal2-icon.swal2-success .swal2-success-fix {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

html body .swal2-container .swal2-icon.swal2-success svg {
  display: none !important;
}

html body .swal2-container .swal2-icon.swal2-success {
  background: linear-gradient(155deg, #34d399, #16a34a) !important;
  box-shadow: 0 6px 22px rgba(34, 197, 94, 0.38) !important;
}

html body .swal2-container .swal2-icon.swal2-success::after {
  content: "\2713";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%);
  font-size: 2.65em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  pointer-events: none;
}

/* Erro: esconder X desenhado com duas linhas */
html body .swal2-container .swal2-icon.swal2-error .swal2-x-mark,
html body .swal2-container .swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
  display: none !important;
}

html body .swal2-container .swal2-icon.swal2-error svg {
  display: none !important;
}

html body .swal2-container .swal2-icon.swal2-error {
  background: linear-gradient(155deg, #f87171, #dc2626) !important;
  box-shadow: 0 6px 22px rgba(239, 68, 68, 0.38) !important;
}

html body .swal2-container .swal2-icon.swal2-error::after {
  content: "\00D7";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%);
  font-size: 3.1em;
  font-weight: 300;
  line-height: 1;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  pointer-events: none;
}

/* Aviso */
html body .swal2-container .swal2-icon.swal2-warning .swal2-icon-content {
  font-size: 0 !important;
  color: transparent !important;
}

html body .swal2-container .swal2-icon.swal2-warning svg {
  display: none !important;
}

html body .swal2-container .swal2-icon.swal2-warning {
  background: linear-gradient(155deg, #fbbf24, #d97706) !important;
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.35) !important;
}

html body .swal2-container .swal2-icon.swal2-warning::after {
  content: "!";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  font-size: 2.75em;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  pointer-events: none;
}

/* Info */
html body .swal2-container .swal2-icon.swal2-info .swal2-icon-content {
  font-size: 0 !important;
  color: transparent !important;
}

html body .swal2-container .swal2-icon.swal2-info svg {
  display: none !important;
}

html body .swal2-container .swal2-icon.swal2-info {
  background: linear-gradient(155deg, #38bdf8, #0284c7) !important;
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.35) !important;
}

html body .swal2-container .swal2-icon.swal2-info::after {
  content: "i";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%);
  font-size: 2.5em;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}

/* Pergunta */
html body .swal2-container .swal2-icon.swal2-question .swal2-icon-content {
  font-size: 0 !important;
  color: transparent !important;
}

html body .swal2-container .swal2-icon.swal2-question svg {
  display: none !important;
}

html body .swal2-container .swal2-icon.swal2-question {
  background: linear-gradient(155deg, #94a3b8, #64748b) !important;
  box-shadow: 0 6px 22px rgba(100, 116, 139, 0.35) !important;
}

html body .swal2-container .swal2-icon.swal2-question::after {
  content: "?";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -56%);
  font-size: 2.65em;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  pointer-events: none;
}

/* Toasts: ícone menor */
html body .swal2-popup.swal2-toast .swal2-icon.swal2-success::after {
  font-size: 1.05em;
  transform: translate(-50%, -50%);
}

html body .swal2-popup.swal2-toast .swal2-icon.swal2-error::after {
  font-size: 1.35em;
  transform: translate(-50%, -52%);
}

html body .swal2-popup.swal2-toast .swal2-icon.swal2-warning::after {
  font-size: 1.1em;
  transform: translate(-50%, -50%);
}

html body .swal2-popup.swal2-toast .swal2-icon.swal2-info::after {
  font-size: 1em;
  transform: translate(-50%, -50%);
}
