.global-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 2px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    /* Estilização do Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}

.global-search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.global-search-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.global-search-dropdown::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 10px;
}

@media (prefers-color-scheme: dark) {
    .global-search-dropdown {
        background: var(--card-bg, #1e1e1e);
    }
}

.search-category-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    padding: 12px 16px 8px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0,0,0,0.02);
}

.search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-result-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-right: 16px;
}

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

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 0 12px 16px;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.2s;
    flex-grow: 1;
}

.search-result-row:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

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

.search-result-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    background: var(--bg-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    text-shadow: 0px 1px 3px rgba(0,0,0,0.5);
    margin-right: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.search-result-info {
    display: flex;
    flex-direction: column;
}

.search-result-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.search-result-name strong {
    color: var(--primary-color, #007bff);
}

.search-result-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
}
