/* Navigation Styles for ConversationMine.AI */

/* Dropdown Menu Animations */
.nav-dropdown .dropdown-content {
  transform: translateY(-10px);
  transition: all 0.2s ease-in-out;
}

.nav-dropdown:hover .dropdown-content {
  transform: translateY(0);
}

/* Active Navigation Item */
.nav-item.active {
  background: linear-gradient(to right, rgba(168, 85, 247, 0.2), transparent);
  border-left: 4px solid #a855f7;
}

/* Hover Effects */
.nav-item:hover {
  transform: translateX(2px);
  transition: transform 0.2s ease;
}

/* Mobile Menu Transitions */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.mobile-menu:not(.hidden) {
  max-height: 100vh;
}

/* Dropdown Content Positioning */
.dropdown-content {
  min-width: 280px;
  z-index: 50;
}

/* Sidebar Scrollbar */
aside::-webkit-scrollbar {
  width: 6px;
}

aside::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

aside::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.5);
  border-radius: 3px;
}

aside::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.7);
}

/* Mega Menu Responsive Breakpoints */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
  }
  
  .dropdown-content {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* User Sidebar Responsive */
@media (max-width: 1024px) {
  aside {
    width: 240px;
  }
}

/* Animation for Page Transitions */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  animation: fadeIn 0.3s ease-in-out;
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(to right, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button Hover Glow */
.btn-glow:hover {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
  transition: box-shadow 0.3s ease;
}

/* Badge Pulse Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.badge-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
