.form-popup .elementor-field-type-acceptance .elementor-field-option {
  display: flex;
  align-items: flex-start;
}

.form-popup .elementor-field-group {
  align-content: flex-start;
}

.form-popup .elementor-field-type-acceptance .elementor-field-subgroup label {
  margin: 0px;
}

.form-popup input[type="checkbox"].elementor-acceptance-field {
  border: 2px solid #d2d4d8;
  border-radius: 4px !important;
  background-color: #ffffff;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  outline: none;
}

.form-popup input[type="checkbox"].elementor-acceptance-field:checked {
  border-color: #2e308b !important;
  background-color: #2e308b !important;
}

.form-popup input[type="checkbox"].elementor-acceptance-field::after {
  border: 2px solid #ffffff;
  border-top: 0;
  border-left: 0;

  width: 6px;
  height: 11px;
  left: 4px;
  top: 0px;
}

.form-popup a.dialog-close-button {
  text-decoration: none;
}

.form-popup input::placeholder,
.form-popup textarea::placeholder {
  color: #a5a9b1 !important;
}

.form-popup .elementor-field-type-select .elementor-select-wrapper select {
  height: 40px;
}

.form-popup
  .elementor-field-type-select
  .elementor-select-wrapper
  select:invalid {
  color: #a5a9b1;
}

.form-popup
  .elementor-field-type-select
  .elementor-select-wrapper
  select
  > option {
  color: #121923;
}

.form-popup .elementor-field-type-acceptance a {
  color: #2e308b;
  text-decoration: underline;
}

/* scrollbar appears inside the popup. shifting that scrollbar to appear on lightbox */

.form-popup.elementor-popup-modal.dialog-type-lightbox {
  height: 100dvh;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: center;
  align-items: center;
  padding: 10px 0px;
}

.form-popup > .dialog-widget-content {
  max-height: none !important;
  height: auto;
  position: relative;
  width: fit-content !important;
}

.form-popup .dialog-message {
  max-height: none !important;
  overflow: visible !important;
}
