/*
 * ФАЙЛ: cookie-consent.css
 * ОПИСАНИЕ: Стили для баннера cookie
 */

.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--bg-cookie);
    color: var(--text-cookie);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-cookie);
    z-index: 9999;
    max-width: 500px;
    margin: 0 auto;
    border: var(--border-cookie);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .cookie-consent-banner {
        left: 20px;
        right: auto;
        margin: 0;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.cookie-text strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

.fade-out {
    animation: fadeOut 0.3s ease-in forwards;
}

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

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