/* retoor <retoor@molodetz.nl> */

.mention-wrapper {
    position: relative;
    width: 100%;
}

.mention-dropdown {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    z-index: var(--z-popover);
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 0.25rem;
}

.mention-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.mention-dropdown-item:hover,
.mention-dropdown-item.active {
    background: var(--accent-light);
    color: var(--accent);
}

@media (hover: none) and (pointer: coarse) {
    .mention-dropdown-item {
        min-height: 44px;
    }
}
