.list-group-item {
  transition: all 0.3s ease-in-out;
  position: relative;
}

.list-group-item:hover {
  transform: translateX(5px);
  box-shadow: -2px 2px 5px rgba(0,0,0,0.1);
}

.btn-group-vertical .btn {
  transition: all 0.2s ease;
}

.btn-group-vertical .btn:hover {
  transform: scale(1.1);
  z-index: 2;
}

/* Optional: Add a subtle background color change on hover */
.list-group-item:hover {
  background-color: rgba(0,0,0,0.02);
}

/* Animation for position changes */
@keyframes slideMove {
  0% {
    opacity: 0.7;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.list-group-item {
  animation: slideMove 0.3s ease-out;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  padding: 0;
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}

.mobile-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 80px;
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
  padding: 6px 4px 8px 4px;
  position: relative;
  font-size: 0.7rem;
}

.mobile-nav-item i {
  font-size: 1.25rem;
}

.mobile-nav-item:hover {
  color: #0d6efd;
  background-color: rgba(13, 110, 253, 0.05);
}

.mobile-nav-item.active {
  color: #0d6efd;
  font-weight: 600;
}

.mobile-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #0d6efd;
  border-radius: 0 0 3px 3px;
}

.mobile-nav-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Adjust content for mobile bottom nav */
@media (max-width: 991.98px) {
  .mobile-content-wrapper {
    padding-bottom: calc(90px + max(0px, env(safe-area-inset-bottom))) !important;
  }

  .dropdown-wrapper {
    position: relative;
  }

  .mobile-bottom-nav .dropdown-menu-up {
    position: absolute;
    bottom: 70px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    min-width: 150px;
  }
}