/* Quote request form (contact page) */
#quote {
  scroll-margin-top: 90px;
}

.quote-group {
  margin: 34px 0 6px;
  padding: 0;
  border: 0;
}

.quote-legend {
  margin-bottom: 14px;
  padding: 0;
  color: var(--heading-white-section);
  font-family: Lexend Deca, sans-serif;
  font-size: 19px;
  line-height: 27px;
}

.quote-required {
  color: #c0392b;
}

.quote-hint {
  margin-left: 6px;
  color: #8a8a8a;
  font-family: DM Sans, sans-serif;
  font-size: 14px;
}

.quote-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quote-option {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.quote-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quote-option span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border: 1px solid #cfd4d4;
  border-radius: 999px;
  background-color: #fff;
  color: var(--heading-white-section);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  transition: border-color .15s, background-color .15s;
}

.quote-option span::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #9aa3a3;
  border-radius: 5px;
  background: #fff center / 12px no-repeat;
}

.quote-option input[type="radio"] + span::before {
  border-radius: 50%;
}

.quote-option small {
  color: #7a8383;
  font-size: 13px;
}

.quote-option:hover span {
  border-color: #00a5a9;
}

.quote-option input:checked + span {
  border-color: #00a5a9;
  background-color: #00d4d91f;
}

.quote-option input:checked + span::before {
  border-color: #00a5a9;
  background-color: #00a5a9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.quote-option input:focus-visible + span {
  outline: 2px solid #00a5a9;
  outline-offset: 2px;
}

.quote-date {
  max-width: 280px;
  padding-bottom: 12px;
}

.quote-error {
  display: none;
  margin-top: 10px;
  color: #c0392b;
  font-size: 15px;
}

.quote-group.has-error .quote-error {
  display: block;
}

.quote-group.has-error .quote-option span {
  border-color: #e3a49c;
}

#Message-2 {
  margin-top: 30px;
}

@media screen and (max-width: 479px) {
  .quote-option span {
    font-size: 15px;
    padding: 8px 13px 8px 10px;
  }

  .quote-date {
    max-width: none;
  }
}
