/* JANGKAR Notification Theme V13 (mobile + desktop)
   Presentation only. Does not intercept forms or change transaction processing. */
:root {
  --jn-ink: #27070b;
  --jn-maroon: #470b11;
  --jn-gold: #f5c76b;
  --jn-text: #fff5e8;
}

body .swal2-container.swal2-backdrop-show {
  background-color: rgba(7, 1, 3, .66) !important;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
body .swal2-container .swal2-popup:not(.jn-toast) {
  box-sizing: border-box !important;
  background: linear-gradient(155deg, var(--jn-maroon), var(--jn-ink)) !important;
  background-image: linear-gradient(155deg, #470b11, #27070b) !important;
  background-size: cover !important;
  border: 1px solid rgba(245,199,107,.34) !important;
  border-radius: 20px !important;
  width: min(90vw, 385px) !important;
  max-width: 385px !important;
  padding: 20px 18px 22px !important;
  color: var(--jn-text) !important;
  box-shadow: 0 22px 75px rgba(0,0,0,.52) !important;
}
body .swal2-container .swal2-popup:not(.jn-toast) .swal2-title,
body .swal2-container .swal2-popup:not(.jn-toast) .swal2-title.jangkar-swal-title {
  color: var(--jn-gold) !important;
  font-size: 21px !important;
  line-height: 1.3 !important;
  font-weight: 750 !important;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif !important;
  padding: 6px 0 0 !important;
  margin: 0 !important;
}
body .swal2-container .swal2-popup:not(.jn-toast) .swal2-html-container,
body .swal2-container .swal2-popup:not(.jn-toast) .swal2-content {
  color: var(--jn-text) !important;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  margin: 13px 0 0 !important;
  overflow-wrap: anywhere;
}
body .swal2-container .swal2-popup:not(.jn-toast) .swal2-actions {margin: 20px 0 0 !important;}
body .swal2-container .swal2-confirm,
body .swal2-container .swal2-popup .jangkar-swal-confirm {
  background: linear-gradient(180deg, #e3b356, #b98226) !important;
  border: none !important;
  color: #2a0a0b !important;
  font: 700 14px system-ui, -apple-system, "Segoe UI", sans-serif !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  min-width: 112px;
  min-height: 43px;
  padding: 10px 20px !important;
}
body .swal2-container .swal2-cancel {
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 10px !important;
  color: #fff !important;
  min-height: 43px;
}
body .swal2-container .swal2-confirm:focus-visible,
body .swal2-container .swal2-cancel:focus-visible {
  outline: 2px solid #f5c76b !important;
  outline-offset: 2px;
}
body .swal2-container .swal2-icon {
  transform: scale(.80);
  margin: 6px auto 4px !important;
}

/* Success notices: small unobtrusive toast, disappears automatically. */
body .swal2-container .swal2-popup.jn-toast,
body .swal2-container .swal2-popup.jangkar-toast-popup {
  box-sizing: border-box !important;
  background: linear-gradient(120deg, #3b0c11, #210709) !important;
  background-image: linear-gradient(120deg, #3b0c11, #210709) !important;
  border: 1px solid rgba(245,199,107,.38) !important;
  border-radius: 14px !important;
  width: min(90vw, 356px) !important;
  max-width: 356px !important;
  padding: 10px 14px !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.36) !important;
  color: #fff !important;
}
body .swal2-container .swal2-popup.jn-toast .swal2-title,
body .swal2-container .swal2-popup.jangkar-toast-popup .swal2-title {
  font: 700 14px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif !important;
  color: #fff7e7 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body .swal2-container .swal2-popup.jn-toast .swal2-html-container,
body .swal2-container .swal2-popup.jn-toast .swal2-content {
  color: #eedec8 !important;
  font: 12px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif !important;
}
body .swal2-container .swal2-popup.jn-toast .swal2-icon {transform:scale(.60); margin:0 6px 0 0 !important;}
body .swal2-container .swal2-popup.jn-toast .swal2-timer-progress-bar {
  background: #f5c76b !important;
}

/* Inline form alerts (withdraw and deposit): keep important text visible. */
body.mobile .content .alert.alert-success,
body.desktop .content .alert.alert-success {
  background: #13352c !important;
  border: 1px solid rgba(107,217,168,.36) !important;
  border-left: 4px solid #71d1a6 !important;
  color: #e8fff6 !important;
  border-radius: 12px !important;
}
body.mobile .content .alert.alert-danger,
body.desktop .content .alert.alert-danger,
body.mobile .content .alert.alert-warning,
body.desktop .content .alert.alert-warning {
  background: #3d2016 !important;
  border: 1px solid rgba(244,186,95,.38) !important;
  border-left: 4px solid #f2bf6b !important;
  color: #fff3dc !important;
  border-radius: 12px !important;
}
body.mobile .content .alert .close,
body.desktop .content .alert .close { color: inherit !important; opacity:.78; }
@media (prefers-reduced-motion:reduce) {
  body .swal2-container .swal2-popup {animation:none !important;}
}

/* HILANGKAN TITIK BANNER MOBILE & DESKTOP */
#carousel-fixed-height .carousel-indicators,
#carousel-fixed-height .swiper-pagination,
#carousel-fixed-height .swiper-pagination-bullet {
    display: none !important;
}