/* ===================== */
/* Tampilan Rapi untuk Peserta */
/* ===================== */

/* Gambar konsisten */
.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fallback jika gambar rusak */
.card-image img:broken,
.card-image img:not([src]) {
  display: none;
}

/* Kartu fleksibel dan tinggi rata */
.card.sticky-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 480px; /* Tinggi minimum seragam */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-field label.required::after,
label.required::after {
  content: " *";
  color: red;
  font-weight: bold;
  margin-left: 4px;
}




/* Kolom peserta - 4 per baris */
.col.l3 {
  width: 23%;
  box-sizing: border-box;
}

/* Tablet: 2 kolom */
@media only screen and (max-width: 992px) {
  .col.l3 {
    width: 48%;
  }
}

/* Mobile: 1 kolom */
@media only screen and (max-width: 600px) {
  .col.l3 {
    width: 100%;
  }
}

/* Kolom tinggi rata */

/* Konten kartu tengah */
.card-content,
.card-reveal {
  flex-grow: 0;
  text-align: center;
}

/* Area aksi di bawah kartu */
.card-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  gap: 10px;
  text-align: center;
  margin-top: auto;
}

/* Tulisan "Keluarkan" rapi tengah */
.keluarkan-text {
  color: #e91e63;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

/* Tombol Verifikasi di tengah */
.card-action a.btn {
  margin: 0 auto !important;
  text-align: center;
}
.tabel-peserta-wrapper {
    overflow-x: auto;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.tabel-peserta {
    width: 100%;
    max-width: 1200px; /* Atur max sesuai kebutuhan */
    border-collapse: collapse;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1 0 auto;
}

footer.page-footer {
  flex-shrink: 0;
}
