.hs-form-html {
  --wtl-field-bg: rgba(255, 255, 255, 0.1);
  --wtl-field-border: 1px solid #ffffff;
  --hsf-field-input__color: #ffffff;
  --hsf-field-input__placeholder-color: rgba(255, 255, 255, 0.55);
  --hsf-field-textarea__color: #ffffff;
  --hsf-field-textarea__placeholder-color: rgba(255, 255, 255, 0.55);
  --hsf-field-radio__border-color: #3f322b;
  position: relative;
  z-index: 1;
  max-width: 100%;
  min-width: 0;
}

.hsfc-PhoneInput__FlagAndCaret {
  background-color: rgba(255, 255, 255, 0.1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  font-size: 0 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.hs-form-html .hsfc-PhoneInput__FlagAndCaret__Flag {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
  font-size: 0 !important;
  color: transparent !important;
}

.hs-form-html .hsfc-PhoneInput__FlagAndCaret__Caret {
  font-size: 12px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  width: 0.65rem !important;
  height: 0.65rem !important;
  flex-shrink: 0 !important;
}

.hs-form-html .hsfc-PhoneInput__FlagAndCaret__Flag img.emoji,
.hs-form-html .hsfc-DropdownOptions__List__ListItem img.emoji,
.hs-form-html img.emoji {
  display: inline-block !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  min-width: 1.25rem !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  vertical-align: middle !important;
  visibility: visible !important;
  opacity: 1 !important;
  object-fit: contain !important;
  font-size: 1rem !important;
}

.hs-form-html .hsfc-PhoneInput {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
}

.hs-form-html .hsfc-PhoneInput__FlagAndCaret__Flag {
  width: 1.25rem !important;
  min-width: 1.25rem !important;
  height: 1.25rem !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hs-form-html .iti__dial-code,
.hs-form-html .iti__selected-dial-code {
  display: none !important;
}

.hs-form-html .hsfc-TextInput,
.hs-form-html .hsfc-TextareaInput,
.hs-form-html .hsfc-PhoneNumber__Input,
.hs-form-html .hsfc-DateInput,
.hs-form-html input[type="text"],
.hs-form-html input[type="email"],
.hs-form-html input[type="tel"],
.hs-form-html input[type="number"],
.hs-form-html textarea {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  background-color: var(--wtl-field-bg) !important;
  border: var(--wtl-field-border) !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  opacity: 1 !important;
}

.hs-form-html .hsfc-PhoneInput {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hs-form-html .hsfc-PhoneInput > input.hsfc-TextInput,
.hs-form-html .hsfc-PhoneInput > input[type="tel"] {
  background-color: var(--wtl-field-bg) !important;
  border: var(--wtl-field-border) !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  opacity: 1 !important;
}

.hs-form-html select,
.hs-form-html .hsfc-DropdownInput {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: var(--wtl-field-bg) !important;
  box-sizing: border-box !important;
  color-scheme: light !important;
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  border-radius: 50px;
}

.hs-form-html select option,
.hs-form-html select optgroup,
.hs-form-html .hsfc-DropdownInput option,
.hs-form-html [role="listbox"] [role="option"],
.hs-form-html .hsfc-Dropdown__Menu [role="option"],
.hs-form-html .hsfc-DropdownOptions [role="option"] {
  background-color: #ffffff !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

.hs-form-html .hsfc-Dropdown button[aria-haspopup="listbox"],
.hs-form-html .hsfc-Dropdown__Toggle,
.hs-form-html [data-hsfc-id="DropdownButton"] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: var(--wtl-field-bg) !important;
  border: var(--wtl-field-border) !important;
  box-sizing: border-box !important;
}

.hs-form-html .hsfc-Dropdown svg,
.hs-form-html .hsfc-Dropdown__Chevron,
.hs-form-html [data-hsfc-id*="Dropdown"] svg {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hs-form-html .iti,
.hs-form-html .iti__flag-container,
.hs-form-html .iti__selected-flag {
  background-color: var(--wtl-field-bg) !important;
  border: var(--wtl-field-border) !important;
  border-right: none !important;
  box-sizing: border-box !important;
}

.hs-form-html .iti .hsfc-PhoneNumber__Input,
.hs-form-html .iti input.hsfc-PhoneNumber__Input {
  border-left: none !important;
}

.hs-form-html .iti__arrow {
  border-top-color: #ffffff !important;
}

.hs-form-html .iti__country-list,
.hs-form-html .iti__country,
.hs-form-html .iti__country-name {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* Flags only — hide dial codes in iti selected state */
.hs-form-html .iti__selected-dial-code {
  display: none !important;
}

.hs-form-html .iti__selected-flag {
  padding-right: 0.35rem !important;
}

.hs-form-html .iti__flag {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hs-form-html .iti__country.iti__highlight {
  background-color: #f0f0f0 !important;
  color: #000000 !important;
}

.hs-form-html input::placeholder,
.hs-form-html textarea::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
  opacity: 1 !important;
}

@keyframes wtlOnAutoFillStart {
  from {
    opacity: 0.99;
  }
  to {
    opacity: 1;
  }
}

.hs-form-html input:-webkit-autofill,
.hs-form-html input:-webkit-autofill:hover,
.hs-form-html input:-webkit-autofill:focus,
.hs-form-html input:-webkit-autofill:active,
.hs-form-html textarea:-webkit-autofill,
.hs-form-html textarea:-webkit-autofill:hover,
.hs-form-html textarea:-webkit-autofill:focus,
.hs-form-html textarea:-webkit-autofill:active,
.hs-form-html input:-internal-autofill-selected,
.hs-form-html textarea:-internal-autofill-selected,
.hs-form-html input.wtl-field-sync,
.hs-form-html textarea.wtl-field-sync,
.hs-form-html .hsfc-TextInput:-webkit-autofill,
.hs-form-html .hsfc-TextInput:-internal-autofill-selected,
.hs-form-html .hsfc-PhoneNumber__Input:-webkit-autofill,
.hs-form-html .hsfc-PhoneNumber__Input:-internal-autofill-selected,
.hs-form-html .hsfc-DateInput:-webkit-autofill,
.hs-form-html .hsfc-DateInput:-internal-autofill-selected {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: none !important;
  background-color: transparent !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  color: #ffffff !important;
  border: var(--wtl-field-border) !important;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.1) inset !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.1) inset !important;
  transition:
    background-color 99999s ease-out 0s,
    color 99999s ease-out 0s !important;
  animation-name: wtlOnAutoFillStart;
  animation-duration: 0.001s;
  opacity: 1 !important;
}

.hs-form-html .hsfc-PhoneInput > input.hsfc-TextInput:-webkit-autofill,
.hs-form-html .hsfc-PhoneInput > input[type="tel"]:-webkit-autofill,
.hs-form-html .hsfc-PhoneInput > input.wtl-field-sync {
  background-color: transparent !important;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.1) inset !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.1) inset !important;
  -webkit-text-fill-color: #ffffff !important;
}

.hs-form-html input[type="radio"] {
  accent-color: #0064e5 !important;
  border-color: #0064e5 !important;
  background-color: transparent !important;
}

.hs-form-html input[type="radio"]:checked {
  accent-color: #0064e5 !important;
  background-color: #0064e5 !important;
  border-color: #0064e5 !important;
}

@media (max-width: 767px) {
  [data-hsfc-id="Renderer"] .hsfc-Step .hsfc-Step__Content {
    padding: 0 !important;
  }
}

.hs-form-html .hsfc-Error,
.hs-form-html .hsfc-FieldLabel__Error,
.hs-form-html .hs-error-msgs,
.hs-form-html .hs-error-msg,
.hs-form-html .hsfc-Alert {
  color: #ffb4b4 !important;
  -webkit-text-fill-color: #ffb4b4 !important;
}
