.group-mention-preview {
  display: inline-block;
  margin: 2px 0;
}

.group-mention-preview .mention-trigger {
  transition: all 0.2s;
}

.group-mention-preview .mention-trigger:hover {
  background-color: #e6f7ff;
  border-color: #1890ff;
}

.group-mention-preview .mention-results {
  position: absolute;
  z-index: 1000;
  background: white;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 8px;
  min-width: 280px;
  max-width: 400px;
}

.group-mention-preview.compact .mention-results {
  min-width: 240px;
  max-width: 320px;
}

.group-mention-preview .group-results .ant-card {
  border-radius: 4px;
}

.group-mention-preview .group-results .ant-card:hover {
  border-color: #1890ff;
}

.group-mention-preview .group-results .ant-card-body {
  padding: 12px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .group-mention-preview .mention-results {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 80px;
    top: auto;
    min-width: auto;
    max-width: none;
    max-height: 60vh;
    overflow-y: auto;
  }
  
  .group-mention-preview .mention-trigger {
    padding: 4px 8px;
  }
}