/* General Styling */
.search-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.search-wrapper {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-wrapper:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Search Bar */
.search-bar {
  flex: 1;
  padding: 12px 20px;
  font-size: 1rem;
  border: none;
  outline: none;
  border-radius: 50px 0 0 50px;
  color: #333;
}

.search-bar::placeholder {
  color: #aaa;
  font-style: italic;
}

.search-bar:focus {
  background-color: #ffffff;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
}

/* Search Button */
.search-btn {
  background: linear-gradient(135deg, #007bff, #00b4ff);
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 50px 50px 0;
  transition: all 0.3s ease-in-out;
}

.search-btn:hover {
  background: linear-gradient(135deg, #0056b3, #007bff);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.search-btn:active {
  transform: scale(0.95);
}

.search-icon {
  width: 24px;
  height: 24px;
  color: white;
}

/* Suggestions List */
.suggestions-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: absolute;
  width: 100%;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s ease;
}

.suggestions-list.active {
  visibility: visible;
  opacity: 1;
}

.suggestions-list li {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
}

.suggestions-list li:last-child {
  border-bottom: none;
}

.suggestions-list li:hover {
  background-color: #f1f1f1;
  color: #007bff;
}
