:root {
  --nu-green:    #0f5d39;
  --nu-green-2:  #2f8f5b;
  --nu-green-3:  #52b881;
  --nu-light:    #d9f3e5;
  --nu-soft:     #f4fbf7;
  --nu-gold:     #c8a95b;
  --nu-dark:     #09412a;
  --sidebar-w:   270px;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  overflow-x: hidden;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--nu-soft);
  color: #1f2937;
  min-height: 100vh;
  margin: 0;
}
a { text-decoration: none; }

/* ─── Sidebar ────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: linear-gradient(170deg, var(--nu-dark) 0%, var(--nu-green) 100%);
  position: fixed;
  left: 0; top: 0;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  box-shadow: 4px 0 18px rgba(9,65,42,.18);
  overflow-y: auto;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  flex-shrink: 0;
}
.sidebar-brand img {
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.25);
  object-fit: cover;
}
.sidebar-brand-text .title {
  font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3;
}
.sidebar-brand-text .sub {
  font-size: 11px; color: rgba(255,255,255,.6);
}
.sidebar-section {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  padding: 18px 20px 6px;
}
.sidebar nav {
  flex: 1;
  padding: 0 12px 12px;
}
.sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.82);
  padding: 11px 14px;
  border-radius: 12px;
  margin-bottom: 4px;
  font-size: 14.5px;
  font-weight: 500;
  transition: background .18s, color .18s;
}
.sidebar .nav-link i {
  width: 20px; text-align: center; font-size: 15px; flex-shrink: 0;
}
.sidebar .nav-link:hover  { background: rgba(255,255,255,.10); color: #fff; }
.sidebar .nav-link.active { background: rgba(255,255,255,.16); color: #fff; font-weight: 600; }
.sidebar .nav-link .badge-count {
  margin-left: auto;
  background: var(--nu-gold);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.sidebar-footer img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  object-fit: cover;
}
.sidebar-footer .name { font-size: 13px; font-weight: 600; color: #fff; }
.sidebar-footer .role { font-size: 11px; color: rgba(255,255,255,.55); }
.sidebar-footer .fa-arrow-right-from-bracket {
  color: rgba(255,255,255,.5); cursor: pointer; margin-left: auto;
}
.sidebar-footer .fa-arrow-right-from-bracket:hover { color: #fff; }

/* ─── Main Wrapper ───────────────────────────────── */
.main { margin-left: var(--sidebar-w); padding: 24px; }

