.bbr-side-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 20vw;
    background-color: #fff;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    &--left {
        left: 0;
        right: auto;
        transform: translateX(-100%);
    }

    &--right {
        right: 0;
        left: auto;
        transform: translateX(100%);
    }

    &--open {
        transform: translateX(0);

        &.bbr-side-panel--left  { box-shadow:  2px 0 16px rgba(0, 0, 0, 0.15); }
        &.bbr-side-panel--right { box-shadow: -2px 0 16px rgba(0, 0, 0, 0.15); }
    }

    &__title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid #dbdbdb;
        flex-shrink: 0;
        gap: 0.75rem;
    }

    &__title-text {
        font-size: 1.1rem;
        font-weight: 600;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    &__close {
        flex-shrink: 0;
    }

    &__body {
        flex: 1;
        overflow-y: auto;
        padding: 1.25rem;
    }

    &__overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.45);
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;

        &--open {
            opacity: 1;
            pointer-events: auto;
        }
    }
}
