
div:has( > form#login-form) {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    width: 80vw;
}

#login-form {
    width: 300px;
    margin: 0 auto;
    padding: 20px;
    border: 2px solid #000;
    border-radius: 5px;
    background-color: #F0F0F0;
    box-shadow: 3px 3px 3px rgba(15, 0, 0, 0.5);
}

.login_form_header {
    font-size: 18pt;
    font-style: italic;
    font-weight: bold;
}

label {
	font-family: candara;
    font-weight: bold;
}

div:has(label[for="id_username"]) {
    margin-bottom: 15px;
}

div:has(label[for="id_password"])
{
    margin-bottom: 15px;
}

#id_username, #id_password {
    float: right;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

div:has(> button[type="submit"]) {
    display: flex;
    justify-content: right;
    margin-right: 10px;
}

button[type="submit"] {
    width: 25%;
    font-size: 16px;
    background-color: #198D00;
    color: #FFFFFF;
    cursor: pointer
}
