/* Search Autocomplete Styles */

.search-suggestions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.search-suggestions-list.hidden {
  display: none;
}

.search-suggestion-item {
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.dark .search-suggestion-item {
  border-bottom-color: #374151;
}

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

.search-suggestion-item a {
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

.search-suggestion-item:hover {
  background-color: #f9fafb;
}

.dark .search-suggestion-item:hover {
  background-color: #374151;
}

.search-suggestion-item .fw-500 {
  font-weight: 500;
  color: #111827;
  margin-bottom: 0.25rem;
}

.dark .search-suggestion-item .fw-500 {
  color: #f3f4f6;
}

.search-suggestion-item .text-gray-500 {
  color: #6b7280;
  font-size: 0.875rem;
}

.dark .search-suggestion-item .text-gray-500 {
  color: #9ca3af;
}

.search-suggestion-item:hover .fw-500 {
  color: #0066cc;
}

.dark .search-suggestion-item:hover .fw-500 {
  color: #60a5fa;
}

/* Responsive styles */
@media (max-width: 576px) {
  .search-suggestions-list {
    max-height: 250px;
  }

  .search-suggestion-item {
    padding: 0.5rem 0.75rem;
  }
}

/* Position relative for parent */
.position-relative {
  position: relative;
}

/* Max height for overflow */
.max-h-300px {
  max-height: 300px;
}

/* Overflow y auto */
.overflow-y-auto {
  overflow-y: auto;
}

/* Z-index utility */
.z-1000 {
  z-index: 1000;
}

/* Hidden utility */
.hidden {
  display: none;
}

/* Cursor pointer */
.cursor-pointer {
  cursor: pointer;
}

/* Smooth transitions */
.transition-colors {
  transition: background-color 0.2s ease, color 0.2s ease;
}
