/**
 * General-purpose HubSpot form CSS styling to match our internal styles (e.g., Bootstrap button and input styles).
 */
.hbspt-form .input .hs-input {
    width: 100%;
    display: block;
    height: calc(1.5em + 1.8rem + 2px);
    padding: 0.9rem 1rem;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #f1f2f4;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    max-width: none;
}

/* For each input field, hide elements where their input field has type=hidden. */
.hbspt-form .hs-form-field:has(input[type="hidden"]){
    display: none !important;
}
  
.hbspt-form .input .hs-input:focus {
    color: #495057;
    background-color: #fff;
    border-color: #00beac;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(0 190 172 / 25%);
}
  
.hbspt-form .hs-submit .actions {
    padding: 0;
    margin: 0;
}
  
.hbspt-form .hs-submit .actions input {
    padding-top: 10px;
    padding-bottom: 10px;
}
  
.hbspt-form .inputs-list {
    margin-bottom: 0;
    list-style: none;
    padding: 0;
}
  
.hbspt-form .hs-error-msg {
    color: var(--danger);
    margin-bottom: 0;
}

.hbspt-form .hs_error_rollup {
    display: none !important;
}
  
.hbspt-form .hs-main-font-element {
    color: var(--danger);
    margin-bottom: 0;
}

.hbspt-form label {
    display: block !important;
    text-align: left !important;
}
  
.hbspt-form label .hs-form-required {
    display: none;
}
  
.hbspt-form label span {
    display: block;
    color: var(--default-text);
    font-weight: bold;
    font-size: 13px;
    margin-top: 16px;
}

/* For text area, increase the size */
.hs_message textarea,
.hs-message textarea,
.hs-form-field textarea {
    height: 100px !important;
}