/* ============================================================
   cookie-consent.css — styles for the GDPR cookie consent banner
   ============================================================ */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 1rem 1.5rem;
    /* Hidden by default; JS adds .cookie-banner-visible to reveal */
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-consent-banner.cookie-banner-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 0;
}

.cookie-consent-title {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.2rem;
    color: #212529;
}

.cookie-consent-body {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.cookie-consent-link {
    color: inherit;
    text-decoration: underline;
    white-space: nowrap;
}

.cookie-consent-link:hover {
    color: #212529;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: center;
}

@media (max-width: 576px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}
