/* ====================================
   AI 对话气泡右键菜单样式
   ==================================== */

.chat-context-menu {
  position: fixed;
  z-index: 10001;
  min-width: 180px;
  max-width: 240px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  padding: 6px 0;
  animation: fadeIn 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
}

.chat-context-menu .menu-group {
  padding: 0;
}

.chat-context-menu .menu-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 4px 10px;
}

.chat-context-menu .menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  transition: background 0.12s;
  white-space: nowrap;
}

.chat-context-menu .menu-item:hover {
  background: #f5f7fa;
}

.chat-context-menu .menu-item:active {
  background: #e8ecf1;
}

.chat-context-menu .menu-item .menu-icon {
  font-size: 15px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.chat-context-menu .menu-item .menu-label {
  flex: 1;
}

.chat-context-menu .menu-item .menu-shortcut {
  font-size: 11px;
  color: #999;
  margin-left: 12px;
  flex-shrink: 0;
}

.chat-context-menu .menu-item.menu-danger {
  color: #e74c3c;
}

.chat-context-menu .menu-item.menu-danger:hover {
  background: #fff0f0;
}

.chat-context-menu .menu-item.menu-disabled {
  color: #bbb;
  cursor: not-allowed;
  pointer-events: none;
}
