.swal2-popup.toast-dark {
    border: 1px solid #334155;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.swal2-title {
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4 !important; /* evita line-height do h2 do tema (3.5rem) */
}

.swal2-toast .swal2-title {
    margin: 0.5em 1em !important;
    padding: 0 !important;
    line-height: 1.35 !important;
}

.swal2-timer-progress-bar {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.swal2-popup.msgbox-dark {
    border: 1px solid #334155;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    border-radius: 12px;
}

.swal2-title.msgbox-title {
    font-weight: 600;
    color: #93c5fd;
    /* Azul suave */
}

.swal2-confirm.msgbox-confirm {
    font-weight: 500;
    border-radius: 8px !important;
    padding: 8px 18px !important;
}

.swal2-icon.swal2-success {
    border-color: #10b981 !important;
    color: #10b981 !important;
}

.swal2-icon.swal2-error {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

.swal2-icon.swal2-warning {
    border-color: #facc15 !important;
    color: #facc15 !important;
}

.swal2-toast .swal2-html-container {
  display: none !important;
}

/* Toast colorido conforme o ícone (Swal adiciona swal2-icon-*) */
.colored-toast {
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18) !important;
  align-items: center !important;
  display: flex !important;
}

.colored-toast.swal2-icon-success {
  background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
  background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
  background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
  background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
  background-color: #87adbd !important;
}

.colored-toast .swal2-icon {
  margin: 0 0.75em 0 0 !important;
  align-self: center !important;
}

.colored-toast .swal2-title {
  color: white !important;
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
  max-width: 320px;
  align-self: center !important;
}

.colored-toast .swal2-close {
  color: white !important;
  align-self: center !important;
}

/* esconde o html-container vazio (ele empurra o título para cima no grid do Swal) */
.colored-toast .swal2-html-container {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

.colored-toast .swal2-timer-progress-bar {
  background: rgba(255, 255, 255, 0.55) !important;
}