.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  z-index: 9999;
  border-top: 1px solid #eee;
}

.mobile-bottom-nav .nav-item {
  text-align: center;
  color: #666;
  font-size: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
}

.mobile-bottom-nav .nav-item i {
  font-size: 18px;
  margin-bottom: 2px;
}

.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
  color: #e60012;
}

@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.custom-popup {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99999;
  justify-content: center;
  align-items: flex-end; /* popup trượt từ dưới lên */
}

.custom-popup.active {
  display: flex;
  animation: slideUp 0.3s ease;
}

.popup-inner {
  background: #fff;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -4px 8px rgba(0,0,0,0.15);
  padding: 15px;
  position: relative;
}

.close-popup {
  position: absolute;
  top: 8px; right: 10px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

