/* Ajustes adicionales para la navegación */

/* Badge de notificaciones */
#notification-badge {
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

#notification-badge[style*="display: flex"] {
    display: flex !important;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Asegurar que el menú no se corte */
.neon-nav {
    overflow: visible !important;
}

.neon-nav ul {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
}

.neon-nav ul::-webkit-scrollbar {
    height: 4px;
}

.neon-nav ul::-webkit-scrollbar-track {
    background: transparent;
}

.neon-nav ul::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 2px;
}

.neon-nav ul::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

/* Mejorar el espaciado en móvil */
@media (max-width: 768px) {
    .neon-nav ul {
        padding-bottom: 8px;
    }
    
    .neon-nav a {
        white-space: nowrap;
    }
    
    #notification-badge {
        top: -6px;
        right: -6px;
        min-width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    #notification-badge {
        top: -5px;
        right: -5px;
        min-width: 16px;
        height: 16px;
        font-size: 0.6rem;
        padding: 1px 4px;
    }
}

/* Indicador de scroll en el menú (móvil) */
@media (max-width: 768px) {
    .neon-nav ul::after {
        content: '';
        position: sticky;
        right: 0;
        width: 40px;
        height: 100%;
        background: linear-gradient(to left, var(--bg-secondary), transparent);
        pointer-events: none;
        flex-shrink: 0;
    }
}
