.cookie-modal {
    position: fixed;
    z-index: 1000;
    right: 50%;
    bottom: 30px;
    width: 100%;
    max-width: 740px;
    padding: 30px 66px;
    transform: translateX(50%);
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 1px 7px 8px 3px rgba(34, 60, 80, .2);
}

.cookie-modal--hidden {
    display: none;
    pointer-events: none;
}

.cookie-modal__text {
    margin-bottom: 20px;
    color: #040404;
    font-size: 16px;
    line-height: 150%;
}

.cookie-modal__text-link {
    color: #2b2bbd;
    font-weight: 600;
    text-decoration: none;
}

.cookie-modal__text-link:hover {
    text-decoration: underline;
}

.cookie-modal__text--mob {
    display: none;
}

.cookie-modal .request__agreement-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    color: #333;
    cursor: pointer;
    font-size: inherit;
    line-height: inherit;
}

.cookie-modal .request__agreement-checkbox {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.cookie-modal .request__agreement-box {
    position: relative;
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 1px solid #999;
    border-radius: 3px;
    background: #fff;
}

.cookie-modal .request__agreement-checkbox:checked + .request__agreement-box {
    border-color: #ff5b00;
}

.cookie-modal .request__agreement-checkbox:checked + .request__agreement-box::after {
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid #ff5b00;
    border-width: 0 2px 2px 0;
    content: '';
    transform: rotate(45deg);
}

.cookie-modal .request__agreement-text a {
    color: #007bff;
    text-decoration: underline;
}

.cookie-modal .request__agreement-text a:hover {
    text-decoration: none;
}

.cookie-modal__btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cookie-modal__btn {
    padding: 15px 30px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
}

.cookie-modal__btn--confirm {
    color: #fff;
    background-color: #ef5d0e;
    transition: background-color .3s linear;
}

.cookie-modal__btn--confirm:hover {
    background-color: #c54500;
}

.cookie-modal__btn--cancel {
    color: #fff;
    background-color: #adadad;
}

@media screen and (max-width: 1024px) {
    .cookie-modal {
        padding: 20px 30px;
        text-align: center;
    }

    .cookie-modal__text--desck {
        display: none;
    }

    .cookie-modal__text--mob {
        display: block;
    }

    .cookie-modal__text-link {
        color: #4e4eda;
        text-decoration: underline;
    }

    .cookie-modal__btns {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        flex-direction: column;
        gap: 10px;
    }

    .cookie-modal__btn--cancel {
        color: #040404;
    }
}
