.hs-contact-form { max-width: 560px; }
.hs-contact-form__row { margin: 0 0 1.1em; }
.hs-contact-form label { display: block; margin-bottom: .35em; font-weight: 600; }
.hs-contact-form input[type="text"],
.hs-contact-form input[type="email"],
.hs-contact-form input[type="tel"],
.hs-contact-form textarea { width: 100%; }
.hs-contact-form__row.has-error input,
.hs-contact-form__row.has-error textarea { border-color: #b3261e; }
.hs-contact-form__error { display: block; margin-top: .3em; color: #b3261e; font-size: .875em; }
.hs-contact-form__notice { margin-bottom: 1.2em; padding: .8em 1em; border-inline-start: 4px solid #b3261e; background: #fbeceb; }
.hs-contact-form--sent { padding: 1em 1.2em; border-inline-start: 4px solid #2e7d32; background: #edf6ee; }
.hs-contact-form--sent p { margin: 0; }
.hs-contact-form__hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hs-turnstile { margin-bottom: 1em; }

/* intl-tel-input: keep the picker left-to-right and full width, also on the Arabic page */
.hs-contact-form .iti {
    display: block;
    width: 100%;
    direction: ltr;
}

.hs-contact-form .iti input[type="tel"] {
    text-align: left;
}

/* The theme's RTL rules flip the picker to the right edge; pin it to the left edge in both languages */
.hs-contact-form .iti .iti__country-container {
    left: 0;
    right: auto;
}

.hs-contact-form .iti input[type="tel"] {
    padding-left: 79px;
    padding-right: 11px;
    direction: ltr;
}

.hs-contact-form .iti .iti__selected-dial-code {
    margin-left: 4px;
    margin-right: 0;
}

.hs-contact-form .iti .iti__arrow {
    margin-left: var(--iti-arrow-padding, 6px);
    margin-right: 0;
}

.hs-contact-form .iti .iti__dropdown-content {
    text-align: left;
}
