.times-blitz-leaderboard,
.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  border: 2px solid #003272;
  border-radius: 15px;
  background: #f9f9f9;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.times-blitz-leaderboard h2,
.container h1 {
  color: #003272;
  margin-bottom: 1rem;
}

.times-blitz-leaderboard p,
.container p {
  color: #555;
  margin-bottom: 1rem;
}

/* ✅ ALL BUTTONS UNIFIED STYLE */
.button-row button,
#tableSelector button,
.mode-button,
#playAgain {
  padding: 12px 24px;
  margin: 5px;
  background: linear-gradient(135deg, #007BFF, #0056CC);
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: border 0.3s ease, background 0.3s ease;
  border: 2px solid transparent;
}

.button-row button:hover,
#tableSelector button:hover,
.mode-button:hover,
#playAgain:hover {
  border: 2px solid #FFD700;
}

/* ✅ ACTIVE STATE for SELECTED BUTTON */
.button-row button.active,
#tableSelector button.active,
.mode-button.active {
  border: 2px solid #FFD700;
}

/* ✅ TABLE STYLES */
#leaderboard table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

#leaderboard th, #leaderboard td {
  border: 1px solid #003272;
  padding: 0.5rem;
  text-align: center;
}

/* ✅ Adjusted header style to match brand blue with yellow accent */
#leaderboard th {
  background-color: #0078F8;
  color: white;
  border-bottom: 3px solid #FFD700;  /* subtle yellow accent line */
}

#leaderboard img.avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* ✅ MY BEST CARD */
#myBest {
  margin-top: 1.5rem;
  background: #e8f0ff;
  border: 2px solid #007BFF;
  border-radius: 10px;
  padding: 1rem;
}
