body {
  background: #0a0a0a;
  color: #e0f7fa;
  font-family: 'Orbitron', sans-serif;
  padding: 20px;
  margin: 0;
}

h1 {
  text-align: center;
  color: #00ffff;
  text-shadow: 0 0 8px #00ffffaa;
  margin-bottom: 15px;
}

/* Container tabel dengan scroll vertikal */
.table-container {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 0 15px #00ffff44;
  border-radius: 10px;
  background: #121212;
  padding: 10px;
  scroll-behavior: smooth;
}

/* Tabel penuh lebar container */
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  background: #121212;
}

/* Header */
thead th {
  background: linear-gradient(90deg, #00ffff, #0099ff);
  color: #000;
  font-weight: 700;
  padding: 14px 12px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
  user-select: none;
  border-bottom: 2px solid #00ffffaa;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Baris */
tbody tr {
  border-bottom: 1px solid #222;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: default;
}

tbody tr:hover {
  background: #004d40;
  color: #e0f2f1;
}

/* Sel */
tbody td {
  padding: 12px 12px;
  vertical-align: middle;
  font-weight: 500;
  white-space: nowrap;
}

/* Tombol aksi */
.action-btn {
  padding: 6px 10px;
  margin: 2px 2px 6px 0;
  font-size: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  white-space: normal;
  display: inline-block;
  min-width: 60px;
  text-align: center;
}

.action-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px #00ffffcc;
}

.verify {
  background: #4caf50;
  color: #000;
  box-shadow: 0 0 8px #4caf50aa;
}

.ban {
  background: #f44336;
  color: #fff;
  box-shadow: 0 0 8px #f44336aa;
}

.vip {
  background: #2196f3;
  color: #fff;
  box-shadow: 0 0 8px #2196f3aa;
}

.exp {
  background: #ff9800;
  color: #000;
  box-shadow: 0 0 8px #ff9800aa;
}

/* Responsif untuk Android dan layar kecil */
@media screen and (max-width: 720px) {
  .table-container {
    max-height: 400px;
    padding: 8px;
  }

  thead th, tbody td {
    padding: 10px 8px;
    font-size: 15px;
  }

  .action-btn {
    padding: 6px 8px;
    font-size: 13px;
    white-space: normal;
    min-width: 70px;
    margin-bottom: 6px;
  }

  tbody td:last-child {
    white-space: normal;
    max-width: 180px;
  }
}



/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
  body {
    padding: 10px;
    font-size: 14px;
  }

  h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .table-container {
    max-width: 100%;
    overflow-x: auto;
    padding: 6px;
  }

  table {
    font-size: 13px;
    min-width: 600px; /* biar tetap bisa scroll kanan */
  }

  thead th, tbody td {
    padding: 10px 8px;
  }
}
