.pum-container {
  z-index: 2000001 !important;
}

#pme-custom-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--pme-overlay-bg, rgba(0,0,0,.5));
  backdrop-filter: var(--pme-overlay-blur, none);
  opacity: 0;
  pointer-events: none;
  z-index: 2000000 !important;
  transition: opacity .15s ease;
}

/* MailPoet forms mapped to a Popup Maker popup keep MailPoet's success
   state for detection, but suppress the built-in success message visually. */
.pme-mailpoet-popup-form .mailpoet_validate_success {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
