/* User search results dropdown styling */
.user-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1d29;
  /* Dark background for better contrast */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  margin-top: 0.25rem;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
  z-index: 1050;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #ffffff;
  /* White text for visibility */
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.15s ease-in-out;
}

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

.search-result-item:hover,
.search-result-item.selected {
  background-color: rgba(255, 255, 255, 0.1);
  /* Lighter on hover or selection */
  outline: none;
}

.search-result-item i {
  font-size: 1.25rem;
  margin-right: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.search-result-item.no-results {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  cursor: default;
}

.search-result-item.no-results:hover {
  background-color: transparent;
}

/* Ensure search bar container has relative positioning */
.search-bar-box {
  position: relative;
}