.stats-container {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stats-header {
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}

.stats-header h2 {
  color: #333;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-icon {
  background: #ff2442;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-content {
  flex: 1;
}

.stat-content h3 {
  color: #666;
  font-size: 1rem;
  margin: 0 0 8px 0;
}

.total-downloads {
  background: #f6f6f6;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.total-downloads .count {
  font-size: 36px;
  font-weight: bold;
  color: #ff2442;
  line-height: 1;
}

.daily-stats {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}

.daily-stats h3 {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  table-layout: fixed;
  border: 1px solid #eee;
}

.stats-table th,
.stats-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
}

.stats-table th:first-child,
.stats-table td:first-child {
  width: 60%;
  padding-left: 24px;
}

.stats-table th:last-child,
.stats-table td:last-child {
  width: 40%;
  text-align: center;
  border-right: none;
}

.stats-table th {
  background: #f8f9fa;
  font-weight: 500;
  color: #666;
  text-align: center;
}

.stats-table tr:hover {
  background-color: #f8f9fa;
}

.stats-table td {
  color: #333;
}

.stats-table thead {
  border-bottom: 2px solid #eee;
}

/* 分页样式 */
.pagination {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pagination-info {
  color: #666;
}

.pagination-buttons {
  display: flex;
  gap: 0.5rem;
}

.pagination-buttons button {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.pagination-buttons button:hover:not(:disabled) {
  background: #f5f5f5;
  border-color: #ccc;
}

.pagination-buttons button.active {
  background: #ff2442;
  color: white;
  border-color: #ff2442;
}

.pagination-buttons button:disabled {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

/* 操作按钮样式 */
.action-buttons {
  display: flex;
  gap: 0.5rem;
}

.action-button.delete {
  background: #ff4d4f;
}

.action-button.delete:hover {
  background: #ff7875;
}

/* 响应式样式 */
@media (max-width: 768px) {
  .pagination-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .pagination-buttons button {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
} 