.tui-select {
  display: inline-block;
  font-size: 12px;
  width: 100px;
  position: relative;
}

.tui-select-disabled,
.tui-select-disabled input {
  cursor: not-allowed;
}

.tui-select-disabled .tui-select-selector {
  opacity: 0.3;
}

.tui-select-show-arrow.tui-select-loading .tui-select-arrow-icon::after {
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  border-radius: 100%;
  border: 2px solid #999;
  border-top-color: transparent;
  border-bottom-color: transparent;
  transform: none;
  margin-top: 4px;
  animation: rcSelectLoadingIcon 0.5s infinite;
}

.tui-select .tui-select-selection-placeholder {
  opacity: 0.4;
  pointer-events: none;
}

.tui-select .tui-select-selection-search-input {
  appearance: none;
}

.tui-select .tui-select-selection-search-input::-webkit-search-cancel-button {
  display: none;
  appearance: none;
}

.tui-select-single .tui-select-selector {
  display: flex;
  position: relative;
}

.tui-select-single .tui-select-selector .tui-select-selection-search {
  width: 100%;
}

.tui-select-single .tui-select-selector .tui-select-selection-search-input {
  width: 100%;
}

.tui-select-single .tui-select-selector .tui-select-selection-item,
.tui-select-single .tui-select-selector .tui-select-selection-placeholder {
  position: absolute;
  top: 1px;
  left: 3px;
  pointer-events: none;
}

.tui-select-single:not(.tui-select-customize-input) .tui-select-selector {
  padding: 1px;
  border: 1px solid #000;
}

.tui-select-single:not(.tui-select-customize-input) .tui-select-selector .tui-select-selection-search-input {
  border: none;
  outline: none;
  background: rgba(255, 0, 0, 0.2);
  width: 100%;
}

.tui-select-multiple .tui-select-selector {
  display: flex;
  flex-wrap: wrap;
  padding: 1px;
  border: 1px solid #000;
}

.tui-select-multiple .tui-select-selector .tui-select-selection-item {
  flex: none;
  background: #bbb;
  border-radius: 4px;
  margin-right: 2px;
  padding: 0 8px;
}

