.donationRankingContainer {
  margin-top: 60px;
  padding: 40px;
  background: rgba(245, 245, 247, 0.7);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donationRankingContainer:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.rankingTitle {
  font-size: 32px;
  line-height: 1.125;
  font-weight: 600;
  letter-spacing: .004em;
  color: #1d1d1f;
  margin-bottom: 24px;
  text-align: center;
}

.tabContainer {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tabButton {
  background: none;
  border: none;
  padding: 12px 24px;
  font-size: 17px;
  font-weight: 500;
  color: #1d1d1f;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.tabButton:hover {
  color: #0066cc;
}

.activeTab {
  color: #0066cc;
  font-weight: 600;
}

.activeTab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #0066cc;
  border-radius: 3px 3px 0 0;
}

.rankingList {
  overflow-x: auto;
}

.rankingTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.rankingTable th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #1d1d1f;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.rankingTable td {
  padding: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.loadMoreContainer {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.loadMoreButton {
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.loadMoreButton:hover {
  background-color: #0055b3;
  transform: translateY(-2px);
}

.loadMoreButton:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  transform: none;
}

.noMoreData {
  color: #666;
  font-size: 14px;
  text-align: center;
}

.rankingTable tr:hover {
  background-color: rgba(0, 102, 204, 0.05);
}

.rankCell {
  text-align: center;
  width: 60px;
}

.rankBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e6e6e6;
  color: #1d1d1f;
  font-weight: 600;
}

.top1 {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

.top2 {
  background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
  color: white;
  box-shadow: 0 2px 8px rgba(169, 169, 169, 0.3);
}

.top3 {
  background: linear-gradient(135deg, #CD7F32, #8B4513);
  color: white;
  box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
}

.amountCell {
  font-weight: 600;
  color: #0066cc;
}

.messageCell {
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.emptyState {
  text-align: center;
  padding: 40px 0;
  color: #86868b;
  font-size: 17px;
}

@media (max-width: 768px) {
  .tabButton {
    padding: 10px 16px;
    font-size: 15px;
  }

  .rankingTable {
    font-size: 14px;
  }

  .rankingTable th,
  .rankingTable td {
    padding: 12px 8px;
  }

  .messageCell {
    max-width: 150px;
  }
}
