
/* 🌐 Bottom Nav Styling - Mobile Only */
.mobile-bottom-nav {
  display: none; /* Hidden by default */
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex; /* Only show on mobile */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: #ffffff;
    box-shadow: 0 -1px 10px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 9999;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }

  /* Both left and right grouped icons */
  .mobile-bottom-nav .nav-side {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  /* Icon Buttons */
  .nav-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    padding: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
  }
  .nav-btn:active {
    color: #4e4eff;
  }

  /* Elevated Center Search Button */
  .nav-search-btn {
    position: absolute;
    top: -25%;
    left: 50%;
    transform: translateX(-50%);
    background: #4e4eff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transition: transform 0.2s ease;
  }
  .nav-search-btn:active {
    transform: translateX(-50%) scale(0.95);
  }

  /* Profile Picture + Name (vertical) */
  .nav-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #444;
  }

  .nav-profile-pic {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
  }

  /* Add footer breathing space */
  body {
    padding-bottom: 80px;
  }
}
/* Apply animation only to new X icon */
.icon-animate-in {
  animation: rotateFadeIn 0.4s ease;
}

@keyframes rotateFadeIn {
  0% {
    transform: rotate(-90deg);
    opacity: 0;
  }
  100% {
    transform: rotate(0deg);
    opacity: 1;
  }
}