/* Mobile Bottom Nav - Giao diện hiện đại, sắc nét, bo góc đẹp */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background-color: #ffffff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  z-index: 999;
}

/* Các item trong nav */
.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  color: #444;
  position: relative;
  padding: 6px 0;
  transition: all 0.3s ease;
}

/* Icon mặc định */
.mobile-bottom-nav .icon {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  filter: grayscale(1) brightness(0.6);
  transition: filter 0.3s ease;
}

/* Khi được chọn */
.mobile-bottom-nav a.active {
  color: #ffffff;
  font-weight: 500;
  z-index: 1;
}

.mobile-bottom-nav a.active .icon {
  filter: none;
}

/* Nền bo tròn phía sau icon khi active */
.mobile-bottom-nav a.active::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  background-color: #000000;
  border-radius: 18px;
  z-index: -1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Ẩn trên desktop */
@media screen and (min-width: 768px) {
  .mobile-bottom-nav {
    display: none;
  }
}
