/* ============================================================================
   Mention Autocomplete Dropdown
   ============================================================================ */

.mention-autocomplete {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    max-height: 280px;
    overflow-y: auto;
    padding: var(--spacing-xs);
}

.mention-autocomplete__item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.1s ease;
}

.mention-autocomplete__item:hover,
.mention-autocomplete__item--selected {
    background: var(--color-primary-bg);
}

/* Avatar styles */
.mention-autocomplete__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--font-size-xs);
    color: white;
    text-transform: uppercase;
}

.mention-autocomplete__avatar--img {
    object-fit: cover;
}

.mention-autocomplete__avatar--initials {
    background: var(--color-primary);
}

/* Info container */
.mention-autocomplete__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.mention-autocomplete__name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mention-autocomplete__shortname {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Legacy class for backwards compatibility */
.mention-autocomplete__fullname {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}
