.sign-up-page-content,
.sign-in-page-content{
    background: url("../Images/Background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: calc(100vh - 95px);
    min-height: 565px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sign-up-page-content .form-wrapper,
.sign-in-page-content .form-wrapper{
    background: #000;
    opacity: 80%;
    color: #fff;
    position: relative;
    padding: 25px 0;
    border-radius: 10px;
    width: 40%;
    min-width: 360px;
    max-width: 550px;
}

.form-wrapper h1{
    text-align: center;
    margin-bottom: 15px;
    color: var(--orange);
    filter: brightness(1.2);
}

.form{
    padding: 0 35px;
}

.form div{
    position: relative;
}

.form div.error::after{
    content: "";
    background: url("../Images/Icons/Error.svg");
    height: 20px;
    width: 20px;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-100%, -100%);
}

.form div.allow::after{
    content: "";
    background: url("../Images/Icons/Allow.svg");
    height: 20px;
    width: 20px;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-100%, -50%);
}

.form .message{
    font-size: .8rem;
    color: #f00;
    padding-left: 20px;
}

.form input{
    outline: none;
    border: 0;
    padding: 10px 30px 10px 10px; /*padding-right + 20px of check img*/
    border-left: 3px solid var(--orange);
    background: transparent;
    color: #fff;
    width: 100%;
    margin: 5px;
}

/* .form input.hasValue{
    background: var(--inputBackground);
    color: #000;
} */

.form input.error{
    border-bottom: 2px solid #f00 !important;
}
.form input.allow{
    border-bottom: 2px solid #0f0;
}
/* Delay autofill background */
.form input:-webkit-autofill{
    transition-property: background;
    transition-delay: 99999s;
    -webkit-text-fill-color: #fff;
}

.form .show-password{
    display: flex;
    padding-left: 10px;
    margin-top: 5px;
}

.form .show-password label{
    width: 20px;
    height: 25px;
    margin-right: 5px;
}

.form .show-password img{
    width: 100%;
    height: 100%;
}

.form .show-password #show-psw-btn{
    outline: none;
    border: 0;
    background: transparent;
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
}

.form .show-password #show-psw-btn:hover{
    color: #f00;
}

.form .sign-up-submit,
.form .sign-in-submit{
    margin-top: 20px;
}

.form .sign-up-status,
.form .sign-in-status{
    color: #0f0;
    text-align: center;
    font-size: .8rem;
    margin-bottom: 5px;
}

.form .sign-in-status{
    color: #f00;
}

.form .submit-button{
    width: 100%;
    cursor: pointer;
    background: var(--orange);
    opacity: 70%;
    border: 0;
    outline: none;
    padding: 10px;
    font-size: 1.1rem;
}

.form .submit-button:hover{
    filter: brightness(1.2) drop-shadow(0 0 5px var(--orange));
}

@media screen and (max-width: 400px){
    .form{
        padding: 0 15px;
    }

    .sign-up-page-content .form-wrapper, 
    .sign-in-page-content .form-wrapper{
        min-width: 290px;
    }
}
