/* 评查文件列表页面样式 */
.review-files-page {
  /* 所有样式都包含在此命名空间内 */
}

/* 筛选区域 - 与filter-panel.css重复，已注释
.review-files-page .filter-panel {
  background-color: white;
  border-radius: 6px;
  border: 1px solid var(--color-gray-200);
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
} */

.review-files-page .form-label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-gray-800);
}

/* 搜索框样式 - 与search-box.css重复，已注释
.review-files-page .search-box {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 4px;
  overflow: visible;
  position: relative;
}

.review-files-page .search-box .form-input {
  flex: 1;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-right: none;
  outline: none;
  background-color: transparent;
  height: 38px;
  border-radius: 4px 0 0 4px;
  box-shadow: none;
  transition: all 0.3s;
}

.review-files-page .search-box .form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 104, 74, 0.1);
} */

.review-files-page .search-box .search-button {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
  margin: 0 !important;
  border: 1px solid var(--color-primary) !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  background-color: var(--color-primary) !important;
  color: white !important;
  cursor: pointer !important;
  padding: 0 16px !important;
  transition: all 0.3s !important;
  outline: none !important;
}

.review-files-page .search-box .search-button:hover {
  background-color: var(--color-primary-hover) !important;
}

.review-files-page .search-box .search-button:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0, 104, 74, 0.2) !important;
}

.review-files-page .search-box .search-button i {
  font-size: 16px !important;
  margin-right: 0 !important;
}

.review-files-page .search-box .search-button span {
  margin-left: 4px !important;
}

/* 仅图标按钮样式 */
.review-files-page .search-box .icon-only-btn {
  padding: 0 12px !important;
  min-width: 40px !important;
}

/* 确保旧的按钮样式不影响搜索按钮 */
.review-files-page .search-box .ant-btn {
  line-height: normal !important;
}

/* 表格样式 - 与table.css重复，已注释
.review-files-page .ant-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.review-files-page .ant-table th {
  background-color: #fafafa;
  font-weight: 400;
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  color: rgba(0, 0, 0, 0.85);
  font-size: 14px;
}

.review-files-page .ant-table td {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
}

.review-files-page .ant-table tr:hover td {
  background-color: #f5f5f5;
} */

/* 文件类型徽章 - 与file-type-tag.css重复，已注释
.review-files-page .file-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
}

.review-files-page .file-type-badge i {
  margin-right: 4px;
  font-size: 14px;
} */

.review-files-page .file-type-contract {
  background-color: #e6f7ff;
  color: #1890ff;
}

.review-files-page .file-type-license {
  background-color: #f6ffed;
  color: #52c41a;
}

.review-files-page .file-type-punishment {
  background-color: #fff7e6;
  color: #fa8c16;
}

.review-files-page .file-type-report {
  background-color: #e6fffb;
  color: #13c2c2;
}

.review-files-page .file-type-other {
  background-color: #f9f0ff;
  color: #722ed1;
}

/* 状态徽章 - 与status-badge.css重复，已注释
.review-files-page .status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
}

.review-files-page .status-badge i {
  margin-right: 4px;
} */

.review-files-page .status-pass {
  background-color: #f6ffed;
  color: var(--color-success);
}

.review-files-page .status-warning {
  background-color: #fffbe6;
  color: var(--color-warning);
}

.review-files-page .status-fail {
  background-color: #fff1f0;
  color: var(--color-error);
}

.review-files-page .status-pending {
  background-color: #f9f0ff;
  color: #722ed1;
}

/* 严重程度指示器 */
.review-files-page .severity-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.review-files-page .severity-info {
  background-color: #1890ff;
}

.review-files-page .severity-warning {
  background-color: #faad14;
}

.review-files-page .severity-error {
  background-color: #f5222d;
}

.review-files-page .severity-critical {
  background-color: #722ed1;
}

/* 分页样式 - 与pagination.css重复，已注释
.review-files-page .pagination {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  padding: 16px;
}

.review-files-page .pagination-item {
  min-width: 32px;
  height: 32px;
  margin-right: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
} */

