.warning-block {
    position: fixed;
    bottom: 50px;
    right: 50px;
    display: none;
    justify-content: center;
    width: 390px;
    padding: 30px 21px 22px 21px;
    box-sizing: border-box;
    background-color: #ffffff;
    -webkit-box-shadow: 1px 3px 15px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 1px 3px 15px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 1px 3px 15px 0px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    z-index: 2;
}

.warning--active {
    display: block;
}

.warning__text {
    font-size: 16px;
    padding: 0 7px;
    margin-bottom: 26px;
}

.warning__title {
    font-size: 20px;
    color: #16494D;
    font-weight: 700;
    margin-bottom: 15px;
    padding: 0 7px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.warning__read {
    display: block;
    margin-left: 15px;
}

.wrap-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wrap-link .warning__apply {
    height: 40px;
    font-size: 16px;
    font-weight: 700;
    color: #16494D;
    border: none;
    background: #C8DE72;
    width: 115px;
    border-radius: 5px;

    &:hover {
        background: #ACC162;
    }
}

.wrap-link .warning__reject {
    height: 40px;
    font-size: 16px;
    font-weight: 700;
    color: #BDC6CA;
    border: 1px solid #BDC6CA;
    background: #ffffff;
    width: 115px;
    border-radius: 5px;

    &:hover {
        color: #ffffff;
        background: #BDC6CA;
    }
}

.wrap-link .warning__read {
    font-size: 13px;
    height: 40px;
    font-weight: 500;
    color: #16494D;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    width: 115px;
    border-radius: 5px;

    &:hover {
        text-decoration: none;
    }
}

@media (max-width: 767px) {
    .warning-block {
        position: fixed;
        bottom: 0px;
        right: 0px;
        left: 0;
        display: none;
        justify-content: center;
        width: 100%;
        padding: 20px 11px 12px 11px;
        box-sizing: border-box;
        background-color: #ffffff;
        box-shadow: 1px 3px 15px 0px rgba(0, 0, 0, 0.15);
        border-radius: 5px;
        z-index: 2;
    }

    .warning--active {
        display: block;
    }

    .warning__text {
        font-size: 16px;
        padding: 0 7px;
        margin-bottom: 26px;
    }

    .warning__title {
        font-size: 20px;
        color: #16494D;
        font-weight: 700;
        margin-bottom: 15px;
        padding: 0 7px;
    }

    .warning__read {
        display: block;
        margin-left: 15px;
    }

    .wrap-link {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .wrap-link .warning__apply {
        height: 40px;
        font-size: 16px;
        font-weight: 700;
        color: #16494D;
        border: none;
        background: #C8DE72;
        width: 115px;
        border-radius: 5px;

        &:hover {
            background: #ACC162;
        }
    }

    .wrap-link .warning__reject {
        height: 40px;
        font-size: 16px;
        font-weight: 700;
        color: #BDC6CA;
        border: 1px solid #BDC6CA;
        background: #ffffff;
        width: 115px;
        border-radius: 5px;

        &:hover {
            color: #ffffff;
            background: #BDC6CA;
        }
    }

    .wrap-link .warning__read {
        font-size: 13px;
        height: 40px;
        font-weight: 500;
        color: #16494D;
        text-decoration: underline;
        display: inline-flex;
        align-items: center;
        width: 115px;
        border-radius: 5px;

        &:hover {
            text-decoration: none;
        }
    }
}

.cookie-icon {
    width: 30px;
    height: 30px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: var(--bgUrl);
}