/* ============================================================
   UI-V2 — Tampilan baru UBT EPS TOPIK
   Dimuat SETELAH style.css. Hanya selector baru.
   ============================================================ */

/* ---------- Navbar atas: pastikan tidak terpotong ---------- */
.nav-premium { overflow: visible; }

/* ---------- Item menu aktif ---------- */
.nav-premium .nav-link.active { position: relative; }
.nav-premium .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .1rem;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .8;
  transform: translateX(-50%);
}

/* ---------- Ikon person di HP (pengganti hamburger) ---------- */
.nav-user-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: inherit;
  border: 1px solid black;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.nav-user-mobile i { font-size: 1.55rem; line-height: 1; }
.nav-user-mobile:hover,
.nav-user-mobile:focus-visible {
  background: rgba(37, 99, 235, .10);
  color: inherit;
}
.nav-user-mobile:active { transform: scale(.94); }

/* ============================================================
   STEP 2 & 3 — Bottom-nav (4 item) + Off-canvas
   ============================================================ */

/* Bottom-nav sekarang 4 item (sebelumnya 5 + tombol tengah).
   Override defensif supaya tetap rata walau style.css pakai
   grid/flex untuk 5 kolom. */
.bottom-nav {
  display: flex;
  align-items: stretch;
}
.bottom-nav .bn-item {
  flex: 1 1 0;
  min-width: 0;
}
.bottom-nav .bn-item.active,
.bottom-nav .bn-item.active i {
  color: #2563eb;
}

/* Off-canvas: kartu user (hanya saat login) bisa diklik */
a.user-box-link {
  color: inherit;
  transition: opacity .15s ease;
}
a.user-box-link:hover { color: inherit; opacity: .85; }

/* Off-canvas: item menu yang sedang aktif */
.menu-list a.active {
  background: rgba(37, 99, 235, .08);
  border-radius: 12px;
  font-weight: 700;
}