/* 模型能力选项样式 */
.model-capabilities {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background-color: #f9fafb;
}

.capabilities-title {
  font-weight: 500;
  margin-bottom: 8px;
  color: #374151;
}

.checkbox-container {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.2s;
  background-color: white;
  border: 1px solid #e5e7eb;
}

.checkbox-container:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-container label {
  cursor: pointer;
  padding: 4px 0;
  user-select: none;
  flex: 1;
}

/* 模型能力指示器 */
.model-capabilities-indicator {
  display: flex;
  gap: 16px;
  margin: 0 15px;
}

.capability-indicator {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
  border: 1px solid #e5e7eb;
  background-color: white;
}

.capability-indicator:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

.capability-indicator input[type="checkbox"] {
  margin-right: 6px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.capability-indicator label {
  cursor: pointer;
  padding: 3px 0;
  user-select: none;
  min-width: 40px;
}

.model-edit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background-color: white;
  transition: background-color 0.2s;
}

.model-edit-item:hover {
  background-color: #f9fafb;
}

.model-edit-item-name {
  font-weight: 500;
  margin-right: 10px;
  flex: 0 0 auto;
  min-width: 120px;
}

.drag-handle {
  margin-right: 8px;
  cursor: grab;
}

.drag-handle svg {
  width: 20px;
  height: 20px;
  color: #9ca3af;
}

.delete-model-btn {
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
  color: #ef4444;
  border-radius: 4px;
}

.delete-model-btn:hover {
  background-color: rgba(239, 68, 68, 0.1);
}

.model-edit-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px 0;
} 