body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f6f9;
  margin: 0;
  padding: 0;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container { flex: 1; max-width: 1000px; margin: auto; padding: 20px; }

/* HEADER */
.header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 20px;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.logo { width: 65px; height: 65px; border-radius: 50%; background: #fff; padding: 5px; }
.header h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: 0.5px; }

/* FILTER */
.filters {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.filters label {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #444;
}

.filters select,
.filters input {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
  background: #fafafa;
}

.filters select:focus,
.filters input:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0,123,255,0.25);
  background: #fff;
}

/* CARD STYLE */
.cards { display: flex; flex-direction: column; gap: 15px; }

.card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.label-small {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  color: #777;
  margin-bottom: 2px;
}

.score {
  font-size: 22px;
  font-weight: bold;
  color: #28a745;
  min-width: 80px;
  text-align: center;
}

.data { flex-grow: 1; text-align: center; }
.data strong { display: block; font-size: 17px; margin-bottom: 4px; }
.data small { display: block; font-size: 13px; color: #555; margin: 2px 0; }

.rank {
  font-size: 22px;
  font-weight: bold;
  color: #007bff;
  min-width: 70px;
  text-align: center;
}

/* STATUS COLOR */
.data small.status-selesai { color: #28a745; font-weight: 700; }
.data small.status-dalam-proses { color: #ffc107; font-weight: 700; }
.data small.status-belum-mulai { color: #dc3545; font-weight: 700; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.pagination button {
  padding: 6px 12px;
  border: 1px solid #007bff;
  border-radius: 8px;
  background: white;
  color: #007bff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.pagination button:hover {
  background: #007bff;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.pagination button.active {
  background: #007bff;
  color: white;
  font-weight: bold;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

/* FOOTER */
.footer {
  text-align: center;
  font-size: 13px;
  color: #666;
  padding: 15px;
  margin-top: auto;
  background: #fff;
  border-top: 1px solid #e1e1e1;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .filters { flex-direction: column; align-items: stretch; }
  .card { flex-direction: row; justify-content: space-between; text-align: center; }
  .score, .rank { font-size: 20px; min-width: 60px; }
  .data strong { font-size: 15px; }
  .header h2 { font-size: 18px; text-align: center; }
}
