.auth_page{
    width: 100%;
    max-width: 3000px;
    position: relative;
    margin: auto;
    padding: 2em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: calc(100vw - (100vw - 100%));
    width: calc(100dvw - (100dvw - 100%));
    min-height: 100vh;
    min-height: 100dvh;
}


.auth_page::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(160deg, #00000000 45%, #ffffff00 40%), linear-gradient(217deg, #c000ff, #3d00ff);*/
    background-image: url(../../images/auth/abstract-background.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /*clip-path: polygon(0 0, 100% 0, 100% 30%, 0 50%);*/
    clip-path: polygon(100% 100%, 0% 100%, 0% 70%, 100% 50%);
    transform: rotate(180deg);
}



.auth_page>.title{
    font-size: min(5em, 5vh);
    color: white;
    font-weight: 100;
    padding: 0.25em;
    width: 100%;
    max-width: 60rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.25em;
    position: relative;
    margin-top: 8vh;
    margin-bottom: 0.5em;
}

.auth_page>.title::before{
    content: "";
    flex-grow: 1;
    height: 0.5px;
    background: white;
}

.auth_page>.title::after{
    content: "";
    flex-grow: 1;
    height: 0.5px;
    background: white;
}



.auth_page .dashed_line_container{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
}


.auth_page .dashed_line_container .dashed_line:nth-child(1){
    left: 20em;
}

.auth_page .dashed_line_container .dashed_line:nth-child(2){
    left: 50em;
}

.auth_page .dashed_line_container .dashed_line:nth-child(3){
    left: 80em;
}

.auth_page .dashed_line_container .dashed_line:nth-child(4){
    left: 110em;
}

.auth_page .dashed_line_container .dashed_line:nth-child(5){
    left: 140em;
}

.auth_page .dashed_line_container .dashed_line:nth-child(6){
    left: 170em;
}

.auth_page .dashed_line_container .dashed_line:nth-child(7){
    left: 200em;
}








.auth_form{
    padding: 3.5em 2em;
    width: 90%;
    max-width: 35em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2em;
    background: white;
    border-radius: 0.5em;
    box-shadow: 0 0 5px silver;
    position: relative;
    z-index: 2;
}




.back_to_home_link{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-size: 0.85rem;
    padding: 0.25em;
    color: #909090;
    fill: #909090;
}

.auth_form .back_to_home_link{
    margin-top: -2em;
    margin-bottom: 0.5em;
}




.auth_form .form_title{
    font-size: 1.5em;
    font-weight: 300;
    text-align: left;
    width: 90%;
}


.auth_form .sub_title{
    font-size: 0.9em;
    color: #727272;
    font-weight: 400;
    text-align: left;
    width: 90%;
}


.auth_form .error{
    font-size: 0.9rem;
    color: var(--error-color);
}

.auth_form .error_status{
    margin-bottom: -2.25em;
    margin-top: 1.5em;
    text-align: center;
    width: 100%;
}









button[type='submit']{
    margin-top: 2em;
    width: 100%;
    padding: 0.75em 2em;
    background: #8b00ff;
}

button[type='submit']:hover{
    background: #6900c0;
}



.switch_auth_form{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin-top: 1em;
    font-size: 0.9rem;
    gap: 0.5em;
}

.switch_auth_form .link{
    color: #5900ff;
}
