.c-multi-select {
    &__box {
        @extend $select-field;
        flexbox();
        align-items: flex-start;
        flex-wrap: wrap;
        height: auto;
        min-height: 60px;
        padding-top: 10px;
        padding-bottom: @padding-top;
    }

    &__tags {
        display: inline-block;

        &:empty {
            display: none;

            & ~ .c-multi-select__input {
                align-self: stretch;

                +placeholder() {
                    color: $color--gray-1;
                    font-weight: $font--regular;
                }
            }
        }
    }

    &__input {
        flex: 1 0 0;
        -webkit-appearance: none;
        border: none;
        font-size: 1em;
        color: $font--color;
        font-weight: $font--bold;

        &:focus {
            outline: none;
        }

        +placeholder() {
            color: transparent;
        }
    }

    &__icon {
        @extend $select-icon;
    }

    &__popover {
        @extend $popover;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1;
        margin-top: 10px;
        max-height: 200px;
        width: 100%;

        &.is-open {
            display: block;
        }
    }

    &__options {
        list-style: none;
        margin: 0;
        max-height: 160px;
        overflow: auto;

        scrollbar();
    }

    &__item {
        color: $color--gray-1;

        & + & {
            margin-top: 10px;
        }
    }
}