Use class "hidden" instead of styled classes to ensure that input elments stay hidden when the Content-Security-Policy header has "style-src 'self';"
When the Content-Security-Policy header has "style-src 'self';" inine style elements like style="display: none" are not honored by browsers, so add CSS to the markup classes and style them display: none