/* ===============================
   PREMIUM MOBILE BOTTOM NAV
================================ */

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;

  display: flex;
  justify-content: space-around;
  align-items: center;

  background: #ffffff;
  border-top: 1px solid #e5e7eb;

  z-index: 1050;
}

.mobile-bottom-nav .nav-item.active::after {
  content: "";
  display: block;
  width: 20px;
  height: 3px;
  background: #2563eb;
  margin: 4px auto 0;
  border-radius: 2px;
}

/* Nav Item */
.mobile-bottom-nav .nav-item {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
}

/* Icon */
.mobile-bottom-nav .nav-item i {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
  transition: all 0.25s ease;
}

/* ===============================
   ACTIVE (CENTER FOCUS STYLE)
================================ */

.mobile-bottom-nav .nav-item.active {
  color: #2563eb;
}

.mobile-bottom-nav .nav-item.active i {
  color: #2563eb;
}

/* Label animation */
.mobile-bottom-nav .nav-item span {
  display: inline-block;
  transition: all 0.25s ease;
}

.mobile-bottom-nav .nav-item.active span {
  font-weight: 600;
  transform: translateY(-2px);
}

/* ===============================
   HOVER / TAP FEEDBACK
================================ */

.mobile-bottom-nav .nav-item:active {
  transform: scale(0.95);
}

/* ===============================
   SAFE AREA (iPhone etc)
================================ */

.mobile-bottom-nav {
  padding-bottom: env(safe-area-inset-bottom);
}

/* ===============================
   HIDE ON DESKTOP
================================ */

@media (min-width: 992px) {
  .mobile-bottom-nav {
    display: none;
  }
}

/* ===============================
   CONTENT SPACING
================================ */

@media (max-width: 991px) {
  #mainContent {
    padding-bottom: 90px; /* more space for floating nav */
  }
}