/* ============================================================
   cookie-consent.css  —  Cookie consent banner
   ============================================================ */

.cookie-banner {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    z-index: 500;
    background: var(--clr-bg-white, white);
    border: 1px solid var(--clr-border, #e2e8f0);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 640px;
    width: calc(100% - 2rem);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    opacity: 0;
    visibility: hidden;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--clr-teal-pale, #d6f5f1);
    color: var(--clr-teal, #2ec4b6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cookie-banner-content {
    flex: 1;
    min-width: 0;
}

.cookie-banner-title {
    font-weight: 600;
    color: var(--clr-navy, #1a2744);
    font-size: .9rem;
    margin-bottom: .15rem;
}

.cookie-banner-text {
    color: var(--clr-text-muted, #64748b);
    font-size: .8rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--clr-teal, #2ec4b6);
    font-weight: 600;
    text-decoration: none;
}

.cookie-banner-text a:hover { text-decoration: underline; }

.cookie-banner-actions {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}

.cookie-btn-reject {
    padding: .5rem 1rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--clr-text-muted, #64748b);
    background: transparent;
    border: 1.5px solid var(--clr-border, #e2e8f0);
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}

.cookie-btn-reject:hover {
    border-color: var(--clr-text-muted, #64748b);
    color: var(--clr-navy, #1a2744);
}

.cookie-btn-accept {
    padding: .5rem 1.25rem;
    font-size: .82rem;
    font-weight: 600;
    color: white;
    background: var(--clr-teal, #2ec4b6);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}

.cookie-btn-accept:hover {
    background: var(--clr-teal-dark, #259e92);
    box-shadow: 0 4px 12px rgba(46,196,182,.3);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: .85rem;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .cookie-btn-reject, .cookie-btn-accept {
        flex: 1;
        text-align: center;
    }
}
