.select, .select .options, .combobox .options{
    min-width: 72px;
}
.select .options, .combobox .options{
    display: none;
}
.select.open .options, .combobox.open .options{
    display: block;
    width: 100%;
    border-top: none;
}
.select .options li.selected, .combobox .options li.selected {
    background-color: var(--color-brand-50);
    color: var(--color-brand-500);
    &:is(.dark *) {
        background-color: color-mix(in oklab, var(--color-brand-500) 12%, transparent);
    }
    &:is(.dark *) {
        color: var(--color-brand-400);
    }
}
.combobox {
    position: relative;
    max-width: 100%;
    min-width: 100%;
    width: 100%;
    cursor: text;
}

.combobox label {
    cursor: pointer;
}

.combobox_input {
    position: relative;
    padding: 6px 10px;
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-radius: var(--radius-lg);
    display: flex;
    width: 100%;
    min-height: calc(var(--spacing) * 11);
    align-items: center;
    flex-wrap: wrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 6px;
}
.combobox.input::before {
    display: none;
}

.combobox.disabled::before {
    display: none !important;
}
.combobox.disabled {
    cursor: auto !important;
}

.combobox.open::before {
    transform: rotate(180deg);
}

.combobox_input::-webkit-scrollbar {
    display: none;
}

.combobox_tags {
    display: flex;
    gap: 10px;
    row-gap: 2px;
    flex-wrap: wrap;
}

.combobox input {
    position: static;
    padding: 0;
    border: 0 solid;
    display: block;
    border-radius: 0;
    background: transparent;
    width: auto;
    height: 24px;
    padding-left: 32px;
}

.combobox input:focus {
    box-shadow: none;
}

.combobox.open > .combobox_input {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.combobox .options {
    width: auto;
    display: none;
    flex-flow: column;
    margin-bottom: 10px;
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-radius: var(--radius-lg);
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    max-height: 300px;
    overflow: auto;
}

.combobox.open .options {
    display: block;
    position: absolute;
    z-index: 2;
    width: 100%;
}

.combobox .options li {
    width: auto;
    font-size: 14px;
    text-align: left;
    list-style: none;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: 1px 0;
    padding: 4px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.combobox .options li.selected,
.combobox .options li:hover {

}

.options .combobox_checkbox {
    min-width: 15px;
    height: 15px;
    background: var(--color-brand-50);
    border: 1px solid var(--color-brand-500);
    border-radius: 1px;
    box-sizing: border-box;
    padding: 2px;
    &:is(.dark *) {
        background: var(--color-brand-300);
        border: 1px solid var(--color-brand-300);
    }
}

.options li.selected .combobox_checkbox:before {
    content: '';
    background-color: var(--color-brand-500);
    width: 100%;
    height: 100%;
    display: block;
    &:is(.dark *) {
        background: var(--color-brand-300);
        border: 1px solid var(--color-brand-300);
    }
}
.options.multiple .combobox_checkbox {
    border-radius: 50%;
}
.options.multiple li.selected .combobox_checkbox:before {
    border-radius: 50%;
}

.combobox .options li.empty {
    cursor: default;
    justify-content: center;
}

.combobox .options li.empty:hover {
    cursor: default;
    background: inherit;
}

.new-filters .filter-chips-line {
    display: flex;
    margin: 0 30px;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-chip {
    border: 1px solid var(--color-brand-500);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 13px;
    color: var(--color-brand-500);
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    max-width: 250px;
    cursor: default;
    &:is(.dark *) {
        color: var(--color-brand-400);
        background-color: color-mix(in oklab, var(--color-brand-500) 12%, transparent);
    }
}

.filter-chip .mdi{
    cursor: pointer;
}

.filter-chip-text {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

@media only screen and (max-width: 767px) {
    .new-filters .filter-chips-line {
        margin: 8px 30px;
    }
}