/* radio-field-as-next-buttons    : This class needs to go on any radio button field that should look like buttons. Works best with GF Perks Enable Auto-progression active. */

/* Container setup */
.radio-field-as-next-buttons .gfield_radio {
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hide the default radio inputs but keep them accessible */
.radio-field-as-next-buttons .gfield-choice-input {
  position: absolute;
  opacity: 0 !important;
  pointer-events: none;
}

/* Style the labels as buttons */
.radio-field-as-next-buttons .gfield_radio label {
  display: inline-block;
  padding: 1rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  margin: 0;
  min-width: 200px;
  transition: 0.3s all ease-in-out;
}

/* Optional: make text unselectable for a cleaner click feel */
.radio-field-as-next-buttons .gfield_radio label {
  user-select: none;
}

/* ========== */

/* Autoquip theme specific */
.radio-field-as-next-buttons .gfield_radio {
  display: flex;
  align-items: center;
  gap: 32px;
}
.radio-field-as-next-buttons .gfield_radio .gchoice { margin: 0; }
.radio-field-as-next-buttons .gfield_radio input { display: none !important; }
.radio-field-as-next-buttons .gfield_radio label {
  font-size: 18px !important;
  line-height: 1.27em !important;
  font-weight: 500 !important;
  border-radius: 2px;
  border: 1px solid #4a4d54;
  background-color: transparent;
  color: #4a4d54;
  padding: 16px 48px !important;
  max-width: none !important;
}
.radio-field-as-next-buttons .gfield_radio input:checked+label,
.radio-field-as-next-buttons .gfield_radio label:hover {
  background-color: #4a4d54;
  color: #ffffff;
}

#quoteModal .gform_page_footer .button {
  font-size: 23px;
  font-family: 'din-condensed', sans-serif;
  border-radius: 0;
  border: 1px solid #051b30;
  background-color: #051b30;
  color: #ffffff;
  text-transform: uppercase;
}
#quoteModal .gform_page_footer .button:hover,
#quoteModal .gform_page_footer .gform_previous_button {
  background-color: transparent;
  color: #051b30;
}


#quoteModal .gfield_label .gfield_required { display: none; }
#quoteModal .gform_page_footer .gform_next_button { margin-left: auto !important; }
#quoteModal .gfield_validation_message { border: 1px solid #ED1C25; padding: 4px; background-color: white; }