#bbp-consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999999;
    display: none;
    align-items: flex-end;
    justify-content: flex-end;
}

.bbp-consent-box {
    background: #fff;
    padding: 18px;
    border-radius: 0;
    text-align: left;
    max-width: 440px;
    width: 100%;
    margin: 0;
}

.bbp-consent-box h6 {
    font-size: 15px;
    margin: 0 0 10px;
}

.bbp-consent-box p {
    font-size: 11px;
    line-height: 16px;
}

#bbp-accept,
#bbp-manage,
#bbp-reject-all-main,
#bbp-accept-all-2,
#bbp-reject-all,
#bbp-save-preferences {
    background: #373b37;
    color: #fff;
    font-size: 14px !important;
    margin-top: 10px;
    width: 100%;
    border-radius: 4px;
    border: 0;
    padding: 8px 18px;
    cursor: pointer;
}



.bbp-cookie-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #e5e5e5;
}

.bbp-cookie-row:first-of-type {
    border-top: 0;
}

.bbp-cookie-copy {
    flex: 1;
}

.bbp-cookie-copy p {
    margin: 4px 0 0;
}

.bbp-cookie-row-locked {
    opacity: 0.8;
}

.bbp-consent-actions {
    margin-top: 12px;
}

.bbp-link-button {
    margin-top: 12px;
    background: transparent;
    border: 0;
    padding: 0;
    color: #373b37;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
}

.bbp-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

.bbp-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.bbp-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    transition: 0.2s;
    border-radius: 24px;
}

.bbp-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background-color: white;
    transition: 0.2s;
    border-radius: 50%;
}

.bbp-switch input:checked + .bbp-slider {
    background-color: #373b37;
}

.bbp-switch input:checked + .bbp-slider:before {
    transform: translateX(18px);
}

p.privacy-statement {
    margin-top: 14px;
    text-align: center;
}

.page-id-3 #bbp-consent-overlay {
    background: rgba(0,0,0,0.3);
}

@media only screen and (max-width: 767px) {
    .bbp-consent-box {
        max-width: none;
        width: 100%;
    }
}