﻿/* ============================================================
   COOKIE CONSENT BANNER – themed with :root variables
   ============================================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--header-bg, #2f4a3b);
    color: var(--nav-text, #fcfaf7);
    padding: 1.2rem 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner-text {
    flex: 2 1 300px;
}

    .cookie-banner-text strong {
        font-size: 1.1rem;
    }

    .cookie-banner-text p {
        margin: 0.2rem 0 0;
        opacity: 0.85;
        font-size: 0.9rem;
    }

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.btn-cookie {
    background: var(--accent-color, #5f7e6b);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

    .btn-cookie:hover {
        background: color-mix(in srgb, var(--accent-color, #5f7e6b) 80%, black);
    }

.btn-cookie-essential {
    background: transparent;
    border: 1px solid var(--nav-text, #9ab0a4);
}

    .btn-cookie-essential:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.cookie-privacy-link {
    color: var(--nav-text, #d4e0d9);
    text-decoration: underline;
    font-size: 0.9rem;
}

    .cookie-privacy-link:hover {
        color: white;
    }

@media (max-width: 576px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-actions {
        justify-content: center;
    }
}
