.yk-select__wrapper {
  position: relative;
  display: inline-block;
  min-width: 200px;
  max-width: 100%;
  font-size: 14px;
  color: var(--gray);
  vertical-align: middle;
}
.yk-select__trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  padding: 0 12px;
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: var(--bgColor3);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.yk-select__trigger:hover {
  background-color: var(--bgColor2);
}
.yk-select__trigger:focus-visible {
  outline: 2px solid var(--pcolor3);
  outline-offset: 1px;
}
.yk-select__trigger--open,
.yk-select__trigger--open:hover {
  border-color: var(--pcolor);
  background-color: var(--bgColor1);
}
.yk-select__trigger--disabled,
.yk-select__trigger--disabled:hover {
  color: var(--gray5);
  background-color: var(--bgColor3);
  cursor: not-allowed;
  opacity: 0.6;
}
.yk-select__trigger--is-error,
.yk-select__trigger--is-error:hover {
  border-color: var(--ecolor);
}
.yk-select__trigger--s {
  padding: 0 8px;
  min-height: 22px;
  font-size: 12px;
  border-radius: 4px;
}
.yk-select__trigger--m {
  padding: 0 12px;
  min-height: 30px;
  font-size: 14px;
  border-radius: 4px;
}
.yk-select__trigger--l {
  padding: 0 12px;
  min-height: 34px;
  font-size: 14px;
  border-radius: 8px;
}
.yk-select__trigger--xl {
  padding: 0 16px;
  min-height: 46px;
  font-size: 16px;
  border-radius: 8px;
}
.yk-select__trigger--multiple {
  padding-top: 4px;
  padding-bottom: 4px;
}
.yk-select__selected {
  overflow: hidden;
  flex: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yk-select__placeholder {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--gray5);
  flex: 1;
}
.yk-select__tags {
  display: flex;
  align-items: center;
  overflow: hidden;
  flex: 1;
  flex-wrap: wrap;
  gap: 4px;
}
.yk-select__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  max-width: 100%;
  height: 24px;
  border-radius: 4px;
  color: var(--gray8);
  background-color: var(--bgColor1);
  line-height: 24px;
}
.yk-select__tag-close {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  color: var(--gray5);
  transition: color 0.1s, background-color 0.1s;
  cursor: pointer;
}
.yk-select__tag-close:hover {
  color: var(--gray);
  background-color: var(--gray2);
}
.yk-select__suffix {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  color: var(--gray5);
  flex-shrink: 0;
}
.yk-select__clear {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: var(--gray5);
  transition: color 0.1s, background-color 0.1s;
  cursor: pointer;
}
.yk-select__clear:hover {
  color: var(--gray);
  background-color: var(--gray2);
}
.yk-select__arrow {
  transition: transform 0.2s;
}
.yk-select__arrow--open {
  transform: rotate(180deg);
}
.yk-select__dropdown {
  box-sizing: border-box;
  padding: 4px;
  max-height: 280px;
  border: 1px solid var(--gray1);
  border-radius: 8px;
  background-color: var(--bgColor1);
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.16);
  animation: yk-select-dropdown-in 0.1s ease-out;
}
@keyframes yk-select-dropdown-in {
  from {
    opacity: 0;
    transform: scaleY(0.96);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}
.yk-select__filter {
  padding: 4px;
}
.yk-select__filter-input {
  padding: 0 8px;
  width: 100%;
  height: 28px;
  font-size: 14px;
  border: 1px solid var(--gray3);
  border-radius: 4px;
  color: var(--gray);
  background-color: var(--bgColor1);
  outline: none;
  box-sizing: border-box;
}
.yk-select__filter-input:focus {
  border-color: var(--pcolor);
}
.yk-select__options {
  overflow-y: auto;
  margin: 0;
  padding: 0;
  max-height: 240px;
  list-style: none;
}
.yk-select__option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  height: 32px;
  border-radius: 4px;
  color: var(--gray);
  gap: 8px;
  line-height: 32px;
  cursor: pointer;
}
.yk-select__option--active {
  background-color: var(--bgColor2);
}
.yk-select__option--selected {
  font-weight: 500;
  color: var(--pcolor);
}
.yk-select__option--disabled,
.yk-select__option--disabled:hover {
  color: var(--gray5);
  background-color: transparent;
  cursor: not-allowed;
}
.yk-select__option-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yk-select__option-check {
  flex-shrink: 0;
  color: var(--pcolor);
}
.yk-select__empty {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  text-align: center;
  color: var(--gray5);
  gap: 8px;
}
