/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #6815d4;
  display: flex;
  justify-content: space-around;
  padding: 8px 0px;
  z-index: 999;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.bottom-nav a {
  color: white;
  text-align: center;
  flex: 1;
  text-decoration: none;
  line-height:12px;
  font-size: 12px;
  padding:5px;
  margin:0px 5px 0px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bottom-nav i {
  font-size: 20px;
  margin:0px;
  padding:0px;
}

.bottom-nav a:hover {
  border-radius:10px;
  background: rgba(21, 10, 163, 0.77);
}

/* Slide-up Menu Panel */
.menu-panel {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: white;
  transition: bottom 0.4s ease;
  padding: 20px 0px 20px 0px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  max-height: 80vh;
  overflow-y: auto;
  border-top-right-radius:20px;
  border-top-left-radius:20px;
  z-index: 998;
}

.menu-panel.active {
  bottom: 60px; /* tinggi menu bawah */
}

.menu-section {
  display: block;
  padding: 5px 10px 5px 10px;
  font-size: 16px;
  color: #000; /* pastikan terbaca di background putih */
  text-decoration: none;
}

.menu-panel a:not(:last-child) {
  border-bottom: 1px solid #ccc;
}

/* SEMUA elemen hanya tampil saat layar maksimal 768px (mobile) */
@media (min-width: 769px) {
  .bottom-nav,
  .menu-panel {
    display: none !important;
  }
}