.tui-select-multiple .tui-select-selector .tui-select-selection-item-disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.tui-select-multiple .tui-select-selector .tui-select-selection-overflow {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.tui-select-multiple .tui-select-selector .tui-select-selection-overflow-item {
  flex: none;
  max-width: 100%;
}

.tui-select-multiple .tui-select-selector .tui-select-selection-search {
  position: relative;
  max-width: 100%;
}

.tui-select-multiple .tui-select-selector .tui-select-selection-search-input,
.tui-select-multiple .tui-select-selector .tui-select-selection-search-mirror {
  padding: 1px;
  font-family: system-ui;
}

.tui-select-multiple .tui-select-selector .tui-select-selection-search-mirror {
  position: absolute;
  z-index: 999;
  white-space: nowrap;
  position: none;
  left: 0;
  top: 0;
  visibility: hidden;
}

.tui-select-multiple .tui-select-selector .tui-select-selection-search-input {
  border: none;
  outline: none;
  background: rgba(255, 0, 0, 0.2);
  width: 100%;
}

.tui-select-allow-clear.tui-select-multiple .tui-select-selector {
  padding-right: 20px;
}

.tui-select-allow-clear .tui-select-clear {
  position: absolute;
  right: 20px;
  top: 0;
}

.tui-select-show-arrow.tui-select-multiple .tui-select-selector {
  padding-right: 20px;
}

.tui-select-show-arrow .tui-select-arrow {
  pointer-events: none;
  position: absolute;
  right: 5px;
  top: 0;
}

.tui-select-show-arrow .tui-select-arrow-icon::after {
  content: '';
  border: 5px solid transparent;
  width: 0;
  height: 0;
  display: inline-block;
  border-top-color: #999;
  transform: translateY(5px);
}

.tui-select-focused .tui-select-selector {
  border-color: blue !important;
}

.tui-select-dropdown {
  border: 1px solid green;
  min-height: 100px;
  position: absolute;
  background: #fff;
}

.tui-select-dropdown-hidden {
  display: none;
}

.tui-select-item {
  font-size: 16px;
  line-height: 1.5;
  padding: 4px 16px;
}

.tui-select-item-group {
  color: #999;
  font-weight: bold;
  font-size: 80%;
}

.tui-select-item-option {
  position: relative;
}

.tui-select-item-option-grouped {
  padding-left: 24px;
}

.tui-select-item-option .tui-select-item-option-state {
  position: absolute;
  right: 0;
  top: 4px;
  pointer-events: none;
}

.tui-select-item-option-active {
  background: green;
}

.tui-select-item-option-disabled {
  color: #999;
}

.tui-select-item-empty {
  text-align: center;
  color: #999;
}

.tui-select-selection__choice-zoom {
  transition: all 0.3s;
}

.tui-select-selection__choice-zoom-appear {
  opacity: 0;
  transform: scale(0.5);
}

.tui-select-selection__choice-zoom-appear.tui-select-selection__choice-zoom-appear-active {
  opacity: 1;
  transform: scale(1);
}

.tui-select-selection__choice-zoom-leave {
  opacity: 1;
  transform: scale(1);
}

.tui-select-selection__choice-zoom-leave.tui-select-selection__choice-zoom-leave-active {
  opacity: 0;
  transform: scale(0.5);
}

.tui-select-dropdown-slide-up-enter,
.tui-select-dropdown-slide-up-appear {
  animation-duration: 0.3s;
  animation-fill-mode: both;
  transform-origin: 0 0;
  opacity: 0;
  animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
  animation-play-state: paused;
}

.tui-select-dropdown-slide-up-leave {
  animation-duration: 0.3s;
  animation-fill-mode: both;
  transform-origin: 0 0;
  opacity: 1;
  animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
  animation-play-state: paused;
}

.tui-select-dropdown-slide-up-enter.tui-select-dropdown-slide-up-enter-active.tui-select-dropdown-placement-bottomLeft,
.tui-select-dropdown-slide-up-appear.tui-select-dropdown-slide-up-appear-active.tui-select-dropdown-placement-bottomLeft {
  animation-name: rcSelectDropdownSlideUpIn;
  animation-play-state: running;
}

.tui-select-dropdown-slide-up-leave.tui-select-dropdown-slide-up-leave-active.tui-select-dropdown-placement-bottomLeft {
  animation-name: rcSelectDropdownSlideUpOut;
  animation-play-state: running;
}

.tui-select-dropdown-slide-up-enter.tui-select-dropdown-slide-up-enter-active.tui-select-dropdown-placement-topLeft,
.tui-select-dropdown-slide-up-appear.tui-select-dropdown-slide-up-appear-active.tui-select-dropdown-placement-topLeft {
  animation-name: rcSelectDropdownSlideDownIn;
  animation-play-state: running;
}

.tui-select-dropdown-slide-up-leave.tui-select-dropdown-slide-up-leave-active.tui-select-dropdown-placement-topLeft {
  animation-name: rcSelectDropdownSlideDownOut;
  animation-play-state: running;
}

@keyframes rcSelectDropdownSlideUpIn {
  0% {
    opacity: 0;
    transform-origin: 0% 0%;
    transform: scaleY(0);
  }

  100% {
    opacity: 1;
    transform-origin: 0% 0%;
    transform: scaleY(1);
  }
}

@keyframes rcSelectDropdownSlideUpOut {
  0% {
    opacity: 1;
    transform-origin: 0% 0%;
    transform: scaleY(1);
  }

  100% {
    opacity: 0;
    transform-origin: 0% 0%;
    transform: scaleY(0);
  }
}

@keyframes rcSelectLoadingIcon {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}
