/* WordPress default login page — dark theme override */

body.login {
    background: #111;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Logo area */
#login h1 a,
.login h1 a {
    background-image: none;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    text-indent: 0;
    width: auto;
    height: auto;
    text-decoration: none;
    display: block;
    text-align: center;
}

/* Login box */
#loginform,
#lostpasswordform,
#resetpassform {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 0;
    box-shadow: none;
    padding: 28px;
}

/* Labels */
.login label {
    color: #666;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Inputs */
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 0 !important;
    color: #f0f0f0;
    box-shadow: none;
    font-size: 14px;
    padding: 10px 12px;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
    border-color: #cc0000;
    box-shadow: none;
    outline: none;
}

/* Submit button */
.login .button-primary,
.login input[type="submit"] {
    background: #cc0000;
    border: none;
    border-radius: 0 !important;
    box-shadow: none;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: none;
    width: 100%;
    padding: 12px;
    transition: background 0.15s;
}

.login .button-primary:hover,
.login input[type="submit"]:hover {
    background: #990000;
    border: none;
    box-shadow: none;
    color: #fff;
}

/* Links */
.login #nav a,
.login #backtoblog a,
.privacy-policy-link {
    color: #555;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.15s;
}

.login #nav a:hover,
.login #backtoblog a:hover { color: #cc0000; }

.login #nav,
.login #backtoblog { text-align: center; }

/* Override browser autofill background */
.login input:-webkit-autofill,
.login input:-webkit-autofill:hover,
.login input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #111 inset !important;
    -webkit-text-fill-color: #f0f0f0 !important;
    caret-color: #f0f0f0;
}

/* Remember me */
.login .forgetmenot label { text-transform: none; font-size: 13px; color: #555; }
.login input[type="checkbox"] { accent-color: #cc0000; }

/* Error/message notices */
.login #login_error,
.login .message,
.login .success {
    border-radius: 0;
    border-left: 3px solid #cc0000;
    background: #1a1a1a;
    color: #f0f0f0;
    box-shadow: none;
}

.login .success { border-left-color: #4caf50; }

/* Privacy policy link */
.login .privacy-policy-page-link { text-align: center; }
