/* Styles for home page */

.suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: .5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  max-height: 320px;
  overflow-y: auto;
  /* Garante que texto não fique branco herdando .text-white */
  color: #212529 !important;
}

.suggestion-item {
  padding: .75rem 1rem;
  cursor: pointer;
  color: #212529 !important;
}

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

.suggestions-empty {
  padding: .75rem 1rem;
  color: #6c757d !important;
}

/* Destaque para o subtítulo da Home (texto com fundo preto translúcido) */
#homeSubtitle {
  color: #fff !important;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  display: inline-block;
}

/* Loading indicator shown dentro da lista de sugestões */
.suggestions-loading {
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #212529 !important;
}

.suggestions-loading .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,0,0,.15);
  border-top-color: #0d6efd; /* azul primário */
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

.suggestions-loading .loading-text {
  font-size: .95rem;
  color: #6c757d !important;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}