.autocomplete {
    position: relative;
    display: inline-block;
  }
  
  input {
    border: 1px solid transparent;
    padding: 10px;
    font-size: 16px;
  }
  
  input[type=text] {
    width: 100%;
  }
  
  
  .autocomplete-items::-webkit-scrollbar {
    width: 5px; /* width of the scrollbar */
    height:5px;
  }
  
  .autocomplete-items::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* color of the track */
    border-radius: 10px; /* rounded corners of the track */
    
  }
  
  .autocomplete-items::-webkit-scrollbar-thumb {
    background-color: #888; /* color of the thumb */
    border-radius: 10px; /* rounded corners of the thumb */
  }
  
  .autocomplete-items::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* color of the thumb on hover */
  }
  .autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /* Position the autocomplete items to be the same width as the container: */
    top: 100%;
    left: 0;
    right: 0;
    /* Set a fixed height for the dropdown */
    max-height: 200px; /* Adjust as needed */
    /* Make the dropdown scrollable if it exceeds the maximum height */
    overflow-y: auto;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
}
  
  .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff; 
  }
  
  /*when hovering an item:*/
  
  .row-items:hover,.row-items:hover > div {
      background-color: #e9e9e9;
  }
  /*when navigating through the items using the arrow keys:*/
  .autocomplete-active {
    background-color: DodgerBlue !important; 
    color: #ffffff; 
  }
