/* Минималистичный Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 16px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.cookie-consent-banner.show {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-message {
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-details {
    color: #3e6d26;
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.2s ease;
}

.cookie-details:hover {
    color: #2d5a1c;
}

.cookie-ok-btn {
    background-color: #3e6d26;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookie-ok-btn:hover {
    background-color: #2d5a1c;
}

/* Темная тема */
[data-theme="dark"] .cookie-consent-banner {
    background-color: rgba(30, 30, 30, 0.95);
    color: #e0e0e0;
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .cookie-details {
    color: #4ade80;
}

[data-theme="dark"] .cookie-details:hover {
    color: #22c55e;
}

[data-theme="dark"] .cookie-ok-btn {
    background-color: #4ade80;
    color: #000;
}

[data-theme="dark"] .cookie-ok-btn:hover {
    background-color: #22c55e;
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .cookie-consent-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        border-radius: 8px;
        padding: 16px;
        border-top: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    
    .cookie-consent-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .cookie-ok-btn {
        width: 100%;
        padding: 10px 16px;
    }
    
    .cookie-message {
        font-size: 13px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .cookie-consent-banner {
        bottom: 5px;
        left: 5px;
        right: 5px;
        padding: 14px;
    }
    
    .cookie-message {
        font-size: 12px;
    }
    
    .cookie-details,
    .cookie-ok-btn {
        font-size: 13px;
    }
}