:host {
  &[disabled] > .ant-select-selector {
    color: var(--disabled-text-color);
    background-color: var(--disabled-background-color);
    cursor: not-allowed;
    opacity: 1;
  }
}
::ng-deep {
  .ant-radio-button-wrapper,
  .ant-radio-button-wrapper a,
  .ant-select {
    color: var(--select-text-color);
  }
  .ant-select-tree
    .ant-select-tree-treenode-disabled
    .ant-select-tree-node-content-wrapper {
    background-color: var(--disabled-background-color);
    color: var(--disabled-text-color);
    border-color: var(--disabled-border-color) !important;
  }
  .ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner {
    background-color: var(--disabled-background-color);
  }
  .ant-select-status-error.ant-select:not(.ant-select-disabled):not(
      .ant-select-customize-input
    )
    .ant-select-selector {
    background-color: var(--background-color);
  }
  .ant-select-disabled.ant-select:not(.ant-select-customize-input)
    .ant-select-selector {
    background-color: var(--disabled-background-color);
    color: var(--disabled-text-color);
  }
  .ant-select-multiple .ant-select-selection-item {
    background-color: var(--select-item-selected-background-color);
    border-color: var(--select-border-color);
    color: var(--select-item-selected-text-color);
  }
  .ant-select-tree,
  .ant-select-tree-checkbox-group {
    color: var(--select-text-color);
  }
  eo-ng-tree-select {
    .iconpark-icon {
      height: var(--icon-size);
      width: var(--icon-size);
      vertical-align: text-bottom;
    }
  }
  .ant-select-arrow,
  .ant-select-clear {
    line-height: 11px;
  }
  .ant-select-tree-dropdown {
    background-color: var(--select-dropdown-background-color);
    color: var(--select-text-color);
    border-radius: var(--border-radius);
  }
  //默认悬浮时的边框色
  .ant-select-tree-checkbox-input:focus + .ant-select-tree-checkbox-inner,
  .ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,
  .ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner {
    border-color: var(--select-hover-border-color);
  }
  .ant-select-tree-switcher {
    line-height: inherit;
    min-width: fit-content;
    padding-right: 5px;
  }
  .ant-select-tree-switcher .ant-select-tree-switcher-icon,
  .ant-select-tree-switcher .ant-tree-switcher-icon {
    display: inline-flex;
    vertical-align: middle;
  }
  .ant-select-clear .iconpark-icon,
  .ant-select-selection-item-remove .iconpark-icon {
    height: 10px;
    width: 10px;
    color: var(--select-text-color);
  }
  .ant-select-multiple .ant-select-selection-item-remove {
    align-items: center;
    display: inline-flex;
  }
  .ant-select-tree.ant-select-tree-block-node
    .ant-select-tree-list-holder-inner
    .ant-select-tree-node-content-wrapper {
    flex: inherit;
    padding: 0 5px;
  }
  .ant-select-tree .ant-select-tree-treenode:hover,
  .ant-select-tree-treenode-selected {
    color: var(--select-item-selected-text-color);
    background-color: var(--select-item-selected-background-color);
  }
  .ant-select-tree
    .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
    background-color: transparent;
  }
  .ant-select-tree .ant-select-tree-node-content-wrapper:hover {
    background-color: transparent;
  }

  .ant-tree-title {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
  }
  .ant-select-tree nz-tree-node-title {
    display: contents;
  }
  .ant-select-tree nz-tree-node-title {
    width: 100%;
  }

  .ant-select-tree-list-holder-inner {
    max-height: 200px;
    overflow: auto;
  }
  .ant-select-tree .ant-select-tree-treenode {
    padding: 4px 12px;
  }
  .ant-select:not(.ant-select-customize-input) .ant-select-selector {
    border-radius: var(--border-radius);
    background-color: var(--select-background-color);
    border-color: var(--select-border-color);
  }
  .ant-select-focused:not(.ant-select-disabled).ant-select:not(
      .ant-select-customize-input
    )
    .ant-select-selector {
    border-color: var(--select-hover-border-color);
    box-shadow: none;
  }
  .ant-select:not(.ant-select-disabled):hover .ant-select-selector {
    border-color: var(--select-hover-border-color);
    border-right-width: 1px;
  }
}
