/**handles:gravity-forms**/
.gform-theme--framework {
    .gfield_list_group_item::before,
    .gform-field-label:where(:not([class*=gform-field-label--type-])) {
        font-weight: 400;
    }

    .gform_validation_errors {
        background-color: var(--gf-color-danger);
        color: white;

        h2, ul, ul li, p {
            color: white !important;
        }
    }

    .gform_fields {
        column-gap: 20px;
        row-gap: 0;
    }

    .gfield_error {
        label {
            font-size: 26px !important;
        }
    }

    .gfield {
        margin-bottom: 15px;

        input,
        select,
        textarea {
            width: 100%;
            height: auto;
            padding: 5px 0 20px 0 !important;
            box-shadow: none;
            border: 0px;
            border-bottom: 1px solid var(--wp--preset--color--primary);
            font-size: 16px !important;
            background-color: transparent;

            &[aria-invalid="true"] {
                border-bottom: 1px solid var(--gf-color-danger) !important;
            }

            &::placeholder {
            }
        }

        textarea {
            height: 110px !important;
            min-block-size: 1px !important;
        }
    }

    .gform_footer {
        text-align: right;
        justify-content: flex-end;
        margin-block-start: 15px;

        input[type="submit"] {
            border: 1px solid var(--wp--preset--color--primary) !important;
            background-color: var(--wp--preset--color--primary) !important;
            color: white !important;
            font-size: 16px !important;
            font-weight: 400 !important;
            margin-left: auto;
            padding: 10px 50px !important;
            transition: all 0.25s;

            &:hover {
                background-color: transparent !important;
                color: white !important;
                border: 1px solid white !important;
            }
        }
    }
}

.ui-datepicker {
    background-color: white !important;
}