/* ============ 数据报表 ============ */
.report-page { padding: 0; }

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.report-filters {
  display: flex;
  gap: 12px;
}

.report-filters .btn {
  padding: 6px 16px;
  border-radius: 20px;
  background: #fff;
}

.report-filters .btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* 报表卡片 */
.report-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.report-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.report-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.report-card-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.report-chart {
  height: 300px;
}

/* 数据统计卡片 */
.data-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.data-stat {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.data-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.data-stat-title {
  font-size: 13px;
  color: var(--text-secondary);
}

.data-stat-value {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.data-stat-change {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.data-stat-change.up { color: var(--success); }
.data-stat-change.down { color: var(--danger); }

/* 排行榜 */
.rank-list {
  list-style: none;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-color);
}

.rank-item:last-child { border-bottom: none; }

.rank-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
}

.rank-item:nth-child(1) .rank-number { background: #ffd700; color: #fff; }
.rank-item:nth-child(2) .rank-number { background: #c0c0c0; color: #fff; }
.rank-item:nth-child(3) .rank-number { background: #cd7f32; color: #fff; }

.rank-name { flex: 1; font-size: 14px; }
.rank-value { font-weight: 600; }

/* 导出按钮 */
.export-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
