.custom-select select {
  display: none;
}

.custom-select {
  position: relative;

  &.w150 {
    width: 150px;
  }
}

.select-selected {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;

  padding: 12px 40px 12px 20px;
  cursor: pointer;

  background-color: #292929;
  border-radius: 4px;
  border: 1px solid #292929;
  color: #fff;

  &.select-arrow-active {
    border: 4px 4px 0 0;

    &:after {
      transform: rotate(90deg);
    }
  }

  &::after {
    position: absolute;
    content: "";
    top: 17px; 
    right: 20px;
    width: 15px;
    height: 15px;
    z-index: 4;
    // border-bottom: 1.5px solid #868686;
    // border-right: 1.5px solid #868686;
    @include transition;
    background: url("../images/svg/select-arrow.svg") no-repeat center;
    background-size: contain;
  }
}

.select-items {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 99;

  cursor: pointer;
  animation-name: select;
  animation-duration: 0.3s;
  background: #292929;
  color: #fff;

  text-align: center;

  max-height: 350px;
  overflow-y: auto;

  div {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;

    color: #fff;
    padding: 10px;
    cursor: pointer;
    @include transition;
    border-radius: 4px;
    margin-bottom: 2px;

    &:hover {
      // border: 1px solid #EDEDED;
      background: #fff;
    }
  }

  &::-webkit-scrollbar {
    width: 0px;
  }

  &::-webkit-scrollbar-track {
    background: #ededed;
    border-radius: 10px;
  }

  &::-webkit-scrollbar-thumb {
    background: #aeaeae;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  }
}

.select-hide {
  display: none;
}

.select-items div:hover,
.same-as-selected {
  background-color: rgba(250,250,250,.5);
}