/* Container das Sugestões */
#search-suggestions {
    /* O JS cuida do posicionamento (position: absolute, top, left, width) */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: white;
    border: 1px solid #ccc; /* Bordas mais neutras */
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
    box-sizing: border-box; /* Inclui padding e borda no tamanho total */
}

/* Estilos para o Item de Sugestão */
.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.2s ease;
    text-decoration: none; /* Como agora é uma <a> tag */
    color: inherit;
}

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

.suggestion-item:hover {
    background: #f0f8ff !important;
}

/* Estilo para o item de busca principal */
.search-suggestion {
    background: #e7f3ff;
    border-left: 4px solid #2a9d8f; /* Cor do botão de busca */
    font-weight: 700;
}
.search-suggestion:hover {
    background: #d9ecff !important;
}

/* Estrutura interna do item */
.suggestion-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.suggestion-icon {
    margin-right: 12px;
    font-size: 16px;
    line-height: 1;
}

.suggestion-main-text {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.suggestion-description {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.suggestion-type-badge {
    font-size: 11px;
    color: #666;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: capitalize;
    margin-left: 10px;
}
.search-suggestion .suggestion-type-badge {
    color: #2a9d8f;
    background: #d9ecff;
}

/* Estilos para mensagens de status (Loading, Erro, Vazio) */
.suggestion-none, .suggestion-loading, .suggestion-error {
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

.suggestion-none {
    color: #666;
}
.suggestion-error {
    color: #cc0000;
}
.suggestion-loading {
    color: #007bff;
    font-style: italic;
}