/* ── Cookie consent banner ───────────────────────────── */
/*
 * Bottom-left slide-in, non-modal. Dismisses via Accept/Reject.
 * Matches corporate aesthetic (cream bg, charcoal text, 8px radius).
 * Small footprint: self-contained, no deps, no FOUC.
 */

.pxl-cookie-banner {
    position: fixed;
    left: 20px;
    bottom: 20px;
    max-width: 380px;
    z-index: 9999;
    background: #FAFAF9;
    color: #1A1A1A;
    border: 1px solid #E5E4E0;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(26, 26, 26, 0.12);
    padding: 20px 22px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    transform: translateY(0);
    opacity: 1;
    transition: transform 240ms ease, opacity 240ms ease;
}

.pxl-cookie-banner--dismissed {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.pxl-cookie-banner__title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
}

.pxl-cookie-banner__text {
    margin: 0 0 16px;
    color: #5F5E5A;
    font-size: 13px;
}

.pxl-cookie-banner__text a {
    color: #1A1A1A;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pxl-cookie-banner__actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.pxl-cookie-banner__btn {
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 120ms ease, border-color 120ms ease;
}

.pxl-cookie-banner__btn--ghost {
    background: transparent;
    border-color: #E5E4E0;
    color: #5F5E5A;
}
.pxl-cookie-banner__btn--ghost:hover {
    border-color: #1A1A1A;
    color: #1A1A1A;
}

.pxl-cookie-banner__btn--primary {
    background: #1A1A1A;
    color: #FAFAF9;
}
.pxl-cookie-banner__btn--primary:hover {
    background: #000;
}

@media (max-width: 540px) {
    .pxl-cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
        padding: 16px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pxl-cookie-banner { transition: none; }
}
