/* Phase 3: 批处理模式 - 任务定义样式 */

.task-definition {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
}

.task-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #262626;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1890ff;
}

.task-template-selector {
  margin-bottom: 20px;
}

.template-label {
  font-size: 14px;
  font-weight: 500;
  color: #595959;
  margin-bottom: 12px;
}

.task-template-selector .ant-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.task-template-selector .ant-radio-wrapper {
  display: flex;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  transition: all 0.3s;
  margin: 0;
}

.task-template-selector .ant-radio-wrapper:hover {
  border-color: #1890ff;
  background: #f0f7ff;
}

.task-template-selector .ant-radio-wrapper-checked {
  border-color: #1890ff;
  background: #e6f7ff;
}

.template-name {
  font-weight: 500;
  color: #262626;
  margin-right: 8px;
}

.template-desc {
  font-size: 13px;
  color: #8c8c8c;
}

/* 字段预览 */
.template-fields-preview {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 16px;
  margin-top: 16px;
}

.preview-title {
  font-size: 14px;
  font-weight: 500;
  color: #595959;
  margin-bottom: 12px;
}

.fields-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-item {
  display: flex;
  align-items: baseline;
  font-size: 13px;
  color: #595959;
  padding: 4px 0;
}

.field-number {
  color: #1890ff;
  font-weight: 500;
  margin-right: 4px;
  min-width: 20px;
}

.field-label {
  font-weight: 500;
  color: #262626;
  margin-right: 4px;
}

.field-desc {
  color: #8c8c8c;
  font-size: 12px;
}

/* 自定义提示词 */
.custom-prompt-input {
  margin-top: 16px;
}

.input-label {
  font-size: 14px;
  font-weight: 500;
  color: #595959;
  margin-bottom: 8px;
}

.prompt-textarea {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 13px;
  line-height: 1.6;
}

.prompt-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #8c8c8c;
  padding: 8px 12px;
  background: #fffbe6;
  border-left: 3px solid #faad14;
  border-radius: 4px;
}









