/* 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; }

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

/* Fig Tree Homes theme specific */
#gform_1 {
  min-height: 490px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
#gform_1 .gform-body { flex-grow: 1; }
#gf_page_steps_1 { margin-bottom: 50px; }
#gf_page_steps_1 .gf_custom_stepper {
  width: 100%;
  text-align: center;
}
#gform_1 .gform_page {
  height: 100%;
  display: flex;
  flex-direction: column;
}
#gf_page_steps_1 .gf_custom_stepper_text {
  color: #1a1a1a;
  font-weight: 700;
  font-size: 18px;
  font-family: 'Raleway',sans-serif;  
}
.radio-field-as-next-buttons .gfield_radio {
  flex-direction: column !important;
  gap: 46px !important;
}
.radio-field-as-next-buttons .gfield_radio .gchoice { display: flex !important; }
.radio-field-as-next-buttons .gfield_radio label {
  border: 1px solid #1a1a1a;
  border-radius: 32px;
  padding: 13px 21px;
  line-height: 14px;
  width: 100%;
  color: #1a1a1a;
}
#gform_1 input[type="text"],
#gform_1 input[type="email"],
#gform_1 input[type="tel"],
#gform_1 textarea {
  font-size: 16px;
  padding: 12px;
  height: auto;
  line-height: 16px;
  border-radius: 6px;
  border-color: rgba(26,26,26,0.25);
  background-color: rgba(26,26,26,0.02);
}
#gform_1 input[type="text"]::placeholder,
#gform_1 input[type="email"]::placeholder,
#gform_1 input[type="tel"]::placeholder,
#gform_1 textarea::placeholder {
  color: rgba(26,26,26,0.5);
  font-weight: 500;
}
#gform_1 .iti__country-container { display: none; }
#gform_1 input[type="tel"] { padding-left: 12px !important; }
#gform_1 .gform_page .gform-page-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}
#gform_1 .gform_page .gform-page-footer .gform-theme-button,
#gform_1 .gform_page .gform-page-footer .gform_button[type="submit"] {
  padding: 11px 15px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  border-radius: 6px;
  min-width: 135px;
}
#gform_1 .gform_page .gform-page-footer .gform_button[type="submit"] {
  background: #aca097;
  border-color: #aca097;
  color: #1a1a1a;
  margin-left: auto;
}
#gform_1 .gform_page .gform-page-footer .gform-theme-button,
#gform_1 .gform_page .gform-page-footer .gform_button[type="submit"]:hover,
#gform_1 .gform_page .gform-page-footer .gform_button[type="submit"]:focus,
#gform_1 .gform_page .gform-page-footer .gform_button[type="submit"]:active {
  background: transparent;
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
}
#gform_1 .gform_page .gform-page-footer .gf-btn-wrap:last-child,
#gform_1 .gform_page .gform-page-footer .gform-theme-button:last-child { margin-left: auto; }
.radio-field-as-next-buttons label:hover,
.radio-field-as-next-buttons .gfield-choice-input:checked + label,
#gform_1 .gform_page .gform-page-footer .gform-theme-button:hover,
#gform_1 .gform_page .gform-page-footer .gform-theme-button:focus,
#gform_1 .gform_page .gform-page-footer .gform-theme-button:active {
  background: #aca097;
  border-color: #aca097;
  color: #1a1a1a;
}

#gform_1_validation_container { display: none !important; }
#gform_1 .ginput_container+.validation_message { margin-bottom: -26px; }

#gform_confirmation_wrapper_1 {
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#gform_confirmation_message_1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* #gform_confirmation_message_1 br { display: none; } */
#gform_confirmation_message_1 .logo-wrapper { margin-bottom: 24px; }
#gform_confirmation_message_1 .signature-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 20px;
  color: #1a1a1a;
  font-weight: 700;
}
#gform_confirmation_message_1 .signature-wrapper img {
  margin-right: 5px;
  transform: translateY(-2px);
}
#gform_confirmation_message_1 .name-text { margin-bottom: 0; }
#gform_confirmation_message_1 .response-text {
  text-align: center;
  color: #737373;
  font-size: 14px;
  font-weight: 400;
}