@use '../../assets/scss/customVariables.scss' as *;

.textInputContainer {
  width: 100%;
  height: 47px;
  border-radius: 7px;
  border: 1px solid #DDDDDD;
  padding-left: 27px;
  padding-right: 27px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  gap: 30px;

  .selectInnerTab {
    font-size: 17px;
    line-height: 25.5px;
    font-weight: 400;
    color: #7E7E7E;
    white-space: nowrap;
    max-width: 50px;
  }

  .keyboardArrowDown {
    width: 36px;
    height: 100%;
    border-left: 1px solid #DDDDDD;
    background-color: #ededed;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    right: 0;
  }

}
.popperBox{
  margin-top: 5px;
  overflow: hidden;
  border: 1px solid #DDDDDD;
  background-color: #fff;
  border-radius: 6px;
  z-index: 10000 !important;
  width: 334.58px;
  position: relative;
  max-height: 280px;
  overflow-y: auto;
  
  &::-webkit-scrollbar {
    width: 10px;
    border-radius: 5px;
  }

  &::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
  }

  &::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
  }

  &::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  .listItem{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-family: "Raleway", sans-serif;
    box-sizing: border-box;
    height: 48px;
    padding: 0 24px;
    border-bottom: 1px solid #DDDDDD;

    &__selected {
      @extend .listItem;

      background-color: $primary-color;

      &:hover {
        background-color: $primary-color-alt !important;
        cursor: pointer;
  
      }

      .text {
        color: $white !important;
      }
    }
    
    &:hover {
      background-color: #e7e7e7;
      cursor: pointer;

    }

    .text {
      font-size: 18px;
      color: #5E5E5E;
    }

    .iconAndLabel {
      display: flex;
      flex-direction: row;
      align-items: center;

      .icon {
        font-size: 16px;
      }
  
    }
  }

  .showButton{
    border: 3px solid $secondary-color;
    width: 90%;
    max-height: 47.73px;
    color: #fff;
    background: $secondary-color;
    display: flex;
    align-items: center;
    margin: 0 auto;
    flex-direction: row;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 13.39px;
    margin-top: 10px;
    
    @media screen and (max-width: 600px) {
      margin-bottom: 10px;
    }

    & > p {
      font-weight: 700;
      font-size: 16px;
      line-height: 30px;
      margin-bottom: 0;
    }

    & > img {
      margin-left: 10px;
    }
  }

  .inputRow {
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      padding: 10px;

      .input {
        width: 47.5%;
        border: 1px solid #DDDDDD;
        padding: 0 10px;
        height: 38px;
        border-radius: 7px;
      }
    }
}