

/* Gravity Forms styling to match theme */
.gform_wrapper .gfield input[type="text"],
.gform_wrapper .gfield input[type="email"],
.gform_wrapper .gfield input[type="tel"],
.gform_wrapper .gfield input[type="url"],
.gform_wrapper .gfield input[type="number"],
.gform_wrapper .gfield select,
.gform_wrapper .gfield textarea{
    border: 1px solid var(--wp--preset--color--border);
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
}

.gform_wrapper .gform_button,
.gform_wrapper button,
.gform_wrapper input[type="submit"]{
    border-radius: 14px;
    border: 1px solid var(--wp--preset--color--accent);
    background: var(--wp--preset--color--accent);
    color: #fff;
    font-weight: 800;
    padding: 12px 16px;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover{
    background: var(--wp--preset--color--accent-dark, var(--wp--preset--color--accent));
}

.gform_wrapper .gfield_description,
.gform_wrapper .validation_message,
.gform_wrapper .gform_validation_errors{
    color: var(--wp--preset--color--muted);
}


/* Gravity Forms submit button fix (size + color + shape) */
.gform_wrapper .gform_footer,
.gform_wrapper.gravity-theme .gform_footer{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_footer button,
.gform_wrapper .gform_footer .gform_button,
.gform_wrapper.gravity-theme .gform_footer input[type="submit"],
.gform_wrapper.gravity-theme .gform_footer button,
.gform_wrapper.gravity-theme .gform_footer .gform_button{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 160px !important;
    height: auto !important;
    min-height: 48px !important;

    padding: 12px 18px !important;
    line-height: 1 !important;

    border-radius: 14px !important;
    border: 1px solid var(--wp--preset--color--accent) !important;
    background: var(--wp--preset--color--accent) !important;
    color: #fff !important;

    font-weight: 800 !important;
    cursor: pointer !important;
}

.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_footer button:hover,
.gform_wrapper .gform_footer .gform_button:hover{
    background: var(--wp--preset--color--accent-dark, var(--wp--preset--color--accent)) !important;
}

