body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  padding: 20px;
}

h2 {
  margin-top: 70px;
  color: #333;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

th {
  font-weight: bold;
  color: #fff;
}

.table-ongoing th {
  background-color:  #efff0d;
  color: #000000;
}

.table-ongoing tr:nth-child(even) {
  background-color: #e9f7ef;
}

.table-waiting th {
  background-color:  #efff0d; /* kuning */
  color: #000000;
}

.table-waiting tr:nth-child(even) {
  background-color: #fff8e1;
}

.table-warming tr:nth-child(even) {
  background-color: #e0f7fa;
}
.sesi-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px 0;
}

.sesi-card {
  width: 300px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.sesi-card h3 {
  margin: 0 0 5px 0;
  color: #333;
  font-size: 1.1em;
}

.jam-sesi {
  margin-bottom: 10px;
  font-size: 0.9em;
  color: #666;
  font-style: italic;
}

.sesi-card table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
}

.sesi-card th {
  background-color: #6c757d;
  color: white;
  padding: 10px;
  text-align: left;
}

.sesi-card td {
  padding: 8px 10px;
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
}

.sesi-card tr:nth-child(even) td {
  background-color: #f2f2f2;
}
.leaderboard-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.leaderboard-card {
  flex: 1 1 30%;
  max-width: 32%;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  min-width: 280px;
}

.leaderboard-card h3 {
  background: #efff0d;
  color: rgb(0, 0, 0);
  text-align: center;
  margin: 0;    
  padding: 10px 0;
  font-size: 18px;
}

.table-leaderboard {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.table-leaderboard th,
.table-leaderboard td {
  border: 1px solid #ccc;
  padding: 12px 16px;
  text-align: left;
  font-size: 16px;
  text-align: center;
}

/* Warna header */
.table-leaderboard thead th {
  background-color: #ffffff;
  color: #000000;
}

/* Lebar proporsional */
.col-urutan {
  width: 10%;
  text-align: center;
}
.col-nama {
  width: 60%;
}
.col-skor {
  width: 30%;
  text-align: center;
}

/* Responsive tweak */
@media (max-width: 768px) {
  .col-nama {
    width: 50%;
  }
  .col-skor {
    width: 40%;
  }
}
    .container {
      padding: 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    h1 {
      text-align: center;
      color: black;
      margin-top: 40px;
    }

    .top-peserta {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      margin-top: 30px;
    }

    .card {
      background-color: #f0f0f0;
      border: 1px solid #ccc;
      border-radius: 10px;
      padding: 15px 20px;
      width: 250px;
      box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
      text-align: center;
    }

    .card h3 {
      margin: 0;
      font-size: 1.2em;
      color: #333;
    }

    .card p {
      margin: 8px 0 0;
      font-size: 1em;
      color: #666;
    }