/* Header Search Autocomplete Styling */

/* Input placeholder color for better visibility on blue background */
#inputString::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Suggestions box styling */
.suggestionsBox {
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
  max-height: 400px;
  overflow-y: auto;
}

.suggestionList {
  /* Fără max-height și overflow aici - le are parent-ul */
}

/* Reset list styling */
.suggestionList ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.suggestionList li {
  border-bottom: 1px solid #f0f0f0;
}

.suggestionList li:last-child {
  border-bottom: none;
}

/* Legacy link styling (if any) */
.suggestionList a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.suggestionList a:hover,
.suggestionList a:focus {
  background: #f0f4ff;
  color: #1e3a8a;
}

.suggestionList a:last-child {
  border-bottom: none;
}

/* Make search input text white with better contrast */
#inputString {
  color: white !important;
}

#inputString:focus {
  outline: none;
}