/* ─── Topbar ─────────────────────────────────────── */
.topbar {
  background: #fff;
  border-radius: 18px;
  padding: 14px 22px;
  margin-bottom: 24px;
  box-shadow: 0 6px 24px rgba(9,65,42,.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar .page-title  { font-size: 18px; font-weight: 700; margin: 0; color: #111827; }
.topbar .page-sub    { font-size: 13px; color: #6b7280; margin: 0; }
.topbar .topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar .btn-notif {
  width: 40px; height: 40px;
  background: var(--nu-light);
  border: none;
  border-radius: 12px;
  color: var(--nu-green);
  font-size: 16px;
  cursor: pointer;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s;
}
.topbar .btn-notif:hover { background: #c5ecd8; }
.topbar .btn-notif .dot {
  position: absolute; top: 8px; right: 9px;
  width: 8px; height: 8px;
  background: #ef4444; border-radius: 50%;
  border: 1.5px solid #fff;
}
.topbar-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--nu-light);
  cursor: pointer;
}

/* ─── Stat Cards ─────────────────────────────────── */
.stat-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}
.stat-card .stat-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat-card .stat-label { font-size: 12.5px; color: #6b7280; line-height: 1.3; }
.stat-card .stat-value { font-size: 22px; font-weight: 800; line-height: 1.2; color: #111827; }
.stat-card .stat-delta { font-size: 12px; margin-top: 2px; }

/* ─── Icon Color Variants ────────────────────────── */
.icon-green  { background: #d9f3e5; color: var(--nu-green); }
.icon-gold   { background: #fdf3df; color: #b07c2a; }
.icon-blue   { background: #dbeafe; color: #1d4ed8; }
.icon-purple { background: #ede9fe; color: #7c3aed; }
.icon-red    { background: #fee2e2; color: #dc2626; }
.icon-teal   { background: #ccfbf1; color: #0f766e; }
.icon-orange { background: #ffedd5; color: #c2410c; }

/* ─── Panel ──────────────────────────────────────── */
.panel {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.panel-header h5 {
  margin: 0; font-weight: 700; font-size: 15.5px; color: #111827;
}

/* ─── Table ──────────────────────────────────────── */
.table-godem { margin-bottom: 0; }
.table-godem thead th {
  background: var(--nu-soft);
  color: #6b7280;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: none;
  padding: 12px 14px;
  white-space: nowrap;
}
.table-godem tbody td {
  padding: 13px 14px;
  border-color: #f1f5f9;
  font-size: 14px;
  vertical-align: middle;
  color: #374151;
  white-space: nowrap;
}
.table-godem tbody tr:hover td { background: #fafffe; }
.table-godem tbody tr:last-child td { border-bottom: none; }
.table-godem tfoot td {
  padding: 14px;
  background: var(--nu-soft);
  font-size: 14px;
}

/* ─── Badges ─────────────────────────────────────── */
.badge-nu {
  background: var(--nu-light); color: var(--nu-green);
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.badge-gold {
  background: #fdf3df; color: #b07c2a;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.badge-blue {
  background: #dbeafe; color: #1e40af;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.badge-red {
  background: #fee2e2; color: #b91c1c;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.badge-gray {
  background: #f3f4f6; color: #6b7280;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.badge-purple {
  background: #ede9fe; color: #7c3aed;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}

/* ─── Progress Bar ───────────────────────────────── */
.prog-wrap .prog-header {
  display: flex; justify-content: space-between;
  font-size: 13px; margin-bottom: 5px; color: #374151;
}
.prog-wrap .progress {
  height: 9px; border-radius: 999px;
  background: #e9f7ef; margin-bottom: 14px;
}
.prog-wrap .progress-bar {
  background: linear-gradient(90deg, var(--nu-green), var(--nu-green-3));
  border-radius: 999px;
  transition: width .5s ease;
}

/* ─── Flow Steps ─────────────────────────────────── */
.flow-step {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px;
}
.flow-step:last-child { margin-bottom: 0; }
.flow-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.flow-step .flow-text .title { font-size: 14px; font-weight: 600; color: #111827; }
.flow-step .flow-text .sub   { font-size: 12px; color: #6b7280; }

/* ─── Avatar ─────────────────────────────────────── */
.avatar    { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.avatar-sm { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; vertical-align: middle; }

/* ─── Buttons ────────────────────────────────────── */
.btn-nu {
  background: var(--nu-green); color: #fff;
  border: none; border-radius: 12px;
  padding: 9px 18px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-nu:hover { background: var(--nu-dark); color: #fff; }
.btn-nu.w-100 { justify-content: center; }

.btn-nu-outline {
  background: transparent; color: var(--nu-green);
  border: 1.5px solid var(--nu-green);
  border-radius: 12px; padding: 8px 16px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .18s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-nu-outline:hover { background: var(--nu-light); color: var(--nu-green); }

/* ─── Form Controls ──────────────────────────────── */
.form-control, .form-select {
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  font-size: 14px;
  padding: 9px 13px;
  color: #374151;
  transition: border-color .18s, box-shadow .18s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--nu-green-3);
  box-shadow: 0 0 0 3px rgba(47,143,91,.15);
  outline: none;
}
.form-label {
  font-size: 13.5px; font-weight: 600;
  color: #374151; margin-bottom: 6px;
  display: block;
}
.form-text { font-size: 12px; color: #9ca3af; }

/* ─── Alerts ─────────────────────────────────────── */
.alert-nu {
  background: var(--nu-light); color: var(--nu-green);
  border: 1.5px solid #a7dfc2; border-radius: 14px;
  padding: 14px 18px; font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}

/* ─── Divider ────────────────────────────────────── */
.divider {
  height: 1px; background: #f1f5f9; margin: 16px 0;
}

/* ─── Code ───────────────────────────────────────── */
code {
  background: var(--nu-light); color: var(--nu-green);
  padding: 2px 8px; border-radius: 6px;
  font-size: 13px; font-weight: 600;
}

/* ─── Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c5ecd8; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--nu-green-2); }

/* ─── Utilities ──────────────────────────────────── */
.text-nu     { color: var(--nu-green) !important; }
.text-gold   { color: var(--nu-gold) !important; }
.bg-nu       { background: var(--nu-green) !important; }
.bg-nu-light { background: var(--nu-light) !important; }
.rounded-xl  { border-radius: 16px !important; }
.rounded-2xl { border-radius: 20px !important; }
.fw-800      { font-weight: 800 !important; }
.fs-13       { font-size: 13px !important; }
.fs-12       { font-size: 12px !important; }

/* ─── Hamburger button (mobile topbar) ──────────── */
.btn-hamburger {
  display: flex;
  width: 40px; height: 40px;
  background: var(--nu-light);
  border: none; border-radius: 12px;
  color: var(--nu-green); font-size: 18px;
  cursor: pointer; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ─── Sidebar overlay (mobile) ───────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 999;
}
.sidebar-overlay.show { display: block; }

/* ─── Bottom Navigation Bar ──────────────────────── */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(9,65,42,.10);
  z-index: 1100;
  padding: 0;
  height: 64px;
  margin: 0 !important;
}
.bottom-nav .bn-items {
  display: flex;
  height: 100%;
}
.bottom-nav .bn-item {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  color: #9ca3af;
  font-size: 10px; font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color .18s;
  padding: 6px 4px;
  border: none; background: none;
  position: relative;
}
.bottom-nav .bn-item i {
  font-size: 20px; line-height: 1;
}
.bottom-nav .bn-item span {
  font-size: 10px; line-height: 1; letter-spacing: .01em;
}
.bottom-nav .bn-item.active,
.bottom-nav .bn-item:active {
  color: var(--nu-green);
}
.bottom-nav .bn-item.active i {
  color: var(--nu-green);
}
.bottom-nav .bn-item .bn-dot {
  position: absolute; top: 8px; right: calc(50% - 14px);
  width: 8px; height: 8px;
  background: #ef4444; border-radius: 50%;
  border: 1.5px solid #fff;
}
/* More menu button */
.bottom-nav .bn-item.bn-more { color: #6b7280; }

/* ─── Drawer Menu (More) ─────────────────────────── */
.drawer-menu {
  display: none;
  position: fixed;
  bottom: 64px;
  left: 0;
  right: 0;
  width: 100vw;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 32px rgba(9,65,42,.15);
  z-index: 1099;
  padding: 16px 8px 8px;
  transform: translateY(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.drawer-menu.open {
  display: block;
  transform: translateY(0);
}
.drawer-handle {
  width: 40px; height: 4px;
  background: #d1d5db; border-radius: 999px;
  margin: 0 auto 16px;
}
.drawer-menu .dm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.drawer-menu .dm-item {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; padding: 14px 6px;
  border-radius: 14px; text-decoration: none;
  color: #374151; font-size: 11px; font-weight: 600;
  transition: background .15s;
}
.drawer-menu .dm-item:active,
.drawer-menu .dm-item:hover { background: var(--nu-light); color: var(--nu-green); }
.drawer-menu .dm-item i { font-size: 22px; color: var(--nu-green); }
.drawer-menu .dm-title {
  font-size: 12px; font-weight: 700;
  color: #6b7280; padding: 0 8px 8px;
  text-transform: uppercase; letter-spacing: .06em;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 992px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
  }
  .sidebar.open { transform: translateX(0); z-index: 1000; }
  .main {
    margin-left: 0 !important;
    padding: 16px 14px 84px;
    width: 100%;
  }
  .topbar { border-radius: 14px; padding: 12px 14px; }
  .btn-hamburger { display: none !important; }
  .bottom-nav {
    display: flex;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
  }
  .bottom-nav .bn-items {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .panel { padding: 16px 14px; }
  .topbar .page-title { font-size: 15px; }
  .stat-card { padding: 14px 12px; gap: 12px; }
  .stat-card .stat-icon { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
  .stat-card .stat-value { font-size: 17px; }
  .panel-header { flex-direction: column; align-items: flex-start; }
  .table-godem thead th,
  .table-godem tbody td { font-size: 12.5px; padding: 10px 10px; }
}


.table-responsive {
  overflow-x: auto;
}
.table-godem {
  min-width: max-content;
}

/* ─── Sidebar Collapsed (desktop toggle) ────────── */
.sidebar {
  transition: width .25s cubic-bezier(.4,0,.2,1), transform .28s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}

body.sidebar-collapsed .sidebar {
  width: 68px;
}

/* Sembunyikan semua teks di sidebar saat collapsed — gunakan opacity+width agar tidak tumpang tindih */
body.sidebar-collapsed .sidebar-brand-text,
body.sidebar-collapsed .sidebar-section,
body.sidebar-collapsed .sidebar-footer .name,
body.sidebar-collapsed .sidebar-footer .role,
body.sidebar-collapsed .sidebar-footer > i {
  opacity: 0;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity .15s, width .15s;
}

/* Sembunyikan teks label nav-link (node teks langsung, bukan icon) */
body.sidebar-collapsed .sidebar .nav-link .nav-label {
  opacity: 0;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
}

body.sidebar-collapsed .sidebar .badge-count {
  display: none !important;
}

body.sidebar-collapsed .sidebar .nav-link {
  justify-content: center;
  padding: 12px;
  gap: 0;
}

body.sidebar-collapsed .sidebar .nav-link i {
  font-size: 18px;
  min-width: unset;
  margin: 0;
}

body.sidebar-collapsed .sidebar-brand {
  justify-content: center;
  padding: 16px 0;
  gap: 0;
}

body.sidebar-collapsed .sidebar-brand img {
  margin: 0;
}

body.sidebar-collapsed .sidebar-footer {
  justify-content: center;
  padding: 14px 0;
  gap: 0;
}

body.sidebar-collapsed .main {
  margin-left: 68px !important;
}

/* ─── Overlay hanya aktif di mobile ─────────────── */
@media (min-width: 993px) {
  .sidebar-overlay {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* ─── Fix iOS auto-zoom pada input/select ────────── */
@media (max-width: 992px) {
  input, select, textarea, .form-control, .form-select {
    font-size: 16px !important;
  }
}

/* ─── Notifikasi Dropdown ────────────────────────── */
.notif-wrap {
  position: relative;
}
.btn-notif {
  width: 40px; height: 40px;
  background: var(--nu-light);
  border: none; border-radius: 12px;
  color: var(--nu-green); font-size: 17px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: background .2s;
}
.btn-notif:hover { background: #c5ebd4; }
.btn-notif .dot {
  position: absolute;
  top: 7px; right: 7px;
  width: 9px; height: 9px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid #fff;
  transition: opacity .2s;
}
.btn-notif.read .dot { opacity: 0; }

.notif-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(15,93,57,.13), 0 2px 8px rgba(0,0,0,.08);
  z-index: 2000;
  overflow: hidden;
  animation: notifFade .18s ease;
}
.notif-dropdown.open { display: block; }

@keyframes notifFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid #f1f5f9;
}
.notif-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--nu-green);
}
.notif-clear {
  font-size: 12px;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.notif-clear:hover { color: var(--nu-green); text-decoration: underline; }

.notif-list {
  max-height: 320px;
  overflow-y: auto;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f8fafc;
  cursor: pointer;
  transition: background .15s;
}
.notif-item:hover { background: var(--nu-soft); }
.notif-item.unread { background: #f0faf4; }
.notif-item.unread:hover { background: #e2f5ea; }

.notif-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.notif-body { flex: 1; min-width: 0; }
.notif-text {
  font-size: 13px;
  color: #1f2937;
  line-height: 1.4;
  margin-bottom: 4px;
}
.notif-item.unread .notif-text { font-weight: 600; }
.notif-time {
  font-size: 11.5px;
  color: #9ca3af;
}

.notif-footer {
  padding: 10px 16px;
  text-align: center;
  border-top: 1px solid #f1f5f9;
}
.notif-footer a {
  font-size: 13px;
  color: var(--nu-green);
  text-decoration: none;
  font-weight: 600;
}
.notif-footer a:hover { text-decoration: underline; }

/* Mobile: dropdown full-width */
@media (max-width: 480px) {
  .notif-dropdown {
    width: calc(100vw - 32px);
    right: -8px;
  }
}

/* ─── Panel header responsive — wrap di mobile ──── */
@media (max-width: 992px) {
  .panel-header {
    flex-wrap: wrap;
    gap: 10px;
  }
  .panel-header h5 {
    flex: 1 1 100%;
    margin-bottom: 0;
  }
  .panel-header .d-flex {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 8px;
  }
  .panel-header .d-flex .form-control,
  .panel-header .d-flex .form-select {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    width: auto !important;
    max-width: 100%;
  }
  .panel-header .d-flex .btn-nu,
  .panel-header .d-flex .btn-nu-outline {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  /* Topbar right — jaga agar tidak overflow */
  .topbar {
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .topbar > div:first-child {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
  }
  .page-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ─── Panel filter/search width ─────────────────── */
.panel-filter { width: 150px; }
.panel-search { width: 180px; }
@media (max-width: 992px) {
  .panel-filter,
  .panel-search {
    width: auto !important;
    flex: 1 1 calc(50% - 4px) !important;
    min-width: 0 !important;
  }
}

/* ─── Fix notifikasi di mobile ──────────────────── */
@media (max-width: 992px) {
  .topbar {
    overflow: visible !important;
  }
  .topbar-right {
    position: static;
  }
  .notif-wrap {
    position: static;
  }
  .notif-dropdown {
    position: fixed;
    top: 70px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}
