.amo-leads {
  width: 100%;
}

.amo-leads [hidden] {
  display: none !important;
}

.amo-leads .estimate-form {
  box-sizing: border-box;
}

.amo-leads .estimate-form *,
.amo-leads .estimate-form *::before,
.amo-leads .estimate-form *::after {
  box-sizing: border-box;
}

.amo-leads .estimate-form > label,
.amo-leads .amo-leads-other {
  display: block;
  margin-bottom: 12px;
}

.amo-leads .estimate-form label > span:first-child,
.amo-leads .form-schedule label > span:first-child {
  display: block;
  margin: 0 0 5px 2px;
  color: #3f5871;
  font-size: 14px;
  font-weight: 800;
}

.amo-leads .estimate-form input:not([type="checkbox"]),
.amo-leads .estimate-form select,
.amo-leads .estimate-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #bfd8ed;
  border-radius: 10px;
  background: #fff;
  color: #073767;
  font: inherit;
}

.amo-leads .estimate-form textarea {
  min-height: 108px;
  resize: vertical;
}

.amo-leads .estimate-form input:focus,
.amo-leads .estimate-form select:focus,
.amo-leads .estimate-form textarea:focus {
  border-color: #1478e8;
  outline: 3px solid rgba(20, 120, 232, 0.14);
}

.amo-leads .form-address__control {
  position: relative;
  display: block;
}

.amo-leads .form-address__control > svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 14px;
  color: #1478e8;
  pointer-events: none;
  transform: translateY(-50%);
}

.amo-leads .form-address__control > input {
  padding-left: 43px !important;
}

.amo-leads .form-address__note,
.amo-leads .amo-leads-confirmation-note {
  display: block;
  margin: 6px 2px 0;
  color: #617a92;
  font-size: 12px;
  line-height: 1.45;
}

.amo-leads .form-schedule {
  margin: 16px 0;
  padding: 15px;
  border: 1px solid #bfd8ed;
  border-radius: 12px;
}

.amo-leads .form-schedule legend {
  padding: 0 7px;
  color: #1478e8;
  font-size: 14px;
  font-weight: 800;
}

.amo-leads .form-schedule__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.amo-leads .form-schedule__note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 11px 0 0;
  color: #617a92;
  font-size: 12px;
  line-height: 1.45;
}

.amo-leads .form-schedule__note svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #1478e8;
}

.amo-leads .amo-leads-privacy {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  color: #516b84;
  font-size: 12px;
  line-height: 1.5;
}

.amo-leads .amo-leads-privacy input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #1478e8;
}

.amo-leads .amo-leads-privacy > span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 500;
}

.amo-leads .amo-leads-privacy a {
  color: #086bd3;
  font-weight: 700;
}

.amo-leads .amo-leads-setup-notice {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid #efcf8c;
  border-radius: 9px;
  background: #fff8e8;
  color: #75400c;
  font-size: 12px;
  line-height: 1.5;
}

.amo-leads .button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.amo-leads .amo-leads-status {
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid #efb1b1;
  border-radius: 9px;
  background: #fff3f3;
  color: #922a2a;
  font-size: 13px;
}

.amo-leads .amo-leads-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.amo-leads .button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.72;
}

.amo-leads .amo-leads-success {
  text-align: center;
}

.amo-leads .amo-leads-success__icon {
  color: #1478e8;
}

@media (max-width: 560px) {
  .amo-leads .form-schedule__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .amo-leads * {
    scroll-behavior: auto !important;
  }
}
