@keyframes pulseSoft {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.pulse {
  animation: pulseSoft 1.5s infinite ease-in-out;
}

#commendationBadge.new {
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7); }
  50% { box-shadow: 0 0 10px 4px rgba(250, 204, 21, 0.4); }
}









/* Prevent mobile nav from covering bottom sidebar elements */
@media (max-width: 768px) {
  .sidebar {
    padding-bottom: 5rem; /* height of mobile nav bar */
  }
}

/* 🧭 Sidebar fix: prevent mobile nav obstruction */
@media (max-width: 768px) {
  #sidebar {
    padding-bottom: 4.5rem; /* match your mobile nav height */
    overflow-y: auto;
  }

  #sidebar nav {
    padding-bottom: 2rem; /* ensures logout link isn’t cut off */
  }
}

//* =========================
   SIDEBAR MOBILE FIX
========================= */

#sidebar {

    overscroll-behavior: contain;

    touch-action: pan-y;
}

#sidebar nav {

    flex: 1;

    overflow-y: auto;

    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;

    overscroll-behavior: contain;

    padding-bottom: 7rem;
}

/* SCROLLBAR */

#sidebar nav::-webkit-scrollbar {

    width: 6px;
}

#sidebar nav::-webkit-scrollbar-thumb {

    background: rgba(255,255,255,0.18);

    border-radius: 999px;
}

.scrollbar-hide::-webkit-scrollbar {

    display: none;
}

.scrollbar-hide {

    -ms-overflow-style: none;

    scrollbar-width: none;
}