.l-select__wrap {
  width: 100%;
}
.l-select__dropdown .l-popup__content {
  scrollbar-color: var(--td-scrollbar-color) transparent;
  scrollbar-width: thin;
  margin: var(--td-comp-paddingTB-s) 0;
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: var(--td-shadow-2);
}
.l-select__dropdown .l-popup__content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.l-select__dropdown .l-popup__content::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  background-clip: content-box;
  background-color: var(--td-scrollbar-color);
  border-radius: 15px;
}
.l-select__dropdown .l-popup__content::-webkit-scrollbar-thumb:vertical:hover,
.l-select__dropdown .l-popup__content::-webkit-scrollbar-thumb:horizontal:hover {
  background-color: var(--td-scrollbar-hover-color);
}
.l-select__dropdown-inner .l-select__list .l-select__list {
  padding: 0;
}
.l-select__dropdown-inner .l-select__list,
.l-select__dropdown-inner .l-tree {
  padding: var(--td-pop-padding-m);
}
.l-select__dropdown-inner--size-s .l-select__list,
.l-select__dropdown-inner--size-s .l-tree {
  padding: var(--td-pop-padding-s);
}
.l-select__dropdown-inner--size-l .l-select__list,
.l-select__dropdown-inner--size-l .l-tree {
  padding: var(--td-pop-padding-l);
}
.l-select__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.l-select__dropdown.l-popup {
  padding: 0;
}
.l-select__empty.l-size-s {
  line-height: var(--td-comp-size-xs);
}
.l-select__empty {
  text-align: center;
  color: var(--td-text-color-disabled);
  line-height: var(--td-comp-size-m);
  padding: 0 var(--td-comp-paddingLR-s);
}
.l-select__empty.l-size-l {
  line-height: var(--td-comp-size-xl);
}
.l-select__loading-tips.l-size-s {
  line-height: var(--td-comp-size-xs);
}
.l-select__loading-tips {
  text-align: center;
  line-height: var(--td-comp-size-m);
  color: var(--td-text-color-disabled);
}
.l-select__loading-tips.l-size-l {
  line-height: var(--td-comp-size-xl);
}
.l-select-option-group + .l-select-option-group {
  padding-top: var(--td-comp-margin-xs);
  margin-top: var(--td-comp-margin-xs);
}
.l-select-option-group__divider + .l-select-option-group__divider {
  position: relative;
}
.l-select-option-group__divider + .l-select-option-group__divider::before {
  content: "";
  width: 100%;
  height: 1px;
  padding: 0 var(--td-comp-paddingLR-s);
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  background-color: var(--td-border-level-1-color);
  background-clip: content-box;
}
ul.l-select-option-group__header,
.l-select-option-group__header {
  color: var(--td-text-color-placeholder);
  display: block;
  height: var(--td-comp-size-s);
  line-height: var(--td-comp-size-s);
  padding: 0 var(--td-comp-paddingLR-s);
  box-sizing: border-box;
  white-space: nowrap;
  word-wrap: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}
.l-select-option-group__header.l-size-l {
  height: var(--td-comp-size-l);
  line-height: var(--td-comp-size-l);
  padding: 0 var(--td-comp-paddingLR-m);
}
.l-select-option-group__header.l-size-s {
  height: var(--td-comp-size-xxs);
  line-height: var(--td-comp-size-xxs);
  padding: 0 var(--td-comp-paddingLR-s);
}
.l-select-option {
  display: flex;
  align-items: center;
  border-radius: var(--td-radius-default);
  height: var(--td-comp-size-s);
  font: var(--td-font-body-medium);
  cursor: pointer;
  padding: 0 var(--td-comp-paddingLR-s);
  color: var(--td-text-color-primary);
  transition: background-color 0.2s cubic-bezier(0.38, 0, 0.24, 1);
  box-sizing: border-box;
  --ripple-color: var(--td-bg-color-container-active);
}
.l-select-option span {
  position: relative;
  white-space: nowrap;
  word-wrap: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}
