main{
    background-color: #02073E;
    min-height: 100vh;
    /* display: flex; */
    box-sizing: border-box;
    padding: 150px 0;
}

.form-box{
    display: none;
}

.auth-box-parent{
    position: relative;
    width: max-content;
    margin: auto;
}
.auth-box{
    width: 400px;
    height: auto;
    background-color: white;
    margin: auto;
    /* margin-top: 200px; */
}

.status-box{
    height: 50px;
    background-color: lightgreen;
    width: 100%;
    position: absolute;
    top: -50px;
    text-align: center;
    line-height: 50px;
}

.auth-box-header{
    display: flex;
    height: 50px;
    background-color: rgb(237, 237, 237);

}

.auth-box-header-item{
    width: 50%;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 50px;
    transition: background-color 0.2s linear;
}

.auth-box-header-item:hover{
    background-color: white;
    transition: all .3s linear;
}

.auth-box-body{
    padding: 30px;
    box-sizing: border-box;
}

.input-box{
    position: relative;
}

.input-error{
    color: red;
    position: absolute;
    width: 100%;
    top: -22px;
    right: 0;
    font-size: 14px;
}

.error{
    background-color: antiquewhite !important;
}

.auth-box-input{
    width: 100%;
    height: 40px;
    background-color: rgb(237, 237, 237);
    font-size: 16px;
    border: none;
    margin-bottom: 30px;
    padding: 10px 20px;
    box-sizing: border-box;
    font-family: inherit;
}

.auth-box-input:focus{
    outline: none;
}


.auth-button-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.auth-button{
    width: 150px;
    height: 40px;
    background-color: #249DC2;
    color: white;
    font-size: 16px;
    font-family: 'iransans';
    font-weight: bold;
    border: none;
    transition: background-color .2s linear;
}

.auth-button:hover{
    background-color: #1e86a5;
    transition: all .3s linear;
    /* width: 300px; */
}

.auth-link{
    color: #249DC2;
    width: calc(100% - 150px);
    text-align: center;
    font-size: 14px;
}

.google-login{
    width: 100%;
    height: 40px;
    text-align: center;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #249DC2;
    font-size: 14px;
    transition-property: background-color, color;
    transition-duration: .3s;
    transition-timing-function: linear;
}

.google-login:hover{
    background-color: #249DC2;
    color: white;
    transition: all .3s linear;
}

.header-active{
    background-color: white;
}

.page-active{
    display: block;
}

@media screen and (max-width : 450px) {
    .auth-box{
        width: 90vw;
    }
}

@media screen and (max-width : 300px) {
    .auth-button-box{
        flex-direction: column;
        gap: 20px;
    }

    .auth-link{
        width: unset;
    }
}
