.vxe-ico-picker,
.vxe-ico-picker--panel {
  --vxe-ui-ico-picker-current-font-size: var(--vxe-ui-font-size-default);
  --vxe-ui-ico-picker-current-height: var(--vxe-ui-input-height-default);
}
.vxe-ico-picker.size--medium,
.vxe-ico-picker--panel.size--medium {
  --vxe-ui-ico-picker-current-font-size: var(--vxe-ui-font-size-medium);
  --vxe-ui-ico-picker-current-height: var(--vxe-ui-input-height-medium);
}
.vxe-ico-picker.size--small,
.vxe-ico-picker--panel.size--small {
  --vxe-ui-ico-picker-current-font-size: var(--vxe-ui-font-size-small);
  --vxe-ui-ico-picker-current-height: var(--vxe-ui-input-height-small);
}
.vxe-ico-picker.size--mini,
.vxe-ico-picker--panel.size--mini {
  --vxe-ui-ico-picker-current-font-size: var(--vxe-ui-font-size-mini);
  --vxe-ui-ico-picker-current-height: var(--vxe-ui-input-height-mini);
}

.vxe-ico-picker {
  position: relative;
  display: inline-block;
  font-size: var(--vxe-ui-ico-picker-current-font-size);
  color: var(--vxe-ui-font-color);
  width: 100px;
  border: 1px solid var(--vxe-ui-input-border-color);
  border-radius: var(--vxe-ui-base-border-radius);
  background-color: var(--vxe-ui-layout-background-color);
  height: var(--vxe-ui-ico-picker-current-height);
  line-height: var(--vxe-ui-ico-picker-current-height);
}
.vxe-ico-picker.is--disabled {
  background-color: var(--vxe-ui-input-disabled-background-color);
  color: var(--vxe-ui-font-disabled-color);
  cursor: no-drop;
}
.vxe-ico-picker.show--clear:hover .vxe-ico-picker--clear-icon {
  display: block;
}
.vxe-ico-picker.is--active {
  border-color: var(--vxe-ui-font-primary-color);
}

.vxe-ico-picker--inner {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding: 0 0.5em;
}

.vxe-ico-picker--input {
  position: absolute;
  z-index: -1;
  width: 1px;
  height: 1px;
  outline: 0;
  border: 0;
}

.vxe-ico-picker--icon {
  flex-grow: 1;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  padding: 0 0.5em;
}
.vxe-ico-picker--icon > svg {
  max-width: 1em;
  max-height: 1em;
  vertical-align: middle;
}

.vxe-ico-picker--placeholder {
  flex-grow: 1;
  color: var(--vxe-ui-input-placeholder-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vxe-ico-picker--suffix {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  color: var(--vxe-ui-input-placeholder-color);
  cursor: pointer;
}
.vxe-ico-picker--suffix .vxe-ico-picker--suffix-icon > i {
  display: inline-block;
  transition: transform 0.2s ease-in-out;
}

.vxe-ico-picker--panel-search {
  display: block;
  flex-shrink: 0;
  padding: var(--vxe-ui-layout-padding-default);
}
.vxe-ico-picker--panel-search .vxe-ico-picker-search--input {
  width: 100%;
}

.vxe-ico-picker--readonly {
  color: var(--vxe-ui-font-color);
  display: inline-flex;
}

.vxe-ico-picker--clear-icon {
  display: none;
  padding-right: 0.5em;
  height: 100%;
  color: var(--vxe-ui-input-placeholder-color);
  cursor: pointer;
}
.vxe-ico-picker--clear-icon:hover {
  color: var(--vxe-ui-font-color);
}
.vxe-ico-picker--clear-icon:active {
  color: var(--vxe-ui-font-primary-color);
}

.vxe-ico-picker--list-wrapper {
  overflow-x: hidden;
  overflow-y: auto;
  height: var(--vxe-ui-icon-picker-panel-height);
  max-height: var(--vxe-ui-icon-picker-panel-max-height, var(--vxe-ui-icon-picker-panel-height, 22.3em));
  padding: var(--vxe-ui-layout-padding-qtr);
}

.vxe-ico-picker--list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.vxe-ico-picker--item {
  display: flex;
  flex-direction: column;
  width: var(--vxe-ui-icon-picker-item-width, 25%);
  padding: var(--vxe-ui-layout-padding-half);
}
.vxe-ico-picker--item .vxe-ico-picker--item-inner {
  padding: 0.2em;
  border: 1px solid var(--vxe-ui-input-border-color);
  border-radius: var(--vxe-ui-base-border-radius);
  cursor: pointer;
}
.vxe-ico-picker--item .vxe-ico-picker--item-inner:hover {
  background-color: var(--vxe-ui-base-hover-background-color);
}
.vxe-ico-picker--item.is--selected .vxe-ico-picker--item-inner {
  color: var(--vxe-ui-font-primary-color);
  border-color: var(--vxe-ui-font-primary-color);
}

.vxe-ico-picker--item-icon {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 1.5em;
  font-size: var(--vxe-ui-icon-picker-panel-icon-font-size);
}
.vxe-ico-picker--item-icon > svg {
  max-width: 1em;
  max-height: 1em;
  vertical-align: middle;
}

.vxe-ico-picker--item-title {
  padding: 0 0.2em;
  line-height: 1.3em;
  flex-shrink: 0;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9em;
}

.vxe-ico-picker--item-title,
.vxe-ico-picker--item-icon {
  width: 100%;
}

.vxe-ico-picker--panel-wrapper {
  position: relative;
  border-radius: var(--vxe-ui-base-border-radius);
  border: 1px solid var(--vxe-ui-base-popup-border-color);
  box-shadow: var(--vxe-ui-base-popup-box-shadow);
  background-color: var(--vxe-ui-layout-background-color);
}

.vxe-ico-picker--panel {
  display: none;
  position: absolute;
  left: 0;
  padding: 4px 0;
  font-size: var(--vxe-ui-ico-picker-current-font-size);
  color: var(--vxe-ui-font-color);
  text-align: left;
  width: 20em;
}
.vxe-ico-picker--panel:not(.is--transfer) {
  min-width: 100%;
}
.vxe-ico-picker--panel.is--transfer {
  position: fixed;
}
.vxe-ico-picker--panel.ani--leave {
  display: block;
  opacity: 0;
  transform: scaleY(0.5);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center top;
  backface-visibility: hidden;
}
.vxe-ico-picker--panel.ani--leave[placement=top] {
  transform-origin: center bottom;
}
.vxe-ico-picker--panel.ani--enter {
  opacity: 1;
  transform: scaleY(1);
}

.vxe-ico-picker--empty-placeholder {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 0.6em;
  text-align: center;
  min-height: 4em;
}