.hubspot-form-wrapper {
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
}

.hubspot-form-wrapper * {
    box-sizing: border-box;
}

@keyframes sscHubspotSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.ssc-hubspot-form__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
}

.ssc-hubspot-form__spinner {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #E71D2E;
    animation: sscHubspotSpin 0.8s linear infinite;
    margin-right: 12px;
    flex-shrink: 0;
}

.ssc-hubspot-form__loading-text {
    font-family: inherit;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.65);
}

.hubspot-form-wrapper .hs-form-frame {
    width: 100%;
    max-width: 100%;
}

.hubspot-form-wrapper .hs-form-frame iframe {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.hubspot-form-wrapper.hs-form-loaded .ssc-hubspot-form__loading {
    display: none;
}