.l-select-option:not(.l-is-disabled):not(.l-is-selected):hover {
  background-color: var(--td-bg-color-container-hover);
}
.l-select-option:not(.l-is-disabled):not(.l-is-selected):hover .l-checkbox__label {
  color: inherit;
}
.l-select-option:not(.l-is-disabled):not(.l-is-selected):hover .l-checkbox__input {
  border-color: var(--td-brand-color);
}
.l-select-option .l-checkbox__label {
  color: var(--td-text-color-primary);
  flex: 1;
  white-space: nowrap;
  word-wrap: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}
.l-select-option .l-checkbox {
  width: 100%;
}
.l-select-option.l-is-disabled {
  cursor: not-allowed;
  color: var(--td-text-color-disabled);
  background: var(--td-bg-color-specialcomponent);
}
.l-select-option.l-is-disabled:hover,
.l-select-option.l-is-disabled :active {
  background: var(--td-bg-color-specialcomponent);
}
.l-select-option.l-size-l {
  height: var(--td-comp-size-l);
  padding: 0 var(--td-comp-paddingLR-m);
  font: var(--td-font-body-large);
}
.l-select-option.l-size-m {
  font: var(--td-font-body-medium);
}
.l-select-option.l-size-s {
  height: var(--td-comp-size-xxs);
  padding: 0 var(--td-comp-paddingLR-s);
  font: var(--td-font-body-small);
}
.l-select-option.l-is-selected {
  color: var(--td-brand-color);
  background-color: var(--td-brand-color-light);
  transition: all 0.2s linear;
}
.l-select-option.l-is-selected .l-checkbox__label {
  color: var(--td-brand-color);
}
.l-select-option.l-is-selected:hover {
  background-color: var(--td-brand-color-light);
}
/** 规范 CSS 类名为 --hover */
.l-select-option.l-select-option__hover:not(.l-is-disabled).l-select-option.l-select-option__hover:not(.l-is-selected),
.l-select-option.l-select-option__hover:not(.l-is-disabled).l-select-option.l-select-option--hover:not(.l-is-selected),
.l-select-option.l-select-option--hover:not(.l-is-disabled).l-select-option.l-select-option__hover:not(.l-is-selected),
.l-select-option.l-select-option--hover:not(.l-is-disabled).l-select-option.l-select-option--hover:not(.l-is-selected) {
  background-color: var(--td-bg-color-container-hover);
}
.l-select-option.l-select-option__hover:not(.l-is-disabled).l-select-option.l-select-option__hover:not(.l-is-selected) .l-checkbox__input,
.l-select-option.l-select-option__hover:not(.l-is-disabled).l-select-option.l-select-option--hover:not(.l-is-selected) .l-checkbox__input,
.l-select-option.l-select-option--hover:not(.l-is-disabled).l-select-option.l-select-option__hover:not(.l-is-selected) .l-checkbox__input,
.l-select-option.l-select-option--hover:not(.l-is-disabled).l-select-option.l-select-option--hover:not(.l-is-selected) .l-checkbox__input {
  border-color: var(--td-brand-color);
}
.l-select-option.l-select-option__hover .l-checkbox__label,
.l-select-option.l-select-option--hover .l-checkbox__label {
  color: inherit;
}
.l-select-option + .l-select-option {
  margin-top: var(--td-comp-paddingTB-xxs);
}
.l-select.l-select-input--borderless .l-select__right-icon {
  position: relative;
  margin: 0;
}
.l-select .l-fake-arrow {
  color: var(--td-text-color-placeholder);
}
.l-select .l-fake-arrow--active {
  color: var(--td-brand-color);
}

.l-select-option__highlight-item .l-is-highlight {
  color: var(--td-brand-color);
}
.l-auto-complete .l-input__suffix-clear {
  display: none;
}
.l-auto-complete:hover .l-input__suffix-clear {
  display: inline-block;
}
