/* Phone Optional Styles */
.hubspot-salesforce-form.page-container {
    width: 100%;
    max-width: 800px;
}

.hubspot-salesforce-form .lightning-loading {
    padding: 1rem;
    color: #666;
    text-align: center;
    display: none;
}

.hubspot-salesforce-form .lightning-loading.active {
    display: block;
}

.hubspot-salesforce-form #hubspotFormContainer {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 2rem;
}

.hubspot-salesforce-form #hubspotFormContainer.hidden {
    display: none;
}

.hubspot-salesforce-form #lightning {
    width: 100%;
    min-height: 400px;
    display: none;
    flex-direction: column;
    justify-content: center;
}

.hubspot-salesforce-form #lightning.active {
    display: flex;
}

/* Error message styling */
.hubspot-salesforce-form .error-message {
    display: none;
    padding: 1rem;
    background: #fef1f1;
    border: 1px solid #ea001e;
    border-radius: 4px;
    color: #c23934;
    margin-bottom: 1rem;
}

.hubspot-salesforce-form .error-message.active {
    display: block;
}

.hubspot-salesforce-form .error-message h4 {
    margin: 0 0 0.5rem 0;
    color: #ea001e;
}

.hubspot-salesforce-form .error-message pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 0.85rem;
}

/* End custom CSS */
/* Start custom CSS */
.hubspot-salesforce-form .lightning-container .slds-card__footer.actionButtonBar {
    background-color: #18868f !important;
}

.hubspot-salesforce-form .lightning-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background-color: #f5fbfb !important;
    min-height: 500px;
    position: relative;
}

.hubspot-salesforce-form .lightning-loading {
    text-align: center;
    padding: 60px 20px;
    color: #706e6b;
    font-family: sans-serif;
}

.hubspot-salesforce-form .lightning-container .slds-button_brand.flow-button__NEXT {
    background-color: #e48040;
    border-color: #0073aa;
    color: #ffffff;
}


/*Phone required styles */
/* Styles specific for this form */
.hubspot-salesforce-form fieldset {
    width: 100%;
    max-width: 100%!important;
    margin-bottom: 20px !important;
}

.hubspot-salesforce-form fieldset input {
    width: 100%;
    border-radius: 0;
    margin: 0!important;
}
.hubspot-salesforce-form .hs_how_would_you_like_to_be_contacted_ .multi-container {
    display: flex;
}

.hubspot-salesforce-form .hs_how_would_you_like_to_be_contacted_ .input label span {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hubspot-salesforce-form label span {
    font-size: 16px;
}

.hubspot-salesforce-form legend.hs-field-desc {
    font-size: 14px;
    padding: 0
}

.hubspot-salesforce-form li.hs-form-checkbox {
    width: 150px!important;
    margin-top: 10px
}

.hubspot-salesforce-form li.hs-form-checkbox .hs-input {
    width: 20px!important;
}
.hubspot-salesforce-form  fieldset input:not([type=image]):not([type=submit]):not([type=button]):not([type=radio]):not([type=checkbox]):not([type=file]) {
    box-sizing: border-box;
    padding: 0 15px;
    min-height: 27px;
}

.hubspot-salesforce-form label {
    font-size: 14px;
    width: 130px;
    color: #33475b;
    display: block;
    float: none;
    width: auto;
    font-weight: 500;
    line-height: 20px;
    padding-top: 0;
    margin-bottom: 4px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hubspot-salesforce-form ul.no-list {
    list-style: none;
}

.hubspot-salesforce-form .inputs-list {
    margin: 0 0 5px;
    width: 100%;
    padding-left: 5px;
}

.hubspot-salesforce-form .inputs-list>li {
    display: block;
    padding: 0;
    width: 100%;
    padding-top: 0;
}

.hubspot-salesforce-form .hs-error-msgs label {
    color: #f2545b;
}

.hubspot-salesforce-form .hs-richtext {
    font-family: Open Sans;
    color: #062123;
    font-size: 14px;
}

.hubspot-salesforce-form .hs-button {
    background: #E48040!important;
    border-color: #E48040!important;
    border-radius: 0!important;
    color: #ffffff!important;
    font-size: 18px;
    line-height: 18px;
    font-family: Open Sans!important;
}

.hubspot-salesforce-form input[type=submit]:disabled {
    color: #ccc!important;
    border: 1px solid #cccccc;
    background: url(../img/form-button-bg.png) repeat-x top left #e8e8e8!important;
    text-shadow: none;
}
