/* Phase 3: 批处理模式 - 文献选择样式 */

.document-selection {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.selection-summary {
  padding: 12px;
  background: #f5f5f5;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 14px;
}

.summary-text {
  color: #262626;
}

.summary-text strong {
  color: #1890ff;
  font-size: 16px;
}

.summary-warning {
  color: #fa8c16;
  margin-left: 8px;
  font-size: 13px;
}

.summary-error {
  color: #ff4d4f;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 500;
}

.selection-actions {
  margin-bottom: 12px;
}

.selection-search {
  margin-bottom: 12px;
}

.document-list {
  flex: 1;
  overflow-y: auto;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 8px;
  min-height: 200px;
  max-height: 400px;
}

.document-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 4px;
}

.document-item:hover {
  background: #f5f5f5;
}

.document-item.selected {
  background: #e6f7ff;
  border: 1px solid #91d5ff;
}

.document-item .ant-checkbox {
  margin-right: 12px;
}

.document-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.document-name {
  font-size: 14px;
  color: #262626;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.document-tokens {
  font-size: 12px;
  color: #8c8c8c;
  margin-left: 12px;
  white-space: nowrap;
}

.empty-list {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  color: #bfbfbf;
  font-size: 14px;
}

.selection-hint {
  margin-top: 12px;
  padding: 8px 12px;
  background: #f0f7ff;
  border-left: 3px solid #1890ff;
  border-radius: 4px;
  font-size: 13px;
  color: #595959;
}









