.tooltip {
    position: absolute;
    left: 2.8rem;
    top: 50%;
    transform: translateY(-50%) translateX(-10px) scale(0.95);
    background: linear-gradient(to left, #ff5f6d, #ffc371);
    color: #111827;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    z-index: 50;
  }

  .tooltip::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent #111827 transparent transparent;
  }

  .collapsed .menu-item:hover .tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
  }
  /* Hide settings submenu when sidebar is collapsed */
  .collapsed #settingSubmenu {
    display: none !important;
  }

  /* ---- Attention Badge Animation ---- */
  .pulse-badge {
    animation: pulseGlow 1.6s infinite;
  }

  @keyframes pulseGlow {
    0% {
      box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
      transform: scale(1);
    }
    70% {
      box-shadow: 0 0 0 8px rgba(249, 115, 22, 0);
      transform: scale(1.05);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
      transform: scale(1);
    }
  }