.contributors-list {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.contributors-list h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 20px;
}

.metric-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.metric-btn {
  padding: 8px 16px;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.metric-btn:hover {
  border-color: #28a745;
  color: #28a745;
}

.metric-btn.active {
  background-color: #28a745;
  color: white;
  border-color: #28a745;
}

.contributors-table {
  width: 100%;
  border-collapse: collapse;
}

.contributors-table thead {
  background-color: #f8f9fa;
}

.contributors-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #666;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e0e0e0;
}

.contributors-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #f0f0f0;
}

.contributors-table tbody tr {
  transition: background-color 0.3s ease;
}

.contributors-table tbody tr:hover {
  background-color: #f8f9fa;
}

.rank-cell {
  font-weight: bold;
  color: #999;
  width: 60px;
}

.rank-cell.rank-1 {
  color: #ffd700;
  font-size: 18px;
}

.rank-cell.rank-2 {
  color: #c0c0c0;
  font-size: 16px;
}

.rank-cell.rank-3 {
  color: #cd7f32;
  font-size: 16px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #28a745;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.user-name {
  font-weight: 500;
  color: #333;
}

.value-cell {
  font-weight: 600;
  color: #28a745;
  font-size: 16px;
}

.no-contributors {
  text-align: center;
  padding: 30px;
  color: #999;
  font-size: 14px;
}

@media (max-width: 768px) {
  .contributors-list {
    padding: 15px;
  }

  .contributors-table {
    font-size: 14px;
  }

  .contributors-table th,
  .contributors-table td {
    padding: 10px 8px;
  }

  .user-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .rank-cell {
    width: 40px;
  }
}
