plugins – Replace / ignore CSS of the active theme so as not to interfere with my custom CSS

I am writing a simple plugin which shows on the pages / publications a form with a personalized style for the input fields, the check boxes, the buttons, etc … via a shortcode. When the user writes the shortcode on the page, it generates CSS, HTML and JavaScript but the result is not rendered as I think, due to the CSS of the active theme.
In fact if I wrote the same combination of CSS, HTML and JavaScript in a simple HTML file, the rendering is perfect and if, in WordPress, I change the theme, the rendering changes …

How can I prevent the active theme from interfering with my plugin by making the controls as if they were inserted in a simple HTML page?