* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #636363;
  color: #000000;
}



h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 2px solid #06b6d4;
  display: inline-block;
  padding-bottom: 5px;
  color: #0f172a;
  /**text-shadow: 0 0 6px rgba(6, 182, 212, 0.4);**/
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
  background: #fff;
}


table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}

thead tr {
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  color: #fff;
  text-align: left;
}

th, td {
  padding: 14px 16px;
  text-align: left;
}

tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.3s ease;
}

tbody tr:hover {
  background: rgba(6, 182, 212, 0.08);
}

.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
}
.progress {
  background: #facc15; /* Kuning */
  color: #111;
}
.completed {
  background: #22c55e; /* Hijau */
}


.btn-view {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-view:hover {
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}


@media (max-width: 768px) {
  h2 {
    font-size: 20px;
  }

  th, td {
    padding: 10px 12px;
    font-size: 14px;
  }


}

/* === Responsif Mobile (<=400px) === */
@media (max-width: 400px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody tr {
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }

  td {
    border: none;
    padding: 8px 0;
    font-size: 14px;
    position: relative;
  }

  td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #06b6d4;
    display: block;
    margin-bottom: 3px;
  }

  .btn-view {
    margin-top: 6px;
    display: inline-block;
  }
}
