/* Sembunyikan scrollbar navigasi di HP namun tetap bisa di-slide */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Tab Navigasi Active & Inactive Style */
.nav-btn {
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s;
}

.nav-btn:hover {
  color: #1d4ed8;
}

.active-tab {
  color: #1d4ed8 !important;
  border-bottom-color: #1d4ed8 !important;
  background-color: transparent !important;
}

/* KUSTOMISASI MODUL CETAK (PRINT) */
@media print {
  body {
    background-color: white !important;
    color: black !important;
  }

  .no-print, header, nav, button, form, .no-print * {
    display: none !important;
  }

  .tab-content {
    display: block !important;
  }

  /* Sembunyikan tab lain yang sedang tidak aktif saat cetak */
  .tab-content.hidden {
    display: none !important;
  }

  main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Hapus bayangan & border HANYA pada pembungkus (div), bukan tabel */
  div.shadow-sm, div.border, div.rounded-xl, div.rounded-lg {
    box-shadow: none !important;
    border: none !important;
  }

  /* Kunci garis tabel cetak agar tegas dan tidak terhapus */
  table {
    width: 100% !important;
    border-collapse: collapse !important;
  }

  table th, table td {
    border: 1px solid #000 !important;
    padding: 4px 8px !important;
    color: #000 !important;
  }
}