/* файл: cookie.css */

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: #f3f4f6;
    padding: 1rem 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    border-top: 2px solid #374151;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.cookie-consent-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
}

.cookie-consent-text {
    margin: 0;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.cookie-consent-text a {
    color: #60a5fa;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #93bbfc;
}

#acceptCookiesBtn {
    flex-shrink: 0;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 35px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

#acceptCookiesBtn:hover {
    background: #2563eb;
    transform: scale(1.02);
}

#acceptCookiesBtn:active {
    transform: scale(0.97);
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    #acceptCookiesBtn {
        width: 100%;
        padding: 0.6rem;
    }
}