/* 更新分页样式，与rules._index.tsx保持一致 */
.review-files-page .ant-pagination {
  display: flex;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  justify-content: flex-end;
}

.review-files-page .ant-pagination-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-files-page .ant-pagination-item {
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0 8px;
  margin-right: 4px;
}

.review-files-page .ant-pagination-item-active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.review-files-page .ant-pagination-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.review-files-page .ant-pagination-prev,
.review-files-page .ant-pagination-next {
  min-width: 32px;
  height: 32px;
}

.review-files-page .ant-pagination-options {
  display: flex;
  align-items: center;
  margin-right: auto;
  min-width: 200px;
  padding-right: 12px;
}

.review-files-page .ant-pagination-options span.text-sm {
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--color-gray-700);
  margin-right: 12px;
}

.review-files-page .ant-pagination-options-size-changer {
  margin-left: 0;
  border: 1px solid var(--color-gray-300);
  border-radius: 4px;
  height: 32px;
  padding: 0 8px;
  min-width: 110px;
  outline: none;
  background-color: white;
  color: var(--color-gray-800);
  transition: all 0.2s;
  font-size: 14px;
}

.review-files-page .ant-pagination-options-size-changer:hover,
.review-files-page .ant-pagination-options-size-changer:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 104, 74, 0.1);
}

/* 表单组件样式 */
.review-files-page .form-select {
  width: 100%;
  height: 38px;
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s;
  background-color: white;
  color: rgba(0, 0, 0, 0.85);
}

.review-files-page .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 104, 74, 0.2);
  outline: none;
}

/* 内容卡片样式 */
.review-files-page .ant-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  margin-bottom: 16px;
}

.review-files-page .ant-card-body {
  padding: 16px;
}

/* 文本颜色辅助类 */
.review-files-page .text-success {
  color: var(--color-success);
}

.review-files-page .text-warning {
  color: var(--color-warning);
}

.review-files-page .text-error {
  color: var(--color-error);
}

.review-files-page .text-secondary {
  color: var(--color-gray-600);
}

/* 错误容器样式 */
.review-files-page .error-container {
  text-align: center;
  padding: 48px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 48px auto;
}

/* 按钮尺寸样式 */
.review-files-page .ant-btn-sm {
  padding: 4px 8px;
  font-size: 12px;
  height: 38px;
  line-height: 1;
  background-color: white;
  border: 1px solid #e9ecef;
  transition: all 0.3s;
}

/* 操作按钮样式 - 根据需求更新 */
/* 默认按钮样式 - 非主要按钮 */
.review-files-page .ant-btn-default {
  background-color: white;
  border: 1px solid #e9ecef;
  color: rgba(0, 0, 0, 0.85);
}

.review-files-page .ant-btn-default:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* 主要按钮样式 - 确认按钮 */
.review-files-page .ant-btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.review-files-page .ant-btn-primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: white;
}

/* 确保链接按钮样式一致 */
.review-files-page .ant-btn-primary a {
  color: white !important;
  text-decoration: none;
}

.review-files-page .ant-btn-primary:hover a {
  color: white !important;
}

.review-files-page .ant-btn-default a {
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
}

.review-files-page .ant-btn-default:hover a {
  color: var(--color-primary);
}

/* 结果统计样式 */
.review-files-page .result-summary {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.review-files-page .result-tag {
  display: inline-flex;
  align-items: center;
  margin-right: 24px;
  font-size: 14px;
}

.review-files-page .result-tag-count {
  font-weight: 400;
  margin-left: 4px;
}

/* 确保使用Table组件后的样式一致性 */
/* .review-files-page .files-table th {
  text-align: left !important;
}

.review-files-page .files-table td {
  text-align: center !important;
  vertical-align: middle !important;
} */

/* 新增：确保表格行能根据内容自动调整高度 */
/* .review-files-page .files-table tr {
  height: auto;
  min-height: 60px;
}

.review-files-page .files-table td {
  height: auto;
  vertical-align: top;
  word-break: break-word;
  padding: 12px 16px;
}

.review-files-page .files-table .break-all {
  word-break: break-all;
}

.review-files-page .files-table .whitespace-pre-wrap {
  white-space: pre-wrap;
} */

