/* ==========================================================================
   hubspot.css
   HubSpot form styles: inputs, labels, the submit button (matched to the
   primary button), error messages and reCAPTCHA spacing.

   01. Form Inputs
   02. Form Labels
   03. Form Button
   04. Error Messages
   05. reCAPTCHA
   ========================================================================== */

/* ==== 01. Form Inputs ==== */
.hs-input {
    width: 100%;
    height: 48px;
    margin-bottom: 8px;
    border: 1px solid #707063;
    border-radius: 2px;
    padding: 4px 12px;
    color: #222222;
}

.hbspt-form fieldset {
    max-width: 100% !important;
}

.inputs-list {
    padding-left: 0px;
    list-style: none;
}

.hs-form-booleancheckbox {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
}

.hs-form-booleancheckbox-display {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    line-height: 24px;
    left: 0px !important;
    bottom: 0px !important;
    padding: 0px !important;
    margin-top: 24px;
    margin-bottom: 12px;
}

.form-columns-1 input[type="checkbox"] {
    width: 24px !important;
    height: 24px !important;
    margin-right: 12px;
    position: relative;
    left: 0px !important;
    margin-bottom: 0px !important;
}

.hs-form-booleancheckbox::marker {
    display: none !important;
}

.hs-fieldtype-textarea {
    height: 6em;
    padding-top: 12px;
    margin-bottom: 24px;
}

/* ==== 02. Form Labels ==== */
.hs-form-field label {
    font-size: 12px;
    line-height: 1.2em;
    background: #ffffff;
    padding: 4px;
    position: relative;
    left: 10px;
    bottom: -10px;
}

/* ==== 03. Form Button ==== */
/* Matches the primary button */
.hs-button {
    white-space: pre-wrap;
    background: var(--background-brand);
    padding: 8px 16px;
    min-width: 160px;
    font-size: 14px;
    height: 40px;
    border: 0px;
    color: var(--content-primary-inverse);
    border-radius: 50px;
}

/* Hover */
.hs-button:hover {
    color: var(--content-primary-inverse) !important;
    background: linear-gradient(0deg, var(--state-hover, rgba(0, 0, 0, 0.08)) 0%, var(--state-hover, rgba(0, 0, 0, 0.08)) 100%), var(--background-brand, #218241) !important;
    border: 1px solid var(--background-brand) !important;
}

/* Active */
.hs-button:active {
    color: var(--content-primary-inverse) !important;
    background: linear-gradient(0deg, var(--states-press, rgba(0, 0, 0, 0.12)) 0%, var(--states-press, rgba(0, 0, 0, 0.12)) 100%), var(--background-brand, #218241) !important;
}

/* Focus: keep the dark background */
.hbspt-form .actions input.hs-button.primary.large[type="submit"]:focus,
.hbspt-form .actions input.hs-button.primary.large[type="submit"]:focus-visible {
    background-color: var(--background-primary-inverse, #141413) !important;
    color: var(--content-primary-inverse) !important;
    border: 1px solid var(--background-brand, #218241) !important;
    outline: none !important;
}

.hbspt-form .actions input.hs-button.primary.large:focus,
.hbspt-form .actions input.hs-button.primary.large:focus-visible {
    color: var(--content-primary-inverse) !important;
    background: var(--background-primary-inverse, #141413);
}

/* ==== 04. Error Messages ==== */
.hs-error-msgs {
    padding-bottom: 16px;
}

.hs-error-msgs {
    color: var(--color-red-60);
}

.form-columns-1 .hs-input {
    width: 100% !important;
}

/* ==== 05. reCAPTCHA ==== */
/* Space for the reCAPTCHA logo */
.hs_recaptcha,
.hs-recaptcha {
    padding: 24px 0 !important;
}
