/* cookie-banner.css */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1e1e1e;          /* тёмный фон, подстраивайте под свой сайт */
    color: #ddd;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    padding: 16px 20px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    border-top: 1px solid #333;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#cookie-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

#cookie-banner .cookie-text {
    flex: 1 1 auto;
    margin-right: 20px;
    line-height: 1.5;
    margin-bottom: 10px; /* отступ для мобильных, когда кнопки могут перенестись */
}

#cookie-banner .cookie-text a {
    color: #aaccff;
    text-decoration: underline;
}

#cookie-banner .cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    margin-bottom: 10px;
}

#cookie-banner button {
    background: #3a3a3a;
    border: 1px solid #555;
    color: #eee;
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.2s;
}

#cookie-banner button:hover {
    background: #4a4a4a;
}

#cookie-banner button.accept-btn {
    background: #3a6ea5;
    border-color: #4a7eb5;
}

#cookie-banner button.accept-btn:hover {
    background: #4a7eb5;
}

/* Адаптив для маленьких экранов */
@media (max-width: 600px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
    }
    #cookie-banner .cookie-text {
        margin-right: 0;
        margin-bottom: 12px;
        font-size: 14px;
    }
    #cookie-banner .cookie-buttons {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }
    #cookie-banner button {
        padding: 8px 14px;
        font-size: 13px;
    }
}