.wrapper{
    min-height: 95vh;
}

.title-mobile{
    display: none;
}

.card{
    background-color: #fafafa;
    border-radius: 10px;
    margin: 15px;
    max-width: 40%;
    overflow: hidden;
}

.text{
    background-color: #0c2663;
    border-radius: 10px 0 0 10px;
    min-width: 50%;
    min-height: 40vh;
    padding: 10px;
    color: white;
}

.title{
    text-align: center;
}

.text .title,
.text p{
    margin-top: 20px;
}

.text p{
    text-align: center;
    font-size: 13px;
    padding: 0px 30px;
}

.image{
    max-width: 50%;
}

.login-form{
    width: 60%;
}

.form{
    min-width: 50%;
    min-height: 40vh;
    text-align: center;
}

.form h1{
    margin-top: 20px;
    
}

form p label{
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    flex-wrap: wrap;
    margin-top: 10px;
}

#id_username,#id_password{
    border-radius: 0px;
    background-color: transparent;
    color: #000;
    outline: none;
    outline-style: none;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: solid 1px #000;
    padding: 3px 10px;
    width: 100%;
}

#id_username:focus, 
#id_password:focus{
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: 2px 2px;
}


.button{
    border: none;
    background-color: #0D0E27;
    width: 100%;
    color: white;
    margin-top: 4px;
    font-size: 14px;
    padding: 10px;
    border-radius: 10px;
}

.button:hover{
    background-color: #1b1c51;
}

.form .link-text{
    display: none;
}

.form .link{
    display: none;
    margin-top: 5px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    font-size: 14px;
}

.link{
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.errorlist.nonfield{
    display: none;
}

.backup-btn{
    text-decoration: underline;
    background-color: transparent;
    border: none;
    color: #0a0a0a;
    font-size: 16px;
    font-weight: 500;
}

.backup-btn:hover{
    color: #1e00ff;
}

.messages{
    width: 100%;
    font-size: 14px;
}

.alert-warning-login {
    --bs-alert-color: #ff0000;
    --bs-alert-bg: #fff3cd00;
    --bs-alert-border-color: #ffecb500;
    margin: 0;
    padding: 0;
}

@media screen and (max-width:1199px) {
    .title-mobile{
        display: block;
    }

    .card{
        max-width: 50%;
    }
    
    .text{
        display: none !important;
    }

    .form{
        width: 200vh;
    }

    .form .link-text{
        display: block !important;
        margin-top: 15px;
    }

    .form .link{
        display: block !important;
        font-size: 18px;
    }
}

@media screen and (max-width:414px) {
    .card{
        max-width: 80%;
    }

    .form{
        width: 200vh;;
    }
}