/* ED Cookie Consent — Banner Styles */

.ed-consent {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    width: calc(100% - 48px);
    max-width: 680px;
    background: var(--s-accent, #1a1a2e);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(26,26,46,.28);
    padding: 20px 24px;
    font-family: var(--s-body, var(--color-body, sans-serif));
    animation: ed-slide-up .35s cubic-bezier(.16,1,.3,1) both;
}

@keyframes ed-slide-up {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.ed-consent__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ed-consent__text {
    flex: 1;
    min-width: 200px;
}

.ed-consent__text p {
    margin: 0;
    font-size: .88rem;
    line-height: 1.55;
    color: rgba(255,255,255,.88);
}

.ed-consent__text a {
    color: var(--s-accent-hover, #c9a84c);
    text-decoration: underline;
    text-decoration-color: rgba(201,168,76,.4);
    text-underline-offset: 2px;
}

.ed-consent__text a:hover {
    color: #fff;
}

.ed-consent__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.ed-consent__btn {
    padding: 9px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    font-family: var(--s-body, var(--color-body, sans-serif));
    transition: background .18s, color .18s, transform .15s;
    white-space: nowrap;
}

.ed-consent__btn:hover {
    transform: scale(1.04);
}

.ed-consent__btn--accept {
    background: var(--s-accent-hover, #c9a84c);
    color: #fff;
}

.ed-consent__btn--accept:hover {
    background: #b8932e;
}

.ed-consent__btn--reject {
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.2);
}

.ed-consent__btn--reject:hover {
    background: rgba(255,255,255,.2);
    color: #fff;
}

@media (max-width: 500px) {
    .ed-consent {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        transform: none;
        animation: ed-slide-up-m .35s cubic-bezier(.16,1,.3,1) both;
    }
    @keyframes ed-slide-up-m {
        from { opacity: 0; transform: translateY(20px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .ed-consent__inner {
        flex-direction: column;
        align-items: stretch;
    }
    .ed-consent__actions {
        justify-content: flex-end;
    }
}
