.pop-up,

.filter-pop-up {

    opacity: 0;

    pointer-events: none;

}



.pop-up.active,

.filter-pop-up.active {

    opacity: 1;

    pointer-events: all;

    height: auto;

    min-height: 100vh;

    max-height: 100%;

}

.pop-up__bg {

    width: 100%;

    position: absolute;

    top: 0;

    height: 100%;

    background: rgba(34, 41, 46, 0.20);

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;

    -webkit-box-pack: center;

    -ms-flex-pack: center;

    justify-content: center;

    -webkit-box-align: center;

    -ms-flex-align: center;

    align-items: center;

    z-index: 99999;

}

.pop-up__block {

    width: 100%;

    height: 100%;

    max-width: 786px;

    background-color: var(--color-second-light);

    position: relative;

}

.pop-up__bg.thank .pop-up__scroll{

        padding: 35px;

        margin-top: unset;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        height: 100vh;

}

.pop-up__text {

    font-size: 17px;

    font-weight: 600;

    color: var(--color-title);

    text-align: center;

}

.pop-up__text span {

    color: var(--color-light-green);

}

.pop-up__scroll {

    padding: 35px;

    margin-top: 10vh;

}

.pop-up__title,

.pop-up__text{

margin-bottom: 30px;

}

.pop-up__close {

    position: absolute;

    right: 16px;

    top: 35px;

    width: 24px;

    height: 24px;

    background:  url('../assets/icons/close.svg') center no-repeat;

    cursor: pointer;

}

.pop-up .checkbox-container {

    margin-bottom: 4vh;

}



@media screen and (min-width: 768px) {

    .pop-up__bg {

        height: 100vh;

    }

    .pop-up__block {

        width: 100%;

        height: auto;

        max-width: 66.7vw;

        max-height: 97vh;

        border-radius: 40px;

        overflow: hidden;

    }

    .pop-up__scroll {

        width: 100%;

        height: 100%;

        overflow-y: auto !important;

        padding: 40px;

        gap: 25px;

        margin-top: unset;

    }

    .pop-up__bg.thank .pop-up__scroll { 

        height: auto;

        padding: 40px 72px;

        gap: 0;

    }

    .pop-up__bg.thank .pop-up__block {

        width: auto;

    }

    .pop-up .checkbox__wrapper {

        flex-direction: column;

        align-items: flex-start;

    }

    .pop-up .btn {

        margin: 0 auto;

    }

    .pop-up .checkbox-container {

        margin-bottom: 30px;

    }

    .pop-up .title {

        width: 100%;

        text-align: center;

    }

    .pop-up__close {

        top: 40px;

        right: 40px;

    }

    .pop-up .form .inputs {

        margin-bottom: 30px;

    }

}

@media screen and (min-width: 1200px) {

        .pop-up .checkbox__wrapper {

            flex-direction: row;

            align-items: center;

            justify-content: space-between;

        }

        .pop-up__bg.thank .pop-up__scroll {

            padding: 50px;

        }

        .pop-up .checkbox-container {

            margin-bottom: 0;

        }



        .pop-up .btn {

            margin: 0;

        }



        .pop-up .form .inputs {

            margin-bottom: 40px;

        }

}

@media screen and (min-width: 1400px) {

        .pop-up__scroll {

            padding: 50px;

        }

        .pop-up__close {

            top: 50px;

            right: 50px;

        }

        .pop-up__block {

            border-radius: 50px;

            max-width: 75vw;

        }

    }

@media screen and (min-width: 1600px) {

        .pop-up__block {

             max-width: 60vw;

        }

        .pop-up__scroll {

            padding: 60px 94px 60px 60px;

        }

        .pop-up__close {

            top: 60px;

            right: 60px;

        }

        .pop-up__bg.thank .pop-up__scroll {

            padding: 60px;

            width: 650px;

        }

}



@media screen and (min-width: 1920px) {

    .pop-up__text {

            font-size: 20px;

    }

}

@media (max-width: 1200px) {
    .pop-up [data-name="recaptcha"] {
        display: block;
        margin-top: 20px;
    }
}