:root {
  --primary-color: #00684a;
  --primary-hover: #005a40;
  --primary-light: rgba(0, 104, 74, 0.1);
  --success-color: #52c41a;
  --warning-color: #faad14;
  --error-color: #ff4d4f;
  --text-color: rgba(0, 0, 0, 0.85);
  --text-secondary: rgba(0, 0, 0, 0.45);
  --border-color: #f0f0f0;
  --bg-gray: #f5f5f5;
}

/* 文件信息和操作按钮区域 */
.file-info-header {
  margin-bottom: 16px;
}

/* 选项卡样式 */
.tab-container {
  margin-bottom: 16px;
}

.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background-color: white;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  overflow: hidden;
}

.tab-nav-item {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.tab-nav-item i {
  margin-right: 6px;
  font-size: 16px;
}

.tab-nav-item:hover {
  color: var(--primary-color);
}

.tab-nav-item.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-content {
  background-color: white;
  border: 1px solid var(--border-color);
  border-top: none;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  padding: 20px;
}

/* 文件预览区域 */
.file-preview {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  height: calc(100vh - 220px);
  min-height: 500px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.file-preview-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-light);
  height: 36px;
}

.file-preview-content {
  flex: 1;
  overflow-y: auto;
  position: relative;
}

.file-preview-actions {
  display: flex;
  gap: 8px;
}

/* 文档内容样式 */
.word-document {
  padding: 40px;
  background-color: white;
  font-family: 'SimSun', serif;
  line-height: 1.8;
}

.word-document h1 {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

.word-document h2 {
  font-size: 16px;
  font-weight: bold;
  margin-top: 16px;
  margin-bottom: 8px;
}

.word-document p {
  text-indent: 2em;
  margin-bottom: 10px;
}

/* 高亮区域 */
.highlight-area {
  display: inline-block;
  position: relative;
  padding: 2px;
  margin: -2px;
  cursor: pointer;
  transition: all 0.2s;
}

.highlight-area:hover {
  box-shadow: 0 0 0 3px rgba(250, 173, 20, 0.6);
}

.highlight-area.warning {
  background-color: rgba(250, 173, 20, 0.2);
  border: 2px solid var(--warning-color);
}

.highlight-area.error {
  background-color: rgba(255, 77, 79, 0.2);
  border: 2px solid var(--error-color);
}

.highlight-area.success {
  background-color: rgba(82, 196, 26, 0.2);
  border: 2px solid var(--success-color);
}

/* 评查点列表区域 */
.review-points-panel {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  height: calc(100vh - 220px);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.review-panel-header {
  border-bottom: 1px solid var(--border-color);
  background-color: var(--primary-light);
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.review-statistics {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  background-color: white;
}

.review-points-list {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.review-point-item {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.review-point-item:hover {
  background-color: #f5f5f5;
}

.review-point-item.active {
  background-color: var(--primary-light);
}

.review-point-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.review-point-title {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  margin-right: 8px;
  margin-bottom: 3px;
}

.review-point-location {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 2px 8px;
  width: fit-content;
  align-self: flex-start;
}

/* 状态标签 */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.status-waiting {
  background-color: #f9f0ff;
  color: #722ed1;
}

.status-processing {
  background-color: #e6f7ff;
  color: #1890ff;
}

.status-success {
  background-color: #f6ffed;
  color: #52c41a;
}

.status-error {
  background-color: #fff1f0;
  color: #f5222d;
}

.status-warning {
  background-color: #fffbe6;
  color: #faad14;
}

/* 替换动作按钮 */
.replace-action {
  background-color: #1890ff;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.replace-action i {
  margin-right: 4px;
}

.replace-action:hover {
  background-color: #40a9ff;
}

/* 人工审核标记 */
.human-review-badge {
  display: inline-flex;
  align-items: center;
  background-color: #e6f7ff;
  color: #1890ff;
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 11px;
  margin-left: 4px;
  line-height: 1.2;
}

.human-review-note {
  background-color: #e6f7ff;
  border-left: 3px solid #1890ff;
  padding: 6px 10px;
  margin-top: 6px;
  font-size: 12px;
  color: #333;
  text-align: left;
}

/* AI智能分析区域 */
.analysis-card {
  margin-bottom: 16px;
}

.analysis-item {
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 16px;
}

.analysis-title {
  font-weight: 500;
  margin-bottom: 8px;
}

.analysis-content {
  color: var(--text-secondary);
  font-size: 14px;
}

.score-container {
  margin-top: 16px;
}

.score-bar {
  height: 10px;
  background-color: #eee;
  border-radius: 5px;
  margin-top: 8px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background-color: var(--warning-color);
}

/* 文件详情页面 */
.info-section {
  margin-bottom: 24px;
  border-radius: 6px;
  overflow: hidden;
}

.info-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
}

.info-content {
  padding: 16px;
  background-color: white;
}

.info-row {
  display: flex;
  margin-bottom: 12px;
}

.info-label {
  width: 120px;
  color: var(--text-secondary);
}

.info-value {
  flex: 1;
} 