@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 10px;
    font-family: "DM Sans";
}

.wrapper {
    min-width: 100vw;
    min-height: 100vh;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    background: rgb(111, 23, 255);
    background: linear-gradient(45deg, rgba(111, 23, 255, 0.7) 7.12%, rgba(255, 23, 148, 0.7) 93.58%), url("/static/images/v2/head.webp");
    background-color: lightgray;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#6f17ff", endColorstr="#ff1794", GradientType=1);
    padding-top: 5%;
}

.validate {
    background: rgb(111, 23, 255);
    background: linear-gradient(45deg, rgba(111, 23, 255, 0.57) 7.12%, rgba(0, 215, 177, 0.71) 93.58%),
        url("/static/images/v2/head.webp"),
        linear-gradient(45deg, rgb(111, 23, 255) 7.12%, rgb(1, 192, 234) 93.58%),
        linear-gradient(45deg, rgb(111, 23, 255) 7.12%, rgb(255, 23, 148) 93.58%);
    background-color: lightgray;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#6f17ff", endColorstr="#ff1794", GradientType=1);
    padding-top: 5%;
}

.footer {
    display: flex;
    width: 100%;
    padding: 2.4rem 0;
    align-items: center;
    justify-content: center;
    gap: 3.2rem;
    color: #FFF;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

[aria-label="layout"] {
    display: flex;
    width: 65rem;
    flex-direction: column;
    align-items: center;
}

[aria-label="form-layout"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.4rem;
    align-self: stretch;
}

[ aria-label="register"] {
    color: #1E0E32;
    text-align: center;
    font-size: 4rem;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

[aria-label="logo"] {
    display: flex;
    width: 28.5333rem;
    height: 4.8rem;
    padding: 0 0.076rem 0.0486rem 0;
    justify-content: center;
    align-items: center;
    gap: 1.0666rem;
    margin-bottom: 4.8rem;
}

[aria-label="got-an-account"] {
    margin-top: 1.6rem;
    color: #FFF;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    .active {
        color: #00D7B1 !important;
        background-color: transparent;
    }

    a {
        color: #FF8515;
        font-size: 1.6rem;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-decoration-line: underline;

    }
}

[aria-label="sign-in-form-layout"] {
    display: flex;
    padding: 6.4rem;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    align-self: stretch;
    border-radius: 4rem;
    background: #FFF;
    box-shadow: 0 0 64px 0 rgba(0, 0, 0, 0.20);
}

[aria-label="enter-switch-layout"] {
    display: flex;
    height: 5.6rem;
    padding: 0.4rem;
    align-items: center;
    justify-content: space-between;
    font-family: "DM Sans maim", sans-serif;
    gap: 1rem;
    align-self: stretch;
    border-radius: 4.8rem;
    border: 1px solid #E2E0E5;
    background: #EEEDF3;
}

[aria-label="detail-button"],
[aria-label="email-button"] {
    color: #1E0E32;
    display: flex;
    padding: 1.6rem;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex: 1 0 0;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.6rem;
    cursor: pointer;
}

[aria-label="detail-button"]:before {
    content: "✔";
    display: flex;
    width: 1.4rem;
    height: 1.4rem;
    padding: 0.5rem 0.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 1.4rem;
    color: #fff;
    background: linear-gradient(45deg, #01C0EA 7.12%, #00D7B1 93.58%), #FFF;
}

[aria-label="email-button"] {
    color: #9592A9;
}

[aria-label="email-button"].active {
    color: #1E0E32;
}

.active {
    border-radius: 2.4rem;
    background: #FFF;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.16);

}

[aria-label="detail-button"].active:before {
    content: unset !important;
    opacity: 0 !important;
    display: none !important;
}

[aria-label="errors-wrapper"].is-valid {
    display: none;
}

[aria-label="errors-wrapper"] {
    display: flex;
    padding: 1.6rem;
    align-items: flex-start;
    gap: 1.2rem;
    align-self: stretch;
    border-radius: 1.6rem;
    background: #FFE6E6;
}

[aria-label="errors-message"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    flex: 1 0 0;
}

[aria-label="errors-title"] {
    align-self: stretch;
    color: #AF3249;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
}

[aria-label="error"] {
    align-self: stretch;
    color: #AF3249;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.octagon {
    width: 2.4rem;
    height: 2.4rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("/static/images/v2/Octagon_Warning.svg");
}

.octagon::before {
    content: url("/static/images/v2/Octagon_Warning.svg");
    position: absolute;
    width: 2.4rem;
    height: 2.4rem;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

[aria-label="please-enter-text"] {
    width: 48rem;
    color: #635F77;
    text-align: center;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

[aria-label="email-input-wrapper"] {
    position: relative;
    display: flex;
    width: 100%;
    height: 4.8rem;
    padding: 1.2rem 1.6rem;
    align-items: center;
    gap: 1.6rem;
    align-self: stretch;
}

[aria-label="email-input-wrapper"]::before {
    content: "✉";
    position: absolute;
    display: flex;
    /*height: 4.8rem;*/
    padding: 0.8rem 1.6rem;
    align-items: center;
    justify-content: center;
    /*gap: 1.6rem;*/
    align-self: stretch;
    font-size: 2.4rem;
    pointer-events: none;
    z-index: 5;
}

[aria-label="email-input"] {
    position: relative;
    width: 100%;
    display: flex;
    height: 4.8rem;
    padding: 1.2rem 1.6rem 1.2rem 5.2rem;
    align-items: center;
    gap: 1.6rem;
    align-self: stretch;
    border-radius: 3.6rem;
    border: 2px solid #C5C3D5;
    background: #FFF;

    color: #353535;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

}

[aria-label="email-input"]:focus-visible,
[aria-label="email-input"]:active {
    outline: #635F77;
    border: 2px solid #C5C3D5;
}


/*checkbox-wrapper*/
[aria-label="checkbox-wrapper"] {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

[aria-label="checkbox-label"] {
    color: #1E0E32;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

[aria-label="checkbox-label"]>.color {
    color: #6F17FF;
}

[aria-label="checkbox-label"]>span {
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: 0;
    opacity: 0.01;
}

[type="checkbox"]:not(:checked)+label,
[type="checkbox"]:checked+label {
    position: relative;
    padding-left: 2.3em;
    font-size: 1.05em;
    line-height: 1.7;
    cursor: pointer;
}

/* checkbox aspect */
[type="checkbox"]:not(:checked)+label:before,
[type="checkbox"]:checked+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    width: 1.2rem;
    height: 1.2rem;
    padding: 0.5rem 0.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-radius: 0.4rem;
    background: #E7E5EE;
}

[type="checkbox"]:checked+label:before {
    content: "✓";
    stroke-width: 2px;
    font-size: 2rem;
    color: #6F17FF;
}

/*checkbox-wrapper end*/
[aria-label="re-capcha"] {
    width: 28.0421rem;
    height: 7.4rem;
    background: url("/static/images/v2/capca.png") lightgray 50% / cover no-repeat;
}

[aria-label="sign-up-button"] {
    display: flex;
    padding: 1.2rem 2.4rem;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    align-self: stretch;
    border-radius: 2.4rem;
    background: linear-gradient(83deg, #811EFF -12.15%, #FF1794 54.04%, #FF8617 109.29%);
    border: none;
    cursor: pointer;
    color: #FFF;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 600;
    line-height: 2.4rem;
    text-transform: uppercase;
    transition: all 0.3s;
    width: 100%;
    margin-top: 2rem;
}

[aria-label="sign-up-button"]:hover {
    border-radius: 2.4rem;
    background: linear-gradient(83deg, #811EFF -96.07%, #FF1794 16.22%, #FF8617 104.81%);
}

[aria-label="check-email"] {
    color: #635F77;
    text-align: center;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

[aria-label="check-email-title"] {
    color: #1E0E32;
    text-align: center;
    font-size: 4rem;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    margin-bottom: 3.2rem;
}

@media (max-width: 600px) {
    [aria-label="layout"] {
        width: 95%;
    }

    [aria-label="detail-button"],
    [aria-label="email-button"] {
        font-size: 1.3rem;
        padding: 1.3rem;
    }

    [aria-label="sign-in-form-layout"] {
        padding: 2.4rem;
        gap: 2rem;
        border-radius: 3rem;
    }

    [aria-label="enter-switch-layout"] {
        height: 5rem;
    }

    [aria-label="errors-wrapper"] {
        padding: 1rem;
        gap: 1rem;

    }
}

@media (max-width: 375px) {
    [aria-label="layout"] {
        width: 36rem;
    }

    [aria-label="detail-button"],
    [aria-label="email-button"] {
        font-size: 1.1rem;
        padding: 0.5rem;
    }

    [aria-label="sign-in-form-layout"] {
        padding: 1.1rem;
        gap: 1rem;
        border-radius: 1.5rem;
    }

    [aria-label="enter-switch-layout"] {
        height: 3.5rem;
    }

    [aria-label="logo"] {
        width: 28.5333rem;
        height: 3.8rem;
        margin-bottom: 2.8rem;
    }

    [aria-label="errors-message"] {
        gap: 0.5rem;
    }

    [aria-label="errors-title"] {
        font-size: 1.2rem;
    }
}

.terms-link {
    font-size: 1.6rem;
    color: #6F17FF;
    text-decoration: none;
}

[aria-label="text-input-wrapper"] {
    position: relative;
    display: flex;
    width: 100%;
    height: 4.8rem;
    padding: 1.2rem 1.6rem;
    align-items: center;
    gap: 1.6rem;
    align-self: stretch;
}

[aria-label="text-input"] {
    position: relative;
    width: 100%;
    display: flex;
    height: 4.8rem;
    padding: 1.2rem 1.6rem 1.2rem 2.2rem;
    align-items: center;
    gap: 1.6rem;
    align-self: stretch;
    border-radius: 3.6rem;
    border: 2px solid #C5C3D5;
    background: #FFF;
    color: #353535;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

}

[aria-label="input-label"] {
    color: #635F77;
    text-align: left;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.field {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}