/* Statistics Page Styles */

.stats-nav-buttons {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #667eea;
  background: white;
  color: #667eea;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stat-btn:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.stat-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #764ba2;
}

#statsContainer {
  margin-top: 2rem;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stats-table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.stats-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.stats-table td {
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.stats-table tbody tr:hover {
  background: #f9f9ff;
}

.stats-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .stats-nav-buttons {
    gap: 0.5rem;
    margin: 1.5rem 0;
  }

  .stat-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .stats-table th,
  .stats-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }
}
