/* Cookies Banner — Popup Custom plugin */

#bpopup-cookies-banner {
    font-family: inherit;
    box-sizing: border-box;
    animation: bcookiesSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#bpopup-cookies-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

#bpopup-cookies-msg {
    flex: 1;
    min-width: 0;
    margin: 0;
    line-height: 1.55;
}

#bpopup-cookies-msg a {
    color: inherit;
    opacity: 0.8;
    text-decoration: underline;
}

#bpopup-cookies-msg a:hover {
    opacity: 1;
}

#bpopup-cookies-accept {
    flex-shrink: 0;
    border: none;
    padding: 9px 22px;
    border-radius: 6px;
    font-size: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

#bpopup-cookies-accept:hover {
    opacity: 0.85;
}

@keyframes bcookiesSlideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bcookiesSlideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

#bpopup-cookies-banner.hiding {
    animation: bcookiesSlideOut 0.3s ease-in both;
}

@media (max-width: 600px) {
    #bpopup-cookies-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    #bpopup-cookies-accept {
        text-align: center;
    }
}
