/* DIO-NOTE: BB Fassaden – Cookie consent (lean in-house solution) */
/* DIO-NOTE: Centered modal with backdrop, brand colors. Markup: Partials/Consent.html */

.bb-consent {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(20, 28, 18, .55);
    animation: bb-consent-fade .25s ease;
}

/* DIO-NOTE: hidden attribute overrides display:flex (otherwise always visible) */
.bb-consent[hidden] {
    display: none;
}

.bb-consent__box {
    width: 100%;
    max-width: 540px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: #2d4427;
    color: #fff;
    border-radius: 14px;
    padding: 1.9rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
    font-family: 'Open Sans', system-ui, sans-serif;
}

.bb-consent__title {
    margin: 0 0 .6rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.bb-consent__text {
    margin: 0 0 1.35rem;
    font-size: .95rem;
    line-height: 1.55;
}

.bb-consent__text a {
    color: #e8717c;
    font-weight: 600;
    text-decoration: underline;
}

.bb-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.bb-consent__actions .btn {
    flex: 1 1 auto;
    font-weight: 600;
}

@keyframes bb-consent-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
