form {
    font-family: Arial, sans-serif;
    width: 480px;
    margin: 180px auto;
    text-align: center;
    border: 1px solid #e3e7ed;
    padding: 5px;
    background-color: white;
    box-shadow: 1px 1px 20px #333;
}

form div{
    margin-bottom: 10px;
}

form label:not(.remember-me) {
    position: absolute;
    left: -9999px;
    text-indent: -9999px;
}

label.remember-me input {
    border: #0c4a6e 3px solid;
}

.alert.alert-danger {
    background-color:indianred;
    color: #fff;
    padding:10px;
}

input:not([type=checkbox]){
    height: 20px;
    font-size: 1em;
    width: 400px;
    margin-bottom: 15px;
    border: 1px solid #e3e7ed;
    color: #333;
    padding: 10px 9px;
}

button[type="submit"] {
    background-color: #e3e7ed;
    border: 0;
    cursor: pointer;
    color: #333;
    width: 420px;
    padding: 10px 9px;
    font-size: 1em;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #444;
    }

    form {
        border: none;
        background-color: #333;
        color:#fff;
    }

    button[type="submit"] {
        background-color: #444;
        color: #fff;
    }

    input:not([type=checkbox]) {
        background-color: #444;
        border: none;
        color: #fff;
    }
}