.brz-dropdown {
    &-wrapper {
        background-color: #fff;
        position: absolute;
        z-index: 1200;
        border: 1px solid rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        border-radius: 0.75rem;
        overflow: hidden;
        display: grid;
        grid-template-rows: 0fr;
        transition: all 300ms;
        max-height: 240px;

        &.show {
            grid-template-rows: 1fr;
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        ul {
            overflow-y: auto;
            overflow-x: hidden;
            min-height: 0;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            padding: 0;
            margin: 0;

            &::-webkit-scrollbar {
                width: 8px;
            }

            &::-webkit-scrollbar-thumb {
                background: rgb(161, 161, 170);
                border-radius: 999px;
                cursor: pointer;
            }

            &::-webkit-scrollbar-track {
                background: rgb(228, 228, 231);
                border-radius: 999px;
            }

            li {
                width: 100%;
                cursor: pointer;
                padding: 6px 16px;
                font-size: 14px;
                display: flex;
                align-items: center;
                gap: 8px;

                &:not(.brz-selected) {
                    display: flex;
                }

                &:hover {
                    outline: none;
                    background-color: rgba(0, 0, 0, 0.02);
                }

                &:focus,
                &.brz-focused {
                    outline: none;
                    background-color: rgba(0, 0, 0, 0.04);
                }

                span {
                    color: rgb(0, 0, 0) !important;
                }

                img {
                    border-radius: 4px;
                }

            }
        }
    }

    &-info {
        font-size: 12px;
        font-style: italic;
        font-weight: 300;
        color: rgb(51, 65, 85);
        padding: 4px 12px;
    }
}

.brz-element-wrapper {
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    padding: 4px 6px !important;


    .brz-selected-wrapper {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;

        .brz-selected-item {
            background-color: #1d4ed8;
            border-radius: 4px;
            padding: 3px 8px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 6px;
            transition: all 100ms;
            animation: tags--bump .3s ease-out 1 infinite;

            span {}

            img {
                border-radius: 4px;
            }

            [brz-selected-remove] {
                width: 16px;
                height: 16px;
                border-radius: 3px;
                display: grid;
                place-items: center;
                font-size: 10px;
                cursor: pointer;
                color: white;
                fill: white;

                &:hover {
                    color: white;
                    fill: white;
                    background-color: #ef4444;
                }

                transition: all 100ms;
            }

            &.brz-selected {
                outline: 2px solid #6387e9;
            }
        }
    }

    .brz-main-element-input {
        height: 100% !important;
        border: none;
        box-shadow: none;
        background-color: transparent;
        padding: 0 4px;
        flex: 1;
        width: 100%;
        display: flex;
        flex-basis: 42px;
        min-width: min-content;
        color: rgb(0, 0, 0);
    }

    .brz-add-btn {
        font-size: 12px;
        background-color: rgb(29, 79, 215);
        border-radius: 8px;
        padding: 5px 8px;
        border: none;
        outline: none;
        color: #fff;
        margin-right: auto;
        margin-left: 0;
        transition: all 200ms;
        display: none;

        &:hover,
        &:active {
            box-shadow: 0 0 4px 0 rgba(29, 79, 215, 0.5);
            background-color: rgb(20, 68, 199);
        }
    }

    @media only screen and (max-width: 768px) {
        .brz-submit-btn {
            display: block;
        }
    }
}

@keyframes tags--bump {
    30% {
        transform: scale(1.2)
    }
}