.cookie-popup {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: max-content;
    background: rgba(0, 0, 0, 0.9);
    padding: 35px;
    box-sizing: border-box;
    color: #FFFDEA;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5000;
}

.cookie-popup__text {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
}

.cookie-popup__text a {
    color: #FFFDEA;
    text-decoration: underline;
}

.cookie-popup__btn {
    width: 100%;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFDEA;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #FFFDEA;
    background: transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cookie-popup__btn:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #FFFDEA;
    transform: scaleX(0);
    transform-origin: left;
    transition: all .4s ease;
    z-index: 0;
}

.cookie-popup__btn span {
 
    transition: all .4s ease;
}

.cookie-popup__btn:hover:after {
    transform: scaleX(1);
}

.cookie-popup__btn:hover span {
    color: #000000;
    z-index: 1;
}

@media (max-width: 768px) {
    .cookie-popup {
        right: 50%;
        bottom: 15px;
        transform: translateX(50%);
    }

    .cookie-popup__text {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .cookie-popup__btn {
        height: 40px;
        font-size: 12px;
    }
}

@media (max-width: 375px) {
    .cookie-popup {
        padding: 15px;
    }
    .cookie-popup__text {
        font-size: 10px;
    }
    .cookie-popup__btn {
        height: 35px;
        font-size: 11px;
    }
}
