/* waitlist styles */
main {
    background: #000;
}

main section {
    min-height: 100vh;
    /* overflow: hidden; */
    background: #fff;
}

section .wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.wrapper .image {
    width: 50%;
    position: relative;
    height: 100vh;
    background: url('/static/images/signup/waitlist_art.jpg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

.wrapper .image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=0);
    z-index: 1;
}

.wrapper .image img {
    object-fit: cover;
    object-position: center;
    height: -webkit-fill-available;
}

.wrapper .image .quotes {
    position: absolute;
    bottom: 20px;
    color: #fff;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.wrapper .image .quotes h4 {
    font-size: 24px;
    font-weight: 500;
    max-width: 490px;
    margin: auto;
    line-height: 1.3;
}

.wrapper .image .quotes p {
    font-size: 16px;
    font-weight: 400;
    max-width: 490px;
    margin: 10px auto;
    line-height: 1.5;
    text-align: end;
}

.wrapper .content {
    width: 50%;
    padding: 50px 0 30px;
    text-align: center;
    position: relative;
    height: 100vh;
    overflow-y: auto;
}


.branding {
    margin-bottom: 30px;
}



.wrapper .content h2 {
    font-size: 36px;
    font-weight: 600;
    margin: 0px auto 20px;
    max-width: 470px;
    line-height: 1.2;
}

.wrapper .content p {
    font-size: 16px;
    font-weight: 400;
    margin: 0 auto 20px;
    line-height: 1.5;
}

form#waitlistForm {
    max-width: 500px;
    margin: 50px auto;
}

.form_group {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.form_group label {
    font-size: 14px;
    font-weight: 600;
    position: relative;
    left: 4px;
    top: -4px;
    line-height: 1.4;
}

.form_group label em {
    color: red;
}

.form_group input,
.form_group select {
    width: 100%;
    padding: 8px 10px 8px 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-weight: 400;
}

.lead_name,
.lead_email,
.lead_company,
.lead_country,
.lead_size,
.lead_country_mobile_code,
.lead_phone,
.lead_message {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    width: 50%;
    padding: 0 0 10px;
    position: relative;
}


.lead_country {
    width: 100%;
}

.lead_country_mobile_code {
    width: 20%;
}

.lead_phone {
    width: 80%;
}

.lead_message {
    width: 100%;
}

.lead_message textarea {
    height: 100px;
    resize: vertical;
    padding: 10px;
}

.form_group input:focus,
.form_group select:focus,
.form_group textarea:focus {
    border-color: #2E8B57;
    outline: none;
}

.input_required input,
.input_required select,
.input_required textarea {
    border-color: red;
    outline: none;
}

.lead_marketing,
.lead_privacy {
    display: flex;
    align-items: flex-start;
}

.lead_marketing input,
.lead_privacy input {
    width: 20px;
    margin: 0px 4px 0 0;
}

.consent_box {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 22px;
}

.consent_box a {
    color: #2E8B57;
    text-decoration: underline;
}

.submit_button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #2E8B57;
    /* Primary color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 30px 0 0;
    width: 100%;
}
.submit_button:disabled {
    background-color: #a7a7a7;
}
.required_msg,
.error_msg {
    display: none;
}

.wrapper .content .input_required p.required_msg,
.wrapper .content p.email_exists.error_msg.already_exist {
    display: block;
    position: absolute;
    bottom: -10px;
    color: red;
    font-size: 14px;
    margin: 0;
    left: 4px;
}


.wrapper .content .lead_privacy.input_required p.required_msg {
    left: 30px;
    bottom: -20px;
}

.submision_success,
.existing_user {
    display: none;
}


.user_submitted form,
.user_submitted h2,
.user_submitted .head_desc,
.user_existing form,
.user_existing h2,
.user_existing .head_desc {
    display: none;
}

.user_submitted .submision_success,
.user_existing .existing_user {
    display: block;
    text-align: center;
    max-width: 410px;
    margin: 50px auto;
}

.user_submitted .submision_success h2,
.user_existing .existing_user h2 {
    display: block;
    font-size: 24px;
    font-weight: 600;
    margin: 20px 0 10px;
}



@media screen and (max-width: 1100px) {
    main .image {
        display: none;
    }

    .wrapper .content {
        width: 80%;
        margin: auto;
        padding: 120px 0 150px;
        height: auto;
        overflow: hidden;
    }
}


@media screen and (max-width: 548px) {
    main .image {
        display: none;
    }

    .wrapper .content {
        width: 90%;
        margin: auto;
        padding: 50px 0 30px;
    }

    .wrapper .content h2 {
        font-size: 26px;
    }

    .lead_name, .lead_email, .lead_company, .lead_country, .lead_size, .lead_country_mobile_code, .lead_phone, .lead_message {
        width: 100%;
    }

    .form_group {
        flex-direction: column;
    }
}