.search-wrapper {
  position: relative;
  max-width: 240px;
  width: 100%;
}

.search-input {
  /* padding-right: 2.5rem; */
  border-radius: 25px;
  padding: 10px 40px 10px 20px;
  border: 2px solid #ccc;
  font-size: 16px;
  outline: none;
  background-color: white;
  transition: border-color 0.3s ease;
  width: 100%;
  height: inherit;
}

.search-button {
  background: none;
  border: none;
  right: 10px;
  padding: 0;
  z-index: 2;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
  cursor: pointer;
}


.search-input:focus {
  border-color: #333;
}

.search {
  position: relative;
}

.search i {
  position: absolute;
  right: 10px;
  top: 8px;
  color: #888;
}

.autocomplete-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  /* border: 1px solid #ccc; */
  border-top: none;
  z-index: 1000;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.autocomplete-item {
  padding: 10px 15px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete-item:hover {
  background-color: #f8f8f8;
}

.autocomplete-list li {
  font-size: 14px;
  color: #333;
}
