Help with side by side material for an ISM healthbar

I am looking for advice on creating a material to create this ISM health bar. The light gray is the background. The red dot on black square is an icon. I can make a standalone material for each part, albeit with the healthbar taking the entire texture area. I need help putting it together. For the borders I could use an image overlay. I could use a mask for the entire area to have transparent background. I could also use a mask for the icon and health bar so that the overlay does not mix. I tried using the nodes above, but it did not look right. I was previewing on a plane and the content was on the left and right at about 25%, but it was not shrunk to fit.

Info Bar Mock