.editor-styles-wrapper .gform_wrapper, .gform_wrapper {
    --gf-ctrl-size: 48px !important;
    --gf-ctrl-placeholder-color: #B3B3B3;
    --gf-ctrl-padding-x: 20px;
    --gf-form-gap-x: 20px;
    --gf-form-gap-y: 16px;
    --gf-form-footer-margin-y-start: 26px;
    --gf-ctrl-color: var(--wp--preset--color--white);

    @media screen and (max-width: 992px) {
        --gf-form-gap-y: 26px;
        --gf-ctrl-font-size: var(--wp--preset--font-size--text-base);
    }

    .gform_fields {
        position: relative;

        .gfield {
            .ginput_container {

                input,
                select,
                textarea {
                    background: rgba(65, 73, 85, 0.60);
                    backdrop-filter: blur(15px);
                    &::placeholder {
                        color: var(--gf-ctrl-placeholder-color) !important;
                    }
                    &:focus {
                        color: var(--wp--preset--color--gray-800);
                        border-color: var(--wp--preset--color--white);
                        background-color: var(--wp--preset--color--white);
                        outline: none;
                    }
                }
            }

            &.gfield--type-html{
                font-size: var(--wp--preset--font-size--text-xs);
                a{
                    color: inherit;
                }
            }
        }
    }

    .gform_heading,
    .gform_required_legend,
    .gform_validation_errors {
        display: none !important;
    }

    .gfield_label {
        --gf-local-margin-y: 0;
        --gf-local-padding-y: 12px;
        padding-bottom: var(--gf-local-padding-y);
        margin-top: 0;
        font-size: var(--wp--preset--font-size--text-sm);
    }

    .gfield--input-type-textarea {
        textarea.large {
            min-block-size: 8rem;
        }
    }

    .gform_confirmation_message {
        color: var(--wp--preset--color--white);
        text-align: center;
    }

    .ginput_container_select{
        --gf-ctrl-color: var(--gf-ctrl-placeholder-color);
        position: relative;
        
        select {
            appearance: none;
            padding-right: 40px;
        }
        &::after {
            content: '';
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            width: 11px;
            height: 6px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='6' viewBox='0 0 11 6' fill='none'%3E%3Cpath d='M9.53149 0.942548L5.40031 5.07373L1.26913 0.942547' stroke='%23C9C9C9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            pointer-events: none;
        }
    }
    
    form[data-active-form="true"]{
        .wp-block-falcon-button{
            .wp-element-button{
                .wp-element-button__inner{
                    opacity: 0;
                }
            }
        }
    }

    .gform-loader{
        margin: auto;
    }
}

.contact-section{
    p{
        a{
            text-decoration: none;
        }
    }
    .wp-block-falcon-button.is-style-outline .wp-element-button{
        border-color: var(--wp--preset--color--brand-secondary);
        color: var(--wp--preset--color--brand-secondary);
        .text{
            &::before{
                color: var(--wp--preset--color--brand-secondary);
            }
        }
    }
    .gform_wrapper {
        .gform_fields {
            .gfield {
                position: relative;
                .gfield_label{
                    font-family: var(--wp--preset--font-family--almarai);
                    font-weight: 400;
                    line-height: 48px;  
                    background: var(--wp--preset--color--gray-10);
                    position: absolute;
                    top: 0;
                    width: 100%;
                    padding: 0 13px;
                    font-size: 16px;
                    color: #808790;
                    border-radius: 4px;
                    cursor: pointer;
                    transition: all 0.3s ease-in-out 0s;
                }
                .ginput_container {
                    input, select, textarea {
                        background: var(--wp--preset--color--gray-10);
                        border: 1px solid transparent;
                        backdrop-filter: none;
                        box-shadow: none;
                        color: var(--wp--preset--color--brand-accent-dark);
                        font-family: var(--wp--preset--font-family--almarai);
                        font-size: 16px;
                        font-weight: 400;
                        border-radius: 4px;
                        &:focus{
                            border-color: var(--wp--preset--color--brand-secondary);
                        }
                    }
                    input::placeholder{
                        color: #808790 !important;
                        font-family: var(--wp--preset--font-family--almarai) !important;
                        font-size: 16px !important;
                    }
                }
                .ginput_container_select{
                    &::after{
                        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6" fill="none"><path d="M8.76172 0.500043L4.63054 4.63123L0.499354 0.500043" stroke="%23222222" stroke-linecap="round" stroke-linejoin="round"/></svg>');
                    }
                }
                &.focus{
                    .gfield_label{
                        top: -32px;
                        font-size: 14px;
                        color: var(--wp--preset--color--brand-accent-dark);
                        height: auto;
                        line-height: 18px;
                        background: transparent;
                        padding: 0;
                    }
                    .ginput_container {
                        input, select, textarea {
                            border-color: var(--wp--preset--color--brand-secondary);      
                            background: transparent;                     
                        }
                    }
                }
            }
        }
        .gform_footer{
            .wp-element-button{
                background: var(--wp--preset--color--brand-secondary) !important;
                border-radius: 50px !important;
                min-width: 120px !important;
                height: 44px !important;
            }
        }
    }    
}