Zend certified PHP/Magento developer

Qty and Add to Cart Not Aligned Properly For Configurable Products

I am using the default theme of Magento 2.4.2p1, and the Qty input and Add to Cart button do not align properly. They appear to be inline with the last attribute of the product options and move when a user selects that last attribute (see below). I’ve tried different changes within the addtocart.phtml file without any luck. Has anyone else encountered this and what was the resolution? I’ve done no customizations to the default theme and when I switch to the Luma theme the result is the same.

Here is the image before selecting anything

enter image description here

Here is image after selecting the last attribute

enter image description here