/* Autocomplete Styles */
.search-input-wrapper {
  position: relative;
}

.search-button {
  background-color: #d9534f;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
  position: relative;
  border-radius: 0 4px 4px 0;
  color: white;
  margin-left: -4px;
  font-weight: 500;
}

.search-button:hover {
  background-color: #c9302c;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(217, 83, 79, 0.3);
}

.search-button:active {
  background-color: #ac2925;
  transform: translateY(0);
}

.search-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.2);
}

.search-button svg {
  width: 20px;
  height: 20px;
}

.autocomplete-suggestions {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  pointer-events: auto;
}

.autocomplete-suggestions.active {
  display: block;
}

.autocomplete-suggestion {
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
  color: #333;
}

.autocomplete-suggestion:last-child {
  border-bottom: none;
}

.autocomplete-suggestion:hover,
.autocomplete-suggestion.selected {
  background-color: #f5f5f5;
}

.autocomplete-suggestion.selected {
  background-color: #e8f4f8;
}

.autocomplete-suggestion em {
  font-weight: bold;
  color: #d9534f;
  font-style: normal;
}

/* Responsive */
@media (max-width: 768px) {
  .autocomplete-suggestions {
    max-height: 250px;
  }
  
  .autocomplete-suggestion {
    padding: 8px 12px;
    font-size: 13px;
  }
}
