
/* Wrapper: suggestions box */
#live-suggestions-section {
  position: absolute;
  top: 100%;
  margin-top: 8px;
  background: white;
  border: 1px solid #ccc;
  max-height: 250px;
  overflow-y: auto;
  z-index: 20;
  width: 100%;
  border-radius: 10px;
  display: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Suggestion link - full clickable */
.suggestion-link {
  display: block;
  text-decoration: none;
  color: #222;
}

/* Suggestion item */
.suggestion-article {
  padding: 8px 14px;
  background: #fff;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  transition: background-color 0.3s;
}

/* Title inside article */
.suggestion-title {
  margin: 0 0 4px 0;
}

/* Source type below title */
.suggestion-type {
  color: gray;
  display: block;
}

/* Hover effect */
.suggestion-link:hover .suggestion-article {
  background-color: #f9f9f9;
  border-radius: 6px;
}

/* 🔷 Active list item (selected via arrow keys) */
#live-suggestions-list li.active {
  background-color: #f7faff;             /* Soft bluish background */
  border-left: 4px solid #1a73e8;        /* Subtle blue stripe (Google blue tone) */
  transition: background-color 0.3s ease;
}

/* 🔹 Inner article of active item */
#live-suggestions-list li.active .suggestion-article {
  background-color: #edf3fe;             /* Lighter inner card blue */
  border-radius: 6px;
  transition: background-color 0.3s ease;
}



/*no result message shown*/

#no-results-message{
	display:none;
	color: red; 
	padding: 10px;
}


/* Responsive tweaks */
@media (max-width: 600px) {
  #live-suggestions-section {
    max-height: 180px;
    font-size: 0.85rem;
  }

  .suggestion-article {
    padding: 6px 10px;
  }
}
