/* One centered image for every reusable contact form background. */
.lz-contact-section,
.lz-contact-section::before,
.lz-contact-section > .elementor-background-video-container::before,
.lz-contact-section > .e-con-inner > .elementor-background-video-container::before,
.lz-contact-section > .elementor-background-slideshow::before,
.lz-contact-section > .e-con-inner > .elementor-background-slideshow::before,
.lz-contact-section > .elementor-motion-effects-container > .elementor-motion-effects-layer::before {
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Keep consent and the submit action on opposite sides of the form. */
.lz-contact-actions {
  justify-content: space-between;
}

/* Render the consent checkbox consistently instead of using platform controls. */
.lz-consent input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-block !important;
  box-sizing: border-box !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  flex: 0 0 18px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border: 1px solid #eeeeec !important;
  border-radius: 2px !important;
  background-color: #eeeeec !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 14px 14px !important;
  box-shadow: none !important;
  cursor: pointer;
}

.lz-consent input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8l3.4 3.4L14 2.8' fill='none' stroke='%2335383a' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") !important;
}

.lz-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid #ff6500;
  outline-offset: 3px;
}
