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

.requiredMark{
  color: red;
}


.parentContainer {
  width: 100%;

  

    .iconButtonClose {
      background-color: #fff;
      z-index: 10;

      &:hover {
        background-color: #fff;
      }
    }
}

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

.inputMask{
  width: 100%;
  border-radius: 0.25rem;
  height: 36.13px;
  background-color: #fff;
  border: 1px solid #ced4da;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  cursor: pointer;
  position: relative;
  
  .value{
    margin: 5px 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 22.99px;
    color: $secondary-color;
    white-space: nowrap;
    max-width: 85%;
    overflow: hidden;
  }
  
  .placeholder{
    margin: 5px 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 22.99px;
    color: #7a7a7a7a;
    white-space: nowrap;
    max-width: 75%;
    overflow:hidden;
  }

  .loaderAndArrow{
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    
    .icon {
      transition: all ease 500ms;
      width: 12px;
    }
  }

}

.label {
  font-weight: 400;
  font-size: 12px;
  line-height: 22.99px;
  margin-bottom: 0;

  @media screen and (max-width: 648px) {
    font-size: 14px;
    line-height: 15px;
  }
}

.input{
  height: 36.13px;
  font-family: "Raleway", 'sans-serif';
}

.dismissArea{
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 9999;
}

.popperBox{
  background-color: #fff;
  margin-top: 5px;
  overflow: hidden;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  border-bottom: 0;
  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;
    }
  }
}