body div.vx-popup.ea4v-popup.ea4v-full-screen>.ts-popup-root>.ts-form {
  position: static !important;
  max-width: 100vw !important;
  width: 100vw !important;
  height: 100dvh !important;
  margin: 0 !important;
}

body div.vx-popup.ea4v-popup.ea4v-full-screen>.ts-popup-root>.ts-form>.ts-field-popup-container {
  margin: 0 !important;
  top: 0 !important;
  height: 100dvh !important;
}

body div.vx-popup.ea4v-popup.ea4v-full-screen>.ts-popup-root>.ts-form>.ts-field-popup-container>.ts-field-popup {
  min-width: 100vw !important;
  width: 100vw !important;
  min-height: 100dvh !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  border-radius: 0 !important;
  border: none !important;
}

body div.vx-popup.ea4v-popup.ea4v-full-screen>.ts-popup-root>.ts-form>.ts-field-popup-container>.ts-field-popup>.ts-popup-content-wrapper {
  width: 100vw !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
}


.ea4v-popup-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.177);
  z-index: 500000;
}




.ea4v-popup .ts-popup-root {
  pointer-events: unset !important;
}

/* Reset height on mobile/tablet - desktop only control */
@media (max-width: 1024px) {
  .ea4v-popup .ts-popup-root .ts-form .ts-field-popup-container>.ts-field-popup>.ts-popup-content-wrapper {
    height: auto !important;
    max-height: 100vh !important;
  }
}

/* Modal mode: center popup on screen (desktop only) */
@media (min-width: 1025px) {
  [data-open-as="modal"]>div {
    position: fixed !important;
  }

  [data-open-as="modal"]>div>.ts-form {
    position: static !important;
    max-width: initial;
    width: auto !important;
  }
}