Help needed - Form aligns to left

Hi,

Note: If you suggest a snippet then please also share the exact location where I need to add it in the below code as well. Thank you.

I created a simple form on Hubspot and embedding it into the website now. However, the form automatically aligns to left. I want the form to be centre aligned. The embed code is:

<script charset=“utf-8” type=“text/javascript” src=“//js.hsforms.net/forms/embed/v2.js”></script>
<script>
hbspt.forms.create({
region: “na1”,
portalId: “3950878”,
formId: “6dbccd25-fc4c-42cd-999d-9b31b8275ec2”
});
</script>

Please help. Thank you!

Centering a form is not something you can do with the embed code. The surrounding page elements and CSS will have an impact on the form. Would you be able to share a link to the page in question with the form?