
/* Wrapper: suggestions box */

#live-suggestions-section,
#live-suggestions-section * {
  text-align: left;
}

/* Suggestion box align input ke niche */
#live-suggestions-section {
  position: absolute;
  top: 100%;   /* input ke bilkul niche */
  left: 0;
  right: 0;
  margin-top: 5px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: none;
  width: 100%;
  max-height: 350px;
  overflow-y: auto;
  z-index: 20;
  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;
}


@media (max-width: 650px) {
  #live-suggestions-section {
    max-height: 250px;
    font-size: 0.85rem; /* ~14px */
  }

  .suggestion-article {
    padding: 6px 10px;
    font-size: 14px; /* instead of 25px */
  }
}

@media (max-width: 500px) {
  #live-suggestions-section {
    font-size: 0.8rem; /* ~13px */
  }
  
  .suggestion-article {
    padding: 4px 8px;
    font-size: 12px; /* instead of 18px */
  }
}
