:root {
    --sem-color-text-strong: #1b1e20;
    --sem-color-outline-strong: #c4c6c8;
    --sem-color-accent-3-moderate-default: #fdba12;
    --sem-color-text-weak: #676c71;
    --sem-color-tertiary-default: #1a3644;
}

body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 87.5%;
    background: #fff
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1149" viewBox="0 0 1920 1149" fill="none"><path d="M-364.814 590.503C470.844 171.844 1038.5 123 1775.02 -481.541L2328.66 623.532C2328.66 623.532 1625 466.001 954.5 689.5C284 912.999 -140 1180 -140 1180L-364.814 590.503Z" fill="%23FAFAFA"/></svg>')
        no-repeat 0 0 !important;
}

h2 {
    margin: 0 0 10px;
    padding: 0;
    color: var(--sem-color-text-strong, #1b1e20);
    font-family: 'Roboto Slab';
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: center;
}

strong {
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: underline;
}

#universal-login {
    position: absolute;
    top: 50%;
    right: 50%;
    width: 400px;
    height: 500px;
    transform: translate(50%, -50%);
}

.wrapper {
    padding: 20px 20px 30px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0px 3.673px 22.954px 0px rgba(0, 0, 0, 0.07);
}

.wrapper.no-bg {
    background-color: transparent;
    box-shadow: none;
    border: none;
}

#captcha {
    /* height: 0px; */
}

.grecaptcha-badge {
    visibility: hidden;
}

#login-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.desktopOnly {
    display: none;
}

.iti {
    display: block;
}

.hide {
    display: none !important;
}

label.error {
    display: none !important;
}

.login-text {
    text-align: center;
}

.error-msg {
    width: 100%;
    text-align: center;
    background-color: #ef5b00;
    font-size: 13px;
    color: #fff;
    margin-top: 2px;
}

.api-error {
    width: 100%;
    text-align: center;
    background-color: #ef5b00;
    font-size: 14px;
    padding: 5px;
    color: #fff;
}

.logo.mobileOnly {
    width: 144px;
    margin-bottom: 40px;
}

section {
    padding: 30px 0;
}

section.header {
    padding: 20px;
    text-align: center;
}

section.form {
    padding: 0 36px;
}

.schedule-a-demo-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.custom-checkbox {
    margin-bottom: 24px;
}

.custom-checkbox input[type='checkbox'] {
    /* Hide the default checkbox */
    display: none;
}

.custom-checkbox label {
    position: relative;
    display: inline-block;
    padding-left: 40px;
    cursor: pointer;
    position: relative;
    top: 5px;
}

.custom-checkbox label::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    width: 32px;
    height: 32px;
    border: 2px solid var(--sem-color-outline-strong);
    border-radius: 3px;
    transition: border-color 0.3s;
    background-color: #fff;
}

.custom-checkbox input[type='checkbox']:checked + label::before {
    background-color: #f59d29;
    border-color: #f59d29;
}

.custom-checkbox label::after {
    content: '\2713';
    position: absolute;
    top: -8px;
    left: 3px;
    font-size: 28px;
    font-weight: bolder;
    color: #313d4a;
    opacity: 0;
    transition: opacity 0.3s;
}

.custom-checkbox input[type='checkbox']:checked + label::after {
    opacity: 1;
}

.button.is-loading {
    min-width: 24px;
    min-height: 24px;
}

button.is-loading.preview {
    background: transparent;
    border: none;
    right: 50%;
    pointer-events: none;
}

button.is-loading.preview::after {
    border: 2px solid white;
    border-top-color: transparent;
    border-right-color: transparent;
    height: 24px;
    width: 24px;
}

.button.is-loading::after {
    left: calc(50% - (1em / 2));
    top: calc(50% - (1em / 2));
    z-index: 1;
}

.button.is-loading::after,
.control.is-loading::after,
.loader,
.select.is-loading::after {
    -webkit-animation: spinAround 0.5s infinite linear;
    animation: spinAround 0.5s infinite linear;
    border: 2px solid #dbdbdb;
    border-radius: 290486px;
    border-right-color: transparent;
    border-top-color: transparent;
    content: '';
    display: block;
    height: 1em;
    position: relative;
    width: 1em;
}

