/* ============================================================
   cookie-consent.css — GDPR cookie consent banner styling
   ============================================================
   Matches LexiLayers dark-blue / gold theme. Banner is fixed to
   the bottom of the viewport, animates in on first load, and
   stacks vertically on narrow screens.
   ============================================================ */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #1f3764, #0f1f44);
    border-top: 2px solid #2a4a8b;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 16px 20px;
    z-index: 10000;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-consent-banner.cookie-consent-visible {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.cookie-consent-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
    color: #ffd966;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #e0e6f0;
}

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

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

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease-out, color 0.15s ease-out;
    white-space: nowrap;
}

.cookie-consent-btn-decline {
    background: rgba(255, 255, 255, 0.08);
    color: #e0e6f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-consent-btn-decline:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cookie-consent-btn-accept {
    background: #ffd966;
    color: #1a2845;
}

.cookie-consent-btn-accept:hover {
    background: #ffe98a;
}

.cookie-consent-btn:focus-visible {
    outline: 2px solid #ffd966;
    outline-offset: 2px;
}

/* Narrow screens: stack text above buttons, buttons side by side full width */
@media (max-width: 640px) {
    .cookie-consent-banner {
        padding: 14px 16px;
    }

    .cookie-consent-content {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .cookie-consent-buttons {
        width: 100%;
    }

    .cookie-consent-btn {
        flex: 1;
    }
}
