.bbp-cookie-notice {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: flex;
    justify-content: center;
    padding: 0 1rem 1rem;
    pointer-events: none;
    transform: translateY(120%);
    transition: transform 280ms ease;
}

.bbp-cookie-notice.is-visible {
    transform: translateY(0);
}

.bbp-cookie-notice-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    width: min(980px, 100%);
    padding: 1rem;
    border: 1px solid rgba(13, 79, 115, 0.22);
    border-radius: 8px;
    background: #ffffff;
    color: #163747;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    pointer-events: auto;
}

.bbp-cookie-notice-card h2 {
    margin: 0 0 0.3rem;
    color: #0d4f73;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    line-height: 1.2;
}

.bbp-cookie-notice-card p {
    margin: 0;
    color: #425d6d;
    font-size: 0.95rem;
    line-height: 1.45;
}

.bbp-cookie-notice-card a {
    color: #0d4f73;
    font-weight: 800;
}

.bbp-cookie-notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.bbp-cookie-notice-actions button {
    min-height: 2.5rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid #0d4f73;
    border-radius: 6px;
    background: #ffffff;
    color: #0d4f73;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

.bbp-cookie-notice-actions button[data-cookie-choice="all"] {
    background: #0d4f73;
    color: #ffffff;
}

.bbp-cookie-notice-actions button:hover,
.bbp-cookie-notice-actions button:focus {
    outline: 2px solid #f5c542;
    outline-offset: 2px;
}

@media (max-width: 720px) {
    .bbp-cookie-notice {
        padding: 0 0.75rem 0.75rem;
    }

    .bbp-cookie-notice-card {
        grid-template-columns: 1fr;
    }

    .bbp-cookie-notice-actions {
        justify-content: stretch;
    }

    .bbp-cookie-notice-actions button {
        flex: 1 1 150px;
    }
}