.next-btn {
    height: 40px;
    width: 100%;
    background-color: #fdba11;
    color: #333333;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 2px;
    border-style: none;
}

.next-btn:disabled {
    background-color: #b5bdc9;
    border-color: #b5bdc9;
    color: #fff;
    cursor: not-allowed;
}

.captcha-terms {
    max-width: 90%;
    margin: auto;
    color: var(--sem-color-text-weak, #676c71);
    text-align: center;
    font-family: Helvetica;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.schedule-a-demo-container {
    text-align: center;
}

.schedule-demo-btn {
    height: 40px;
    width: 100%;
    background-color: var(--sem-color-accent-3-moderate-default);
    color: #333333;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 10px;
    border: none;
    border-radius: 4px;
}

.schedule-demo-description {
    font-size: 1rem;
    margin-bottom: 30px;
}

.schedule-demo-btn i {
    margin-right: 20px;
}

.country-state-container {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.country-state-container > * {
    flex: 1;
}

@media (min-width: 768px) {
    .desktopOnly {
        display: block;
    }

    .left,
    .right {
        width: 50%;
    }

    .signup-description .wrapper {
        text-align: left;
        max-width: 650px;
        margin: auto;
    }

    .signup-description h2 {
        text-align: left;
        font-size: 2.625rem;
        margin-bottom: 30px;
    }

    .signup-description img {
        max-width: 165px;
        margin-bottom: 50px;
    }

    .signup-description .content {
        margin-bottom: 100px;
        color: var(--sem-color-text-weak);
        text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.01);
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 300;
        line-height: 1.5;
    }

    .signup-description .awards p {
        color: var(--sem-color-text-weak);
        text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.01);
        font-size: 17px;
        font-style: normal;
        font-weight: 400;
        line-height: 1.5;
    }

    .signup-description .logos {
        display: flex;
        justify-content: space-between;
        max-width: 500px;
    }

    .signup-description .logos img {
        max-height: 95px;
    }

    .login-box {
        padding: 50px 20px;
    }

    .login-box .wrapper {
        max-width: 650px;
        margin: auto;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .mobileOnly {
        display: none;
    }

    #login-form-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .schedule-a-demo-container {
        display: flex;
        justify-content: flex-start;
    }

    .schedule-a-demo-container .wrapper {
        max-width: 650px;
        margin: auto;
        text-align: left;
    }

    .schedule-a-demo-container .wrapper.testimonial {
        max-width: 100%;
    }

    .schedule-a-demo-container h2 {
        font-size: 2.625rem;
        text-align: left;
        margin-bottom: 20px;
    }

    .schedule-demo-description {
        margin-bottom: 60px;
        color: var(--sem-color-text-weak);
        text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.01);
        font-size: 20px;
        font-style: normal;
        font-weight: 300;
    }

    .schedule-demo-btn {
        width: auto;
    }

    .testimonial {
        display: flex;
        gap: 20px;
    }

    .testimonial .content {
        width: 50%;
    }

    .testimonial strong {
        color: var(--sem-color-tertiary-default);
        text-shadow: 0px 0px 1.321px rgba(0, 0, 0, 0.01);
        font-size: 1.2rem;
        font-style: normal;
        font-weight: 600;
        line-height: 1.5;
    }

    .testimonial blockquote {
        color: var(--sem-color-text-weak, #676c71);
        text-shadow: 0px 0px 1.321px rgba(0, 0, 0, 0.01);
        font-size: 26px;
        font-style: italic;
        font-weight: 400;
        line-height: 1.6;
    }

    .testimonial p {
        color: #54595f;
        text-shadow: 0px 0px 1.321px rgba(0, 0, 0, 0.01);
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1;
    }

    .img-container {
        width: 50%;
        max-width: 224px;
        height: 224px;
        border-radius: 112px;
        background: url('assets/images/signup/builder.jpeg') lightgray 0px -37.333px / 100% 133.333% no-repeat;
    }

    h2 {
        font-size: 1.6rem;
    }
}
