﻿
/* Стили для cookie-уведомления */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(33, 37, 41, 0.95);
    border: 1px solid #495057;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
    color: #f8f9fa;
}

    .cookie-text h6 {
        color: #20c997;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .cookie-text p {
        color: #adb5bd;
        font-size: 0.875rem;
        line-height: 1.5;
        margin: 0;
    }

    .cookie-text a {
        color: #20c997 !important;
        text-decoration: underline;
        transition: opacity 0.2s;
    }

        .cookie-text a:hover {
            opacity: 0.8;
            text-decoration: none;
        }

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

    .cookie-close-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #f8f9fa;
    }

/* Адаптивность */
@media (max-width: 768px) {
    .cookie-consent-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 15px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-close-btn {
        top: 5px;
        right: 5px;
    }
}

