
.page-template-template-application-form #main {
    background-color: #f8f8f8;
}

/* Gravity Form */
.gform-app-wrapper .gform_wrapper {
  --gf-field-pg-steps-number-size: 13px !important;
}

.gform-app-wrapper {
    margin: 40px 0;
}

.gform_required_legend {
    display: none;
}

#top .gform-field-label {
    font-size: 1em;
}

#top .gfield--type-section h3 {
    margin-bottom: 0;
}

.gform-app-wrapper .gform_wrapper {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 1px 2px #c4c4c4;
}


@media only screen and (max-width: 767px) {
    .gform-app-wrapper .gform_wrapper {
        border: 0;
        box-shadow: none;
        border-radius: 0;
    }
}

#top .gform-app-wrapper .gf_page_steps .gf_step_number {
    font-size: 0;
}

#top .gform-app-wrapper .gf_page_steps .gf_step_completed .gf_step_number,
#top .gform-app-wrapper .gf_page_steps .gf_step_active .gf_step_number {
    background-color: #8dc740;
    border: 0;
}

#top .gform-app-wrapper .gf_page_steps .gf_step_completed .gf_step_number:after {
    opacity: 0;
}

#top .gf_page_steps {
    gap: 10px;
    justify-content: flex-end;
}

#top .gf_page_steps .gf_step {
    gap: 0px;
}

#top .gfield .gfield_consent_label,
#top .gfield_checkbox .gform-field-label {
    padding-top: 3px;
}

/* === Inputs & Select === */
#top .gform_wrapper input[type="number"],
#top .gform_wrapper input[type="tel"],
#top .gform_wrapper input[type="url"],
#top .gform_wrapper input[type="text"],
#top .gform_wrapper input[type="email"],
#top .gform_wrapper select {
  width: 100%;
  padding: 10px 12px;
  border: 1.8px solid #ccc;
  border-radius: 8px;
  background: #fff;
  min-height: 42px;
  box-shadow: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
}

#top .gform_wrapper input[type="number"]:focus,
#top .gform_wrapper input[type="tel"]:focus,
#top .gform_wrapper input[type="url"]:focus,
#top .gform_wrapper input[type="text"]:focus,
#top .gform_wrapper input[type="email"]:focus,
#top .gform_wrapper select:focus {
    border-color: #777;
}

#top .gform_wrapper select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Target Gravity Forms checkboxes */
body .gform_wrapper input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  position: relative;
  vertical-align: middle;
}

/* Hover effect */
body .gform_wrapper input[type="checkbox"]:hover {
  border-color: #777;
}

/* Checked state */
body .gform_wrapper input[type="checkbox"]:checked {
  background-color: #454444; 
  border-color: #454444;
}

/* Checkmark */
body .gform_wrapper input[type="checkbox"]:checked::before {
    opacity: 0;
}

body .gform_wrapper input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* === Submit Button === */
.form-actions {
  text-align: right;
}

/*.form-actions button {
  background: #2e7d32;
  color: #fff;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-actions button:hover {
  background: #1b5e20;
}*/

body .gform_wrapper fieldset legend {
    font-size: 11.96px !important;
    font-weight: 700!important;
}

#top .gform_page_footer .button.gform_previous_button,
#top .gform_page_footer .button.gform_next_button {
    background-color: transparent;
    border: 1px solid #8dc740;
    color: #000;
    padding: 10px 30px;
    border-radius: 10px;
}

#top .gform_page_footer .gform_button {
    background-color: #8dc740;
    margin: 0;
    border-radius: 10px;
    color: #fff;
    padding: 10px 30px;
}

#top .gform_page_footer .button {
    margin-bottom: 0 !important;
}

#top #gform_page_1_1 .gform_save_link {
    display: none;
}

#top .gform_save_link {
    flex: 0 0 200px!important;
    margin-left: auto;
    text-align: center!important;
}

#top .gform-page-footer .gform_save_link {
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    flex: 1;
    text-align: right;
    color: #00aef0;
}

@media only screen and (max-width: 767px) {
    #top .gform-page-footer .gform_save_link {
        flex: none;
    }
}

#top .gform-page-footer .gform_save_link:before,
#top .gform-page-footer .gform_save_link:after {
    display: none;
}

#top .gform-page-footer .gform_save_link:hover {
    background: none;
}

#top .gform_page_footer .button:focus {
    outline: none;
    border-color: transparent;
}

body .gform-theme--foundation .gform_fields {
    --gf-form-gap-y: 18px;
}

#top .gfield--type-signature img {
    width: auto!important;
    height: auto!important;
}

#top fieldset.gfield {
    margin-bottom: 8px;
}

/* Top Heading */
.gform-top {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 46px;
    border-radius: 6px;
    color: #282828;
    padding: 70px 40px;
    font-family: "Helvetica";
}

.gform-top .gform-top-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}

.gform-top .gform-top-wrap .left-content {
    flex: 0 0 40%;
}

.gform-top .gform-top-wrap .right-content {
    flex: 0 0 60%;
}

.gform-top h3 {
    font-size: 34px;
    margin-bottom: 17px;
    font-weight: 700;
    font-family: inherit;
}

.gform-top h5 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: normal;
}

.gform-top p {
    font-size: 16px;
    margin-bottom: 14px;
    margin-top: 0;
    font-weight: 700;
}

.gform-top a.btn {
    padding: 15px;
    border-radius: 9px;
    display: inline-block;
    min-width: 250px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.gform-top .bbb-logo {
    margin-top: 80px;
}

.gform-top a.btn-green {
    background-color: #8DC740;
    color: #fff;
    margin-bottom: 18px;
}

.gform-top a.btn-transparent {
    border: 1.6px solid #8DC740;
    color: #8DC740;
}

.gform-top a.btn-green:hover {
    background-color: #7AB635;
}

@media only screen and (max-width: 600px) {
    .gform-top {
        padding: 50px 60px;
    }
    .gform-top .gform-top-wrap {
        flex-direction: column;
    }
    
    .gform-top .bbb-logo {
        margin-top: 30px;
    }
    
    .gform-top .gform-top-wrap .left-content {
        text-align: center;
    }
    
    .gform-top .col {
        width: 100%;
        flex: 0 0 100% !important;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .gform-top .col {
        flex: 0 0 50% !important;
    }
    
    .gform-top .gform-top-wrap {
        gap: 0;
    }
    
    .gform-top h3 {
        font-size: 38px;
    }
}