/* ============================================
   JAK Papers - Cookie Consent (POPIA / GDPR)
   Fixed, quiet bottom bar. Slides up on .is-visible.
   ============================================ */

.cookie-consent {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 9999;
    background: rgba(42, 40, 37, 0.97); /* --charcoal-deep */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06);
}

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

.cookie-consent__inner {
    max-width: 1200px; /* matches --container-width */
    margin: 0 auto;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent__text {
    color: #cfd2c8;
    font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

.cookie-consent__text a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent__actions {
    display: flex;
    gap: 0.6rem;
}

.cookie-consent__btn {
    font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.6rem 1.3rem;
    border: 1px solid var(--sage-dark, #5a6b4f);
    background: var(--sage-dark, #5a6b4f);
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.25s ease, background 0.25s ease;
}

.cookie-consent__btn:hover {
    opacity: 0.88;
}

.cookie-consent__btn--ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

.cookie-consent__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    opacity: 1;
}

@media (max-width: 640px) {
    .cookie-consent__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-consent__actions {
        width: 100%;
    }
    .cookie-consent__btn {
        flex: 1;
    }
}
