

.form-subpage {
    form {

        input, 
        textarea,
        select {
            width: calc(100% - 48px);
            border: none;
            padding: 16px;
            border-radius: 16px;
            margin-top: 8px;
            font-family: Poppins, sans-serif;
        }
    }

    .wp-block-buttons {
        .wp-block-button {
            a {
                display: flex;
                align-items: center;
                gap: 8px;
                justify-content: center;

                &::before {
                    content: "";
                    display: block;
                    background-image: url("../../../images/black-arrow.png");
                    width: 20px;
                    height: 20px;
                    background-size: contain;
                    background-position: center;
                }
            }
        }

        .wp-block-button:first-child {
            a {
                &::before {
                    background-image: url("../../../images/white-arrow.png");
                }
            }
        }
    }

    .wpcf7-acceptance {
        
        .wpcf7-list-item {
            margin-left: 0;
        }

        span label {
            display: flex;
            gap: 8px;

            input {
                width: 16px;
                height: 16px;
                min-width: 16px;
                min-height: 16px;
            }
        }
    }

    input[type="submit"] {
        margin-top: 24px;
        border: 1px solid var(--wp--preset--color--white-text) !important;
        color: var(--wp--preset--color--white-text);
        font-weight: 500;
        padding: 16px 48px;
        background-color: transparent !important;
        font-weight: 600;
        width: 100%;
        border-radius: 48px;
        transition: all 0.3s ease-in-out;

        &:hover {
            background-color: var(--wp--preset--color--white-text) !important;
            color: var(--wp--preset--color--dark-text);
            border: 1px solid var(--wp--preset--color--white-text) !important;
        }
    }

}

@media only screen and (max-width: 576px) {
    .form-subpage {
        padding-left: 24px !important;
        padding-right: 24px !important;

        h2 {
            padding-bottom: 16px !important;
        }
    
        .wp-block-buttons {
            padding-bottom: 32px !important;

        }

        input, 
        textarea,
        select {
            border-radius: 32px;
        }
    }
}

@media only screen and (min-width: 576px) and (max-width: 1100px) {
   .form-subpage {
        padding-left: 48px !important;
        padding-right: 48px !important;
    
        .wp-block-columns {
            flex-direction: column;
        }

        form {
            margin-top: 48px;
        }
    }
}

@media only screen and (min-width: 1100px) {
    .form-subpage {

        h2 {
            margin-top: 16px !important;
        }

        form {
            input, 
            textarea,
            select {
                width: calc(100% - 32px);
            }
        }
    }
}
