body {
  background: #f2f2f2;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,.15);
  width: 412px;
  height: 800px;
  box-sizing: border-box;
  
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* LOGO ATAS */
#lapakrapi {
  width: 100%;
  margin-top: 10px;
  flex-shrink: 0; /* Mencegah logo gepeng saat halaman penuh */
}

/* MENU UTAMA */
#home {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  margin-bottom: auto;
}

button {
  width: 90%;
  max-width: 320px;
  padding: 14px;
  margin-top: 15px;
  background: #27ae60;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #219653;
}

.page {
  display: none;
  width: 100%;
  margin-top: auto;
  margin-bottom: auto; 
}

/* KHUSUS HALAMAN LAPORAN AGAR BISA SCROLL */
#laporan {
  max-height: 480px;    /* Batas tinggi maksimal area laporan di dalam card */
  overflow-y: auto;     /* Otomatis memunculkan scrollbar jika data melebihi batas */
  padding-right: 5px;   /* Memberi sedikit ruang untuk scrollbar */
  box-sizing: border-box;
}

/* Menyembunyikan tampilan scrollbar bawaan browser agar terlihat lebih minimalis (Opsional) */
#laporan::-webkit-scrollbar {
  width: 6px;
}
#laporan::-webkit-scrollbar-thumb {
  background-color: #rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

table {
  margin: 20px auto;
  width: 100%;
  border-collapse: collapse;
}

/* Desain tambahan untuk baris tabel agar terlihat rapi saat discroll */
table, th, td {
  border: 1px solid #ddd;
  text-align: left;
}
th, td {
  padding: 10px 8px;
  font-size: 14px;
}
th {
  background-color: #f2f2f2;
  position: sticky; /* Membuat kepala tabel tetap di atas saat di-scroll */
  top: 0;
}

.logo {
  display: block;
  margin: 0 auto;
  width: 55%;
  height: auto;
}

/* LOGO BAWAH */
#maxwebtoons {
  padding-top: 20px; 
  width: 100%;
  flex-shrink: 0; /* Mencegah logo ikut tertekan atau mengecil */
}

#desainerhub {
  margin-top: 15px;
  margin-bottom: 10px;
  width: 100%;
  flex-shrink: 0;
}
