.bbr-multiselect {
    .dropdown-content {
        overflow: hidden;

        ul {
            max-height: 13.5rem;
            overflow: auto;

            li.bbr-dropdown-item {
                .field:not(:last-child) {
                    margin-bottom: 0 !important;
                }

                .bbr-icon {
                    transition: none;
                }

                &--with-icon {
                    gap: 0.5rem;
                }
            }
        }
    }

    &.is-up {
        .dropdown-menu {
            top: auto;
            bottom: 100%;
        }

        &.is-active {
            .bbr-dropdown__label .bbr-icon.bi-arrow-down::before {
                transform: rotate(360deg);
            }
        }
    }

    &__chips-label:not(.bbr-dropdown__label--default) {
        height: auto;
        min-height: 2.25rem;
        white-space: normal;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        padding-left: 0.25rem;
    }

    &__chips-container {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.35rem;
        flex: 1;
        min-width: 0;

        .tag {
            margin-bottom: 0;
        }

        @at-root .bbr-dropdown .bbr-dropdown__label span#{&} {
            max-width: unset;
        }
    }

    &__chips-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.35rem;
        padding: 0.25rem 0;

        .tag {
            margin-bottom: 0;
        }
    }
}
