:root{
  --vv-bottom: 0px; /* offset untuk toolbar browser mobile */
  /* Gunakan warna accent halaman (kalau ada) agar nav ikut tema */
  --brand: var(--accent, #0d6efd);
  --brand2: var(--brand);
  --bottom-nav-height: 70px;
}

/* Beri ruang agar konten tidak ketutup bottom-nav */
body{
  padding-bottom: calc(var(--bottom-nav-height) + var(--vv-bottom) + env(safe-area-inset-bottom) + 24px);
}

.shadow-lg{ box-shadow: 0 12px 30px rgba(0,0,0,.12); }

.bottom-nav{
  position: fixed;
  left: 0; right: 0; bottom: var(--vv-bottom);
  height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,.08);
  z-index: 9999;
  box-sizing: border-box;
}

.bottom-nav .nav-item{
  position: relative;
  text-decoration: none;
  color: #7a7a7a;
  width: 20%;
  text-align: center;
  font-size: 12px;
  padding-top: 6px;
}

.bottom-nav .nav-item i{
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

.bottom-nav .nav-item:hover,
.bottom-nav .nav-item:focus{
  color: var(--brand);
}

.bottom-nav .nav-item.active{
  color: var(--brand);
}

.bottom-nav .nav-item.active i{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
