.form-input__input-select{
  background-color: $input_background;
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: none;
  align-items: center;
  display: table;
  white-space: nowrap;
  overflow: hidden;
  table-layout: fixed;
  text-overflow: ellipsis;
  &:active, &:focus{
    outline: none;
  }
  &-light{
    color: $input_color-light
  }
  &-dark{
    color: $input_color-dark
  }
  &-lg{
    padding: $input_padding-lg;
    font-size: $input_font-size-lg;
  }
  &-md{
    padding: $input_padding-md;
    font-size: $input_font-size-md;
  }
  &-sm{
    padding: $input_padding-sm;
    font-size: $input_font-size-sm;
  }
}

.form-input__input-select-wrap{
  display: flex;
  width: 100%;
}

.form-input__input-select-value{
  display: table-cell;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-input__input-select-list{
  position: absolute;
  left: -1px;
  right: -1px;
  top: 100%;
  max-height: 320px;
  background-color: #f2f2f2;
  border-radius: 3px;
  box-shadow: 0 0 3px #2b2b2b;
  z-index: 20;
  overflow: auto;
  &-dark{
    background-color: #494949;
    box-shadow: 0 0 3px #000;
  }
}

.form-input__input-select-item{
  padding: 10px;
  border-bottom: 1px solid rgba(0,0,0, 0.05);
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  &_disabled{
    cursor: default;
    background-color: rgba(0,0,0, 0.05);
  }
  &:hover{
    background-color: rgba(0,0,0, 0.05);
  }
  &_dark{
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255, 0.15);
    &:hover{
      background-color: rgba(255,255,255, 0.1);
    }
  }
  &_no-select{
    cursor: default;
    background-color: rgba(0,0,0, 0.02);
    &:hover{
      background-color: rgba(0,0,0, 0.02);
    }
  }
  &:last-child{
    border: none;
  }
}

.form-input__input-select-item-preloader{
  position: absolute;
  width: unset;
  z-index: 99;
  left: 50%;
  transform: translateX(-50%);
  top: 2px;
  svg{
    height: 15px;
    stroke: #000
  }
}

.form-input__input-select-list-search{
  display: flex;
  flex-direction: row;
  align-items: center;
  box-shadow: 0 1px 4px -2px #131720;
  input{
    width: 100%;
    padding: 12px 10px;
    font-size: 12px;
    background: none;
    border: none;
    &:focus, &:active{
      outline: none;
    }
  }
  i{
    padding: 2px;
    margin-right: 10px;
  }
  svg{
    height: 14px;
    fill: #ababab;
  }
}

