/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 99999;
    animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

@keyframes slideUpFade {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-consent__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cookie-consent__text {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: #333;
    font-weight: 400;
}

.cookie-consent__link {
    color: #7e040f;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.cookie-consent__link:hover {
    opacity: 0.8;
    text-decoration: none;
}

.cookie-consent__btn {
    background: #7e040f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(126, 4, 15, 0.2);
}

.cookie-consent__btn:hover {
    background: #650309;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(126, 4, 15, 0.25);
}

.cookie-consent__btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(126, 4, 15, 0.2);
}

/* Мобильная версия */
@media (max-width: 768px) {
    .cookie-consent {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        padding: 18px 16px 20px;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
        border: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .cookie-consent__text {
        font-size: 14px;
    }
    
    .cookie-consent__btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Планшеты */
@media (min-width: 769px) and (max-width: 1024px) {
    .cookie-consent {
        max-width: 340px;
        bottom: 16px;
        right: 16px;
    }
}
