/* ══════════════════════════════════════════════════════════════════════════
   NEXA-ERP — tema bersama (wajah referensi "Modernize UI and UX")
   Dimuat oleh setiap halaman aplikasi (halaman CETAK sengaja tidak memuatnya).
   Isi:
     1. Huruf DM Sans untuk seluruh aplikasi.
     2. Palet referensi: navy #0b1f3a + biru #2563eb (menggantikan indigo #4f46e5).
     3. Bilah atas aplikasi (.navbar-coa) dan panel samping (.sidebar-nav) navy.
   Dibuat 8 Okt 2026. Berkas cadangan: /root/nexa-erp/backup-20261008-desain-referensi/
   ══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #2563eb !important;
  --accent: #2563eb !important;
  --accent-hover: #1d4ed8 !important;
  --accent-bg: #eff6ff !important;
  --bg-dark: #0b1f3a !important;
}

/* 1 ── huruf. Hanya di html/body supaya huruf IKON (bootstrap-icons) tidak rusak. */
html,
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* 2 ── bilah atas aplikasi */
.navbar-coa {
  background: #0b1f3a !important;
  border-bottom: 1px solid #123f8c;
}
.navbar-coa h5,
.navbar-coa a {
  font-family: inherit !important;
}

/* 3 ── panel samping + bilah atas halaman Menu */
.sidebar-nav {
  background: linear-gradient(180deg, #0b1f3a 0%, #123f8c 100%) !important;
}
.sidebar-header {
  border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
}
.nav-item:hover {
  background: rgba(255, 255, 255, .10) !important;
  border-left-color: #60a5fa !important;
}
.nav-item.active,
.nav-item:focus {
  border-left-color: #60a5fa !important;
}
.logout-btn {
  border-top: 1px solid rgba(255, 255, 255, .12) !important;
}
.topbar {
  border-bottom: 1px solid #dce5f0;
}
.topbar h5 {
  color: #0b1f3a;
}
.module-card:hover {
  border-color: #2563eb !important;
}
.module-card i {
  color: #0b1f3a !important;
}
