lead-quote-form {
  display: block;
}

.lead-widget,
.lead-widget * {
  box-sizing: border-box;
}

.lead-widget {
  width: 100%;
  min-height: 620px;
  display: flex;
  justify-content: center;
  padding: 60px;
  color: #231f20;
  background: #ffffff;
  font-family: 'avenir-regular', 'AvenirNextLTPro-Demi', Arial, Helvetica, sans-serif;
}

.lead-widget form {
  width: 100%;
  max-width: 583px;
  padding-top: 30px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.lead-widget form.is-fading-out {
  opacity: 0;
  transform: translateY(-8px);
}

.lead-widget h2,
.lead-widget .success-response {
  margin: 0 0 30px;
  font-size: 38px;
  font-weight: normal;
  font-family: 'AvenirNextLTPro-Demi', Arial, Helvetica, sans-serif;
  line-height: 1.2;
  text-align: center;
  color: #231f20;
}

.lead-widget .success-response {
  width: 100%;
  max-width: 583px;
  margin-bottom: 0;
  padding-top: 30px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.lead-widget .success-response[hidden] {
  display: none;
}

.lead-widget .success-response.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lead-widget label {
  display: block;
  margin-bottom: 10px;
  padding-left: 10px;
  color: #3867a8;
  font-size: 18px;
  font-weight: normal;
  font-family: 'avenir-regular', 'AvenirNextLTPro-Demi', Arial, Helvetica, sans-serif;
  line-height: 1.25;
}

.lead-widget input {
  width: 100%;
  display: block;
  height: 40px;
  border: 1px solid #a7a9ac;
  border-radius: 3px;
  padding: 0 10px;
  color: #231f20;
  font: inherit;
  font-size: 16px;
  margin-bottom: 15px;
  background: #f1f2f2;
  outline: none;
  transition: border-color 0.25s linear;
}

.lead-widget input[type="hidden"] {
  display: none;
}

.lead-widget input:focus,
.lead-widget .country-button:focus-visible {
  border-color: #3867a8;
}

.lead-widget .phone-field {
  display: flex;
  width: 100%;
  margin-bottom: 15px;
}

.lead-widget .country-picker {
  position: relative;
  flex: 0 0 106px;
  width: 106px;
}

.lead-widget .phone-field .country-button {
  position: relative;
  display: block;
  width: 106px;
  height: 40px;
  margin: 0;
  border: 1px solid #a7a9ac;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  padding: 0 28px 0 8px;
  color: #231f20;
  background-color: #f1f2f2;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23231f20' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  font: inherit;
  font-size: 15px;
  line-height: 40px;
  text-align: left;
  outline: none;
  transition: border-color 0.25s linear;
}

.lead-widget .country-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 10;
  width: 260px;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #a7a9ac;
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
}

.lead-widget .country-list.opens-up {
  top: auto;
  bottom: calc(100% + 4px);
}

.lead-widget .country-list[hidden] {
  display: none;
}

.lead-widget .country-option {
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 9px 10px;
  background: #ffffff;
  color: #231f20;
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
}

.lead-widget .country-option:hover,
.lead-widget .country-option:focus-visible,
.lead-widget .country-option.is-selected {
  background: #f1f2f2;
  color: #231f20;
  outline: none;
}

.lead-widget .phone-field input {
  min-width: 0;
  margin-bottom: 0;
  border-radius: 0 3px 3px 0;
}

.lead-widget button {
  display: block;
  width: 140px;
  height: 40px;
  margin-top: 10px;
  border: 1px solid #3867a8;
  border-radius: 10px;
  background: #3867a8;
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  font-weight: normal;
  text-align: center;
  cursor: pointer;
  transition: background 0.4s, color 0.4s, border 0.4s;
}

.lead-widget button:hover,
.lead-widget button:focus-visible {
  border-color: #3867a8;
  background: #ffffff;
  color: #3867a8;
  outline: none;
}

.lead-widget button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.lead-widget button.is-sending {
  cursor: wait;
}

.lead-widget .privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 5px 0 18px;
}

.lead-widget .privacy-check input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #3867a8;
}

.lead-widget .privacy-check label {
  margin: 0;
  padding-left: 0;
  color: #231f20;
  font-size: 16px;
  line-height: 1.35;
}

.lead-widget .privacy-check a {
  color: #3867a8;
  text-decoration: none;
}

.lead-widget .privacy-check a:hover,
.lead-widget .privacy-check a:focus-visible {
  text-decoration: underline;
}

.lead-widget .recaptcha-wrap {
  margin: 20px 0;
}

.lead-widget .message {
  min-height: 22px;
  margin: 16px 0 0;
  font-size: 14px;
  letter-spacing: 0.7px;
}

.lead-widget .message.success {
  color: #0f7b3f;
}

.lead-widget .message.error {
  color: #b42318;
}

@media (max-width: 600px) {
  .lead-widget {
    min-height: 560px;
    padding: 42px 15px;
  }

  .lead-widget h2,
  .lead-widget .success-response {
    font-size: 32px;
  }
}
