/*Login Page and background image*/
body.login {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-top: 50px;
}

/*Handle the width of custom logo*/
body.login .custom-logo {
    width: auto; /* This ensures the width is determined by the next rule */
    max-width: 300px; /* This sets the maximum width */
    height: auto; /* This ensures the height scales proportionally */
}

/*Hiding WP-logo if uploading custom logo*/
body.login.custom-logo-active h1 a {
    display: none !important;
}
/*Hiding border on buttons*/
body.login .button {
    border: none !important;
}

/* Hide default links below the form */
.login #nav a, .login #backtoblog a {
    display: none;
}
/*Add top margin to checkbox*/
body.login .forgetmenot label, .login .pw-weak label {
    margin-top: 10px !important;
}

body.form-table th {
    font-weight: 300 !important;
}
/*Add padding to message box*/
body.login .message {
    padding: 20px;
}
