.wacv-modal-get-email {
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background-color: rgba(15, 23, 42, 0.45);
  color: #1b1b1b;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.wacv-modal-get-email.wacv-is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.wacv-modal-get-email .wacv-recaptcha-field * {
  box-sizing: border-box;
}
.wacv-modal-get-email .wacv-recaptcha-field .wacv-recaptcha {
  width: 100%;
  margin: auto;
  text-align: center;
  display: flex;
  max-width: 100%;
}
.wacv-modal-get-email .wacv-recaptcha-field .wacv-recaptcha > div {
  margin: auto;
}
.wacv-modal-get-email .wacv-recaptcha-field .wacv-recaptcha > div.wacv-recaptcha-error {
  border: 1px solid #d63638;
  border-radius: 4px;
}

.wacv-modal-wrapper {
  position: absolute;
  margin: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 10px));
  max-width: 500px;
  width: calc(100% - 32px);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.wacv-modal-get-email.wacv-is-open .wacv-modal-wrapper {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.wacv-modal-content {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.18);
}

.wacv-close-popup:not(.wacv-close-text) {
  color: #50575e;
  position: absolute;
  right: 8px;
  top: 8px;
  font-size: 28px;
  font-weight: 400;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
}

.wacv-close-popup:hover,
.wacv-close-popup:focus {
  color: #1d2327;
  text-decoration: none;
  cursor: pointer;
}

.wacv-close-popup:focus-visible,
.wacv-popup-input-email:focus-visible,
.wacv-popup-input-phone-number:focus-visible,
.wacv-country-calling-code:focus-visible,
.wacv-get-email-btn:focus-visible,
.wacv-gdpr-checkbox:focus-visible {
  outline: 2px solid #2271b1;
  outline-offset: 2px;
}

.wacv-close-text {
  text-align: center;
  margin-top: 14px;
  line-height: 1.4;
  font-size: 14px;
  color: #646970;
  cursor: pointer;
  background: none;
  border: 0;
  width: 100%;
  padding: 8px;
}

.wacv-get-email-title {
  margin: 0 0 8px;
  text-align: center;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.35;
}

.wacv-get-email-sub-title {
  margin: 0 0 16px;
  line-height: 1.5;
  text-align: center;
  font-size: 0.95rem;
  color: #50575e;
}

.fb-messenger-checkbox-container {
  margin: -10px -12px;
}

.wacv-modal-get-email.template-1 .wacv-popup-input-email {
  width: 100%;
  margin: 8px 0;
  box-shadow: none;
  line-height: 1.4;
  padding: 12px 14px;
  border-radius: 8px;
}
.wacv-modal-get-email.template-1 .wacv-get-customer-phone-number {
  display: flex;
  border-radius: 8px;
  margin: 8px 0;
  overflow: hidden;
  border: 1px solid #c3c4c7;
}
.wacv-modal-get-email.template-1 .wacv-country-calling-code {
  border: none;
  outline: none;
  padding: 12px 10px;
  line-height: 1.4;
  background-color: rgba(0, 0, 0, 0.04);
}
.wacv-modal-get-email.template-1 .wacv-country-calling-code option {
  background-color: white;
}
.wacv-modal-get-email.template-1 .wacv-popup-input-phone-number {
  flex-grow: 1;
  border: none;
  margin: 0;
  box-shadow: none;
  padding: 12px 14px;
  line-height: 1.4;
}
.wacv-modal-get-email.template-1 .wacv-get-email-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
  border: 0;
  font-weight: 600;
  font-size: 16px;
  flex: 1;
  text-transform: none;
  line-height: 1.3;
  width: 100%;
  min-height: 44px;
  transition: opacity 0.15s ease, filter 0.15s ease;
}
.wacv-modal-get-email.template-1 .wacv-get-email-btn.wacv-is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.wacv-modal-get-email.template-2 .wacv-get-email-btn {
  display: inline-block;
  vertical-align: middle;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600;
  font-size: 15px;
  text-transform: none;
  line-height: 1.4;
  padding: 12px 18px;
  border-radius: 8px;
  border: 0;
  min-height: 44px;
  transition: opacity 0.15s ease, filter 0.15s ease;
}
.wacv-modal-get-email.template-2 .wacv-get-email-btn.wacv-is-loading {
  opacity: 0.7;
  pointer-events: none;
}
.wacv-modal-get-email.template-2 .wacv-popup-input-email {
  width: 100%;
  height: auto;
  margin: unset;
  box-shadow: none !important;
  line-height: 1.4;
  padding: 12px 14px !important;
  border-radius: 8px;
}
.wacv-modal-get-email.template-2 .wacv-recaptcha-field {
  margin-top: 10px;
}

.wacv-exe-group {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.wacv-btn-margin {
  margin: 0 0 0 10px;
}

.wacv-btn-first {
  margin: 0;
}

.wacv-email-invalid-notice,
.wacv-phone-number-invalid-notice {
  display: none;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #d63638;
}

.wacv-gdpr-group {
  width: 100%;
  margin-top: 12px;
}

input[type=checkbox].wacv-gdpr-checkbox {
  vertical-align: middle;
  margin: 0 6px 0 0;
}

.wacv-gdpr-content {
  vertical-align: middle;
  font-size: 13px;
  line-height: 1.45;
  color: #50575e;
}

input[type=checkbox].wacv-error {
  outline: 2px solid #d63638;
  outline-offset: 2px;
}

.wacv-gdpr-content p {
  margin: 0;
  display: initial;
}

body.wacv-popup-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .wacv-modal-get-email,
  .wacv-modal-wrapper,
  .wacv-get-email-btn {
    transition: none !important;
  }
  .wacv-modal-wrapper {
    transform: translate(-50%, -50%);
  }
}
@media screen and (max-width: 600px) {
  .wacv-get-email-title {
    font-size: 1.25rem;
  }
  .wacv-modal-content {
    padding: 24px 18px 18px;
  }
  .wacv-modal-wrapper {
    width: calc(100% - 24px);
  }
  .wacv-get-email-btn-group {
    flex-direction: column;
  }
  .wacv-btn-margin {
    margin-left: 0;
  }
  .wacv-exe-group {
    flex-direction: column;
  }
}
