.cookie-consent {
    position: fixed;
    display: block;
    width: 300px;
    border-radius: 10px;
    left: 2px;
    right: 5px;
    z-index: 9999999;

    background: rgba(20, 50, 70, .8);
    color: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .2);
    font-family: Arial, sans-serif;
    animation: cc-slide .4s ease;
}

.cookie-consent--bottom {
    bottom: 0;
}

.cookie-consent--top {
    top: 0;
}

.cookie-consent--center {
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    max-width: 520px;
    width: 90%;
    border-radius: 12px;
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 15px 25px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-consent__content {
    flex: 1;
    min-width: 260px;
}

.cookie-consent__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.cookie-consent__text {
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
}

.cookie-consent__link {
    color: #60a5fa;
    text-decoration: underline;
    margin-left: 4px;
}

.cookie-consent__link:hover {
    color: #93c5fd;
}

.cookie-consent__buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent__btn {
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}

.cookie-consent__btn--accept {
    background: #10b981;
    color: #fff;
}

.cookie-consent__btn--accept:hover {
    background: #059669;
}

.cookie-consent__btn--decline {
    background: #d6957d;
    color: #d1d5db;
    border: 1px solid #9b7061;
}

.cookie-consent__btn--decline:hover {
    background: #9b7061;
}

@keyframes cc-slide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:640px) {
    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .cookie-consent__buttons {
        justify-content: stretch;
    }

    .cookie-consent__btn {
        flex: 1;
    }
}