.vistaerp-webform-popup-trigger {
  appearance: none;
  background: #128387;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 25px;
}

.vistaerp-webform-popup-trigger:hover {
  opacity: 0.9;
}


.vistaerp-webform-popup-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  height: 100%;
  justify-content: center;
  left: 0;
  overflow-y: auto;
  padding: 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999999;
}


.vistaerp-webform-popup-modal.is-open {
  display: flex;
}


.vistaerp-webform-popup-dialog {
  background: #ffffff;
  border-radius: 12px;
  box-sizing: border-box;
  max-height: 90vh;
  max-width: 700px;
  overflow-y: auto;
  padding: 45px 30px 30px;
  position: relative;
  width: 100%;
}


.vistaerp-webform-popup-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #12304a;
  cursor: pointer;
  display: flex;
  font-size: 32px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 15px;
  top: 10px;
  width: 40px;
}


.vistaerp-webform-popup-content {
  width: 100%;
}


body.vistaerp-popup-open {
  overflow: hidden;
}


@media (max-width: 767px) {

  .vistaerp-webform-popup-modal {
    padding: 15px;
  }

  .vistaerp-webform-popup-dialog {
    max-height: 92vh;
    padding: 45px 20px 25px;
  }

  .vistaerp-webform-popup-trigger {
    width: 100%;
  }

}