/* =====================
   FORM FIELDS
===================== */
.gform_wrapper input:not([type="checkbox"]):not([type="radio"]),
.gform_wrapper select,
.gform_wrapper textarea {
    background-color: #ffffff !important;
    border: 1px solid #cccccc !important;
    border-radius: 0px !important;
    padding: 16px 15px !important;
    font-family: 'Questrial', sans-serif !important;
    font-size: 14px !important;
    color: #333333 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Standard field height */
.gform_wrapper input:not([type="checkbox"]):not([type="radio"]),
.gform_wrapper select {
    height: 50px !important;
}

/* Placeholder text */
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
    color: #999999 !important;
    font-family: 'Questrial', sans-serif !important;
}

/* =====================
   LABELS
===================== */
.gform_wrapper label,
.gform_wrapper .gfield_label {
    font-family: 'Questrial', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #333333 !important;
    margin-bottom: 4px !important;
    display: block !important;
}

/* Required indicator */
.gform_wrapper .gfield_required {
    color: #D4A017 !important;
    margin-left: 4px !important;
}

/* =====================
   SINGLE COLUMN LAYOUT
===================== */
.gform_wrapper ul.gform_fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gform_wrapper .gfield {
    width: 100% !important;
    margin: 0 !important;
}

/* =====================
   NAME FIELD
===================== */
.gform_wrapper fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gform_wrapper .gfield--input-type-name .ginput_container_name {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
}

.gform_wrapper .ginput_container_name span {
    display: flex !important;
    flex-direction: column !important;
}

/* =====================
   ENSURE INPUTS FILL CONTAINER
===================== */
.gform_wrapper .ginput_container input,
.gform_wrapper .ginput_container select {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* =====================
   CHECKBOXES & RADIO
===================== */
.gform_wrapper .gfield--input-type-checkbox,
.gform_wrapper .gfield--input-type-radio {
    margin-top: 8px !important;
}

.gform_wrapper .gf-left-half,
.gform_wrapper .gf-right-half {
    width: calc(50% - 8px) !important;
    display: inline-block !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
}

.gform_wrapper .gf-left-half {
    margin-right: 16px !important;
}

.gform_wrapper .gf-left-half .gfield_checkbox,
.gform_wrapper .gf-right-half .gfield_checkbox,
.gform_wrapper .gf-left-half .gfield_radio,
.gform_wrapper .gf-right-half .gfield_radio {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.gform_wrapper .gchoice {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 0px !important;
}

.gform_wrapper .gchoice input[type="checkbox"],
.gform_wrapper .gchoice input[type="radio"] {
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: static !important;
    flex-shrink: 0 !important;
}

.gform_wrapper .gchoice .gform-field-label--type-inline {
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;
    float: none !important;
    font-weight: 400 !important;
}

/* =====================
   SUBMIT BUTTON
===================== */
.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer {
    padding: 0 !important;
    margin-top: 8px !important;
}

.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_page_footer input.button,
.gform_wrapper .gform_page_footer input[type="submit"],
.gform_wrapper .gform_submit_button,
.gform_button,
input#gform_submit_button_2 {
    background-color: #D4A017 !important;
    color: #ffffff !important;
    font-family: 'Questrial', sans-serif !important;
    font-size: 14px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 15px 16px !important;
    width: 100% !important;
    cursor: pointer !important;
}

.gform_wrapper .gform_footer input.button:hover,
.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_page_footer input.button:hover,
.gform_wrapper .gform_page_footer input[type="submit"]:hover,
.gform_wrapper .gform_submit_button:hover,
.gform_button:hover,
input#gform_submit_button_2:hover {
    background-color: #385829 !important;
    color: #ffffff !important;
}

/* =====================
   DESCRIPTION TEXT
===================== */
.gform_wrapper .gfield_description {
    font-family: 'Questrial', sans-serif !important;
    font-size: 12px !important;
    color: #999999 !important;
    margin-top: 4px !important;
}/* =====================
   TABLET - 768px
===================== */
@media (max-width: 768px) {

    /* Name fields stack */
    .gform_wrapper .gfield--input-type-name .ginput_container_name {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Checkbox groups stack full width */
    .gform_wrapper .gf-left-half,
    .gform_wrapper .gf-right-half {
        width: 100% !important;
        display: block !important;
        margin-right: 0 !important;
    }
}

/* =====================
   MOBILE - 370px
===================== */
@media (max-width: 370px) {

    /* Name fields stack */
    .gform_wrapper .gfield--input-type-name .ginput_container_name {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    /* Checkbox groups full width */
    .gform_wrapper .gf-left-half,
    .gform_wrapper .gf-right-half {
        width: 100% !important;
        display: block !important;
        margin-right: 0 !important;
    }

    /* Tighten field spacing on small screens */
    .gform_wrapper ul.gform_fields {
        gap: 8px !important;
    }

    /* Slightly smaller text */
    .gform_wrapper label,
    .gform_wrapper .gfield_label {
        font-size: 13px !important;
    }

    .gform_wrapper input:not([type="checkbox"]):not([type="radio"]),
    .gform_wrapper select,
    .gform_wrapper textarea {
        font-size: 13px !important;
    }
}/* Force consistent field spacing everywhere */
.gform_wrapper .gfield {
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.gform_wrapper ul.gform_fields {
    gap: 12px !important;
}/* Fix dropdown placeholder position */
.gform_wrapper select {
    line-height: 1.4 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}