/* Scoped to the Hambo Gravity Form, including Gravity Forms' default and Orbital themes. */
.hambo-registration {
    --gf-ctrl-btn-bg-color-primary: #befa00;
    --gf-ctrl-btn-color-primary: #111411;
    --gf-ctrl-btn-border-color-primary: #befa00;
    --gf-color-primary: #111411;
    color: #111411;
    font-family: inherit;
    line-height: 1.6;
}
.gform_wrapper.hambo-registration,
.gform_wrapper:has(> form.hambo-registration) {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid #d9ded2;
    border-radius: 12px;
    background: #fff;
}
.hambo-registration .gform_heading { margin-bottom: 1.5rem; }
.hambo-registration .gform_title { margin: 0 0 .75rem; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; }
.hambo-registration .gform_description { display: block; margin-bottom: 1rem; color: #62685f; }
.hambo-registration .gf_page_steps {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.25rem;
    margin: 0 0 2rem;
    padding: 0 0 1.5rem;
    border-bottom: 1px solid #d9ded2;
}
.hambo-registration .gf_step { display: flex; align-items: center; gap: .5rem; margin: 0; color: #62685f; font-size: .875rem; opacity: 1; }
.hambo-registration .gf_step_number { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border: 1px solid #d9ded2; border-radius: 50%; background: #f4f5ef; color: #111411; font-size: .875rem; font-weight: 800; }
.hambo-registration .gf_step_active { color: #111411; font-weight: 800; }
.hambo-registration .gf_step_active .gf_step_number { border-color: #111411; background: #befa00; }
.hambo-registration .gf_step_completed .gf_step_number { border-color: #111411; background: #111411; color: #fff; }
.hambo-registration .gform_fields { row-gap: 1.5rem; }
.hambo-registration .gfield { min-width: 0; }
.hambo-registration .gfield_label,
.hambo-registration .gform-field-label { color: #111411; font-size: .9375rem; font-weight: 700; }
.hambo-registration .ginput_container input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.hambo-registration .ginput_container select,
.hambo-registration .ginput_container textarea {
    width: 100%;
    min-height: 48px;
    padding: .8rem .9rem;
    border: 1px solid #a4b09a;
    border-radius: 6px;
    background: #fff;
    color: #111411;
    font: inherit;
    line-height: 1.5;
    box-shadow: none;
}
.hambo-registration .ginput_container input::placeholder { color: #707669; opacity: 1; }
.hambo-registration .gfield_description,
.hambo-registration .ginput_complex label { color: #62685f; font-size: .8125rem; line-height: 1.6; }
.hambo-registration .gfield_required { color: #9c2424; }
.hambo-registration .gform_page_footer,
.hambo-registration .gform_footer { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; padding: 1.5rem 0 0; border-top: 1px solid #d9ded2; }
.hambo-registration .gform_next_button,
.hambo-registration .gform_previous_button,
.hambo-registration .gform_button,
.hambo-registration .ht-postcode-lookup {
    width: auto;
    min-height: 48px;
    margin: 0;
    padding: .85rem 1.4rem;
    border: 1px solid #befa00;
    border-radius: 6px;
    background: #befa00;
    color: #111411;
    font: inherit;
    font-size: .9375rem;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s;
}
.hambo-registration .gform_previous_button,
.hambo-registration .ht-postcode-lookup { border-color: #a4b09a; background: #fff; }
.hambo-registration .gform_next_button:hover,
.hambo-registration .gform_button:hover { border-color: #d3ff4b; background: #d3ff4b; }
.hambo-registration .gform_previous_button:hover,
.hambo-registration .ht-postcode-lookup:hover { background: #f4f5ef; }
.hambo-registration button:disabled,
.hambo-registration input[type="button"]:disabled,
.hambo-registration input[type="submit"]:disabled { cursor: wait; opacity: .65; }
.hambo-registration :is(input, select, textarea, button, a):focus-visible { outline: 3px solid #6b55b8; outline-offset: 3px; }
.hambo-registration [hidden] { display: none !important; }
.hambo-registration .ht-postcode-status { min-height: 1.6em; margin: .65rem 0 0; color: #62685f; font-size: .875rem; }
.hambo-registration .ht-postcode-status:empty { min-height: 0; margin: 0; }
.hambo-registration .ht-postcode-error,
.hambo-registration .validation_message,
.hambo-registration .gfield_validation_message { color: #9c2424; }
.hambo-registration .gform_validation_errors { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border: 1px solid #9c2424; border-radius: 6px; background: #fff6f4; box-shadow: none; }
.hambo-registration .gfield_error .ginput_container input { border-color: #9c2424; }
.hambo-registration .ht-registration-review-list { margin: 0; border-top: 1px solid #d9ded2; }
.hambo-registration .ht-registration-review-list > div { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 2fr); gap: 1rem; padding: .85rem 0; border-bottom: 1px solid #d9ded2; }
.hambo-registration .ht-registration-review-list dt { font-weight: 700; }
.hambo-registration .ht-registration-review-list dd { margin: 0; overflow-wrap: anywhere; }
.hambo-registration .ht-registration-privacy { margin-top: 1rem; color: #62685f; font-size: .875rem; }
.hambo-registration .ht-registration-review-heading { margin: 0 0 1rem; font-size: 1.5rem; line-height: 1.2; }
@media (max-width: 520px) {
    .hambo-registration .gf_page_steps { gap: .7rem; }
    .hambo-registration .gf_step { gap: .35rem; font-size: .75rem; }
    .hambo-registration .gf_step_number { width: 1.7rem; height: 1.7rem; font-size: .8125rem; }
    .hambo-registration .ht-registration-review-list > div { grid-template-columns: 1fr; gap: .2rem; }
    .hambo-registration .gform_page_footer > :is(input, button),
    .hambo-registration .gform_footer > :is(input, button) { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
    .hambo-registration :is(input, button) { transition: none; }
}
