.sf-metadata-basic-filters-select.seafile-customize-select {
  width: fit-content;
  max-width: 100%;
  background-image: none;
  border: none;
  padding: 0 6px;
  margin-left: -6px;
  height: 28px;
}

.sf-metadata-basic-filters-select.seafile-customize-select:hover {
  background: #f5f5f5;
}

.sf-metadata-basic-filters-select.seafile-customize-select .selected-option {
  background-color: inherit;
}

.sf-metadata-basic-filters-select.seafile-customize-select.focus {
  border-color: unset;
  box-shadow: none;
}

.sf-metadata-basic-filters-select .selected-option-show {
  margin-right: 8px;
}

.sf-metadata-basic-filters-select .selected-option .custom-select-dropdown-icon {
  margin-left: 0;
}

.select-basic-filter-option {
  width: 100%;
  display: flex;
  align-items: center;
}

.select-basic-filter-option .select-basic-filter-option-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-basic-filter-option .select-basic-filter-option-check-icon {
  display: inline-flex;
  align-items: center;
  height: 20px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  margin-left: 10px;
}

.seafile-select-option.seafile-select-option-active .seafile-multicolor-icon-check-mark {
  fill: #fff;
}

.filter-group-basic .sf-metadata-filters-list {
  min-height: unset;
  display: flex;
}

.sf-metadata-table-view-basic-filter-file-type-select .seafile-select-option {
  padding: 0.25rem 1rem;
}

.sf-metadata-table-view-basic-filter-file-type-select .select-basic-filter-option .select-basic-filter-option-checkbox {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.sf-metadata-table-view-basic-filter-file-type-select .select-basic-filter-option .select-basic-filter-option-checkbox,
.sf-metadata-table-view-basic-filter-file-type-select .select-basic-filter-option .select-basic-filter-option-checkbox input {
  cursor: inherit;
}
