/* eBayt global modal stacking standard.
 * System confirmations/alerts always sit above iziModal, Bootstrap and legacy dialogs.
 */
:root{
  --ebayt-z-modal-overlay:2147483600;
  --ebayt-z-modal:2147483610;
  --ebayt-z-alert-overlay:2147483645;
  --ebayt-z-alert:2147483646;
}

/* SweetAlert v1 used by legacy eBayt modules */
html body .sweet-overlay{
  position:fixed!important;
  inset:0!important;
  z-index:var(--ebayt-z-alert-overlay)!important;
}
html body .sweet-alert{
  position:fixed!important;
  z-index:var(--ebayt-z-alert)!important;
}

/* SweetAlert2 compatibility, if introduced by a module/library. */
html body .swal2-container{
  position:fixed!important;
  z-index:var(--ebayt-z-alert)!important;
}

/* Generic wrappers occasionally used by older alert integrations. */
html body .swal-overlay{
  position:fixed!important;
  z-index:var(--ebayt-z-alert-overlay)!important;
}
html body .swal-modal{
  position:relative!important;
  z-index:var(--ebayt-z-alert)!important;
}


/* Prevent transformed ancestors/theme containers from becoming an alert stacking context. */
body > .sweet-overlay,
body > .sweet-alert,
body > .swal2-container,
body > .swal-overlay{
  isolation:isolate;
}
