/* Tambahan style MyLazisMU di atas template NiceAdmin (dimuat sebelum theme.css).
   Jangan menulis warna di sini - pakai token var(--lz-*) dari theme.css. */

:root {
  font-size: 15px;
}

/* ---------- header ---------- */
.header {
  height: 56px;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo span {
  font-size: 22px;
}

/* Pemilih Kantor Layanan aktif di header */
.header-nav .kl-switch {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .kl-switch .kl-kode {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
}

.header-nav .dropdown-kl {
  min-width: 260px;
  max-height: 70vh;
  overflow-y: auto;
}

/* ---------- sidebar: heading seksi (divider ala Tuqu) ---------- */
.sidebar {
  top: 56px;
  padding: 16px;
}

.sidebar-nav .nav-item {
  margin-bottom: 3px;
}

.sidebar-nav .nav-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin: 16px 0 6px 6px;
}

/* garis tipis setelah teks heading supaya terbaca sebagai pemisah */
.sidebar-nav .nav-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.25;
}

.sidebar-nav .nav-link {
  font-size: 14px;
  padding: 9px 14px;
}

/* sub-item dropdown (gaya SmartLazizMU) */
.sidebar-nav .nav-content a {
  font-size: 13.5px;
  padding: 8px 0 8px 38px;
}

#main {
  margin-top: 56px;
}

/* ---------- konten ---------- */
.table {
  font-size: 0.85rem;
}

.table thead th {
  white-space: nowrap;
}

.text-uang {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Tabel laporan keuangan (layar; versi cetak/PDF ada di layouts/print) */
.laporan-table td.indent-1 { padding-left: 1.5rem; }
.laporan-table td.indent-2 { padding-left: 3rem; }
.laporan-table tr.subtotal td { font-weight: 600; border-top: 1px solid #6c757d; }
.laporan-table tr.grandtotal td { font-weight: 700; border-top: 1px solid #212529; border-bottom: 3px double #212529; }

/* Tanda wajib isi (*) - tambahkan class "required" pada <label class="form-label"> */
label.required::after {
  content: " *";
  color: #dc3545;
}

/* Select2 di dalam modal: dropdownParent diarahkan ke .modal-content (lihat CLAUDE.md) */
.select2-container--open {
  z-index: 1075;
}

/* ---------- halaman login ---------- */
.auth-page #captcha::placeholder {
  text-transform: none;
}

.auth-page .auth-logo {
  max-width: 180px;
  height: auto;
}

.auth-page .card {
  border: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
