/* Jungle · SweetAlert2 theme — plain centered icons (no fragile SWAL animations) */

.swal2-container {
  z-index: 12000;
  font-family: "Manrope", system-ui, sans-serif;
}

.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-noanimation {
  background: rgba(5, 8, 7, 0.78);
  backdrop-filter: blur(6px);
}

.swal2-popup.jungle-swal {
  width: min(420px, calc(100vw - 2rem));
  padding: 1.65rem 1.5rem 1.35rem;
  border-radius: 4px;
  border: 1px solid #26352c;
  background:
    linear-gradient(165deg, rgba(201, 162, 39, 0.07) 0%, transparent 42%),
    #101612;
  color: #e7ece8;
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.55);
}

.swal2-popup.jungle-swal .swal2-title {
  margin: 0.35rem 0 0.4rem;
  padding: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #e7ece8;
  line-height: 1.3;
}

.swal2-popup.jungle-swal .swal2-html-container {
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #849289;
}

/* Kill default animated check / X / rings — they break under global box-sizing */
.swal2-popup.jungle-swal .swal2-success-circular-line-left,
.swal2-popup.jungle-swal .swal2-success-circular-line-right,
.swal2-popup.jungle-swal .swal2-success-fix-tip,
.swal2-popup.jungle-swal .swal2-success-fix-long,
.swal2-popup.jungle-swal .swal2-success-ring,
.swal2-popup.jungle-swal .swal2-success-fix-frame,
.swal2-popup.jungle-swal .swal2-x-mark,
.swal2-popup.jungle-swal .swal2-x-mark-line-left,
.swal2-popup.jungle-swal .swal2-x-mark-line-right {
  display: none !important;
}

.swal2-popup.jungle-swal .swal2-icon {
  position: relative !important;
  box-sizing: border-box !important;
  width: 3.25rem !important;
  height: 3.25rem !important;
  margin: 0.25rem auto 0.85rem !important;
  border: 2px solid currentColor !important;
  border-radius: 50% !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: none !important;
  animation: none !important;
}

.swal2-popup.jungle-swal .swal2-icon::before,
.swal2-popup.jungle-swal .swal2-icon::after {
  display: none !important;
  content: none !important;
}

.swal2-popup.jungle-swal .swal2-icon .swal2-icon-content,
.swal2-popup.jungle-swal .jungle-swal-glyph {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  position: static !important;
  transform: none !important;
  animation: none !important;
}

.swal2-popup.jungle-swal .swal2-success {
  border-color: #2f9e62 !important;
  color: #2f9e62 !important;
}

.swal2-popup.jungle-swal .swal2-error {
  border-color: #d6453a !important;
  color: #d6453a !important;
}

.swal2-popup.jungle-swal .swal2-warning {
  border-color: #c9a227 !important;
  color: #c9a227 !important;
}

.swal2-popup.jungle-swal .swal2-info,
.swal2-popup.jungle-swal .swal2-question {
  border-color: #849289 !important;
  color: #849289 !important;
}

.swal2-popup.jungle-swal .swal2-actions {
  margin: 1.25rem 0 0;
  gap: 0.55rem;
}

.swal2-popup.jungle-swal .swal2-styled {
  margin: 0;
  padding: 0.55rem 1.15rem;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  transform: none !important;
}

.swal2-popup.jungle-swal .swal2-styled:active {
  transform: none !important;
}

.swal2-popup.jungle-swal .swal2-confirm {
  background: #c9a227 !important;
  border: 1px solid #c9a227 !important;
  color: #0a0d0b !important;
}

.swal2-popup.jungle-swal .swal2-confirm:hover {
  filter: brightness(1.06);
}

.swal2-popup.jungle-swal .swal2-confirm:focus {
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.35) !important;
}

.swal2-popup.jungle-swal .swal2-deny,
.swal2-popup.jungle-swal .swal2-cancel {
  background: transparent !important;
  border: 1px solid #26352c !important;
  color: #e7ece8 !important;
}

.swal2-popup.jungle-swal .swal2-cancel:hover,
.swal2-popup.jungle-swal .swal2-deny:hover {
  border-color: #c9a227 !important;
  color: #c9a227 !important;
  background: rgba(201, 162, 39, 0.1) !important;
}

.swal2-popup.jungle-swal .swal2-timer-progress-bar {
  background: #c9a227;
}

/* ——— Toasts ——— */
.swal2-popup.jungle-swal-toast {
  width: auto !important;
  max-width: min(380px, calc(100vw - 1.5rem));
  min-height: 0 !important;
  padding: 0.7rem 0.95rem !important;
  border-radius: 3px;
  border: 1px solid #26352c;
  background: #151c18;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: center !important;
  column-gap: 0.65rem;
  row-gap: 0.1rem;
}

.swal2-popup.jungle-swal-toast .swal2-icon {
  grid-row: 1 / span 2;
  width: 1.85rem !important;
  height: 1.85rem !important;
  margin: 0 !important;
}

.swal2-popup.jungle-swal-toast .swal2-icon .swal2-icon-content,
.swal2-popup.jungle-swal-toast .jungle-swal-glyph {
  font-size: 0.85rem !important;
}

.swal2-popup.jungle-swal-toast .swal2-title {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 !important;
  padding: 0 !important;
  color: #e7ece8;
  text-align: left !important;
  line-height: 1.35;
}

.swal2-popup.jungle-swal-toast .swal2-html-container {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.78rem;
  color: #849289;
  text-align: left !important;
}

.swal2-container.swal2-top-end > .swal2-popup.jungle-swal-toast {
  margin: 0.75rem 0.75rem 0 0;
}
