/* ========================================
   Cookie banner — PromBarrier
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1055;
    max-width: 520px;
    animation: cookieSlideUp 0.4s ease-out;
}

.cookie-banner__body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--dark-blue);
    color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border: 2px solid var(--light-grey);
}

.cookie-banner__body .bi-cookie {
    font-size: 2rem;
    color: var(--yellow);
    flex-shrink: 0;
    line-height: 1;
}

.cookie-banner__text {
    flex: 1;
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0.8;
}

.cookie-banner__text a {
    color: var(--white);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
}

.cookie-banner__text a:hover {
    color: var(--yellow);
}

.cookie-banner__btn {
    flex-shrink: 0;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
}

@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 575.98px) {
    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }

    .cookie-banner__body {
        padding: 1rem;
    }
}
