body,html{
    display: flex;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden !important;
}

.left{
    width: 50%;
    height: 100vh;
    background-color: #6601FF;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left img{
    position: relative;
    width: 100%;
}

.right{
    width:50%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

form{
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

button{
    color: white;
    background-color: #6601FF;
    border: 1px solid #6601FF;
    font-family: 'Vazirmatn', sans-serif;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    margin-top: 30px;
    cursor: pointer;
    border: 0px;
    box-shadow: 0px 10px 30px 0px rgba(103, 1, 255, 0.184);
    transform: scale(1);
    transition: 0.3s;
    font-weight: bold;
    font-size: 14px;
}

button:hover{
    box-shadow: 0px 30px 30px 0px rgba(103, 1, 255, 0.184);
}

button:focus{
    border: 1px solid #6601FF;
    outline: none;
}

.mobile-logo{
    display: none;
}

.usernameinput{
    direction: ltr !important;
}

@media (max-width: 1300px) and (min-width: 1000px){

    form{
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 70%;
    }

}

input.success{
    border: 2px solid #54e49f;
    color: #54e49f;
}

input.error{
    border: 2px solid #e4545d;
    color: #e4545d;
}

.input-msg{
    font-size: 14px;
}

.input-msg.success{
    color: #54e49f;
}
.input-msg.error{
    color: #e4545d;
}

@media (max-width: 999px){

    .left{
        display: none;
    }

    .right{
        width: 100%;
    }

    form{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 85%;
        margin-top: 10px;
    }

    .mobile-logo{
        display: block;
    }

    .mobile-logo img{
        position: relative;
        width: 100%;
    }

    button{
        font-size: 17px;
    }
    
    

}