/**
 * Branded login — dark stage, gold signal line, RH wordmark.
 */

body.login {
    background: #111111;
    font-family: 'Open Sans', Arial, sans-serif;
}

/* Wordmark */
body.login h1 a {
    background-image: url('../images/logo-white.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 220px;
    height: 60px;
    margin-bottom: 8px;
}

/* The signal line under the logo */
body.login h1::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    margin: 18px auto 0;
    background: #B8A87E;
}

/* Card */
body.login #login {
    padding: 0;
    width: 340px;
}

body.login form {
    background: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    padding: 32px 28px;
    margin-top: 28px;
}

body.login form label {
    color: rgba(250, 250, 250, 0.64);
    font-family: 'Dosis', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

body.login form input[type="text"],
body.login form input[type="password"] {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 0;
    box-shadow: none;
    color: #FAFAFA;
    font-size: 16px;
    padding: 10px 2px;
    margin-top: 4px;
    transition: border-color 0.25s ease;
}

body.login form input[type="text"]:focus,
body.login form input[type="password"]:focus {
    border-bottom-color: #DED1B4;
    outline: none;
}

body.login .button.wp-hide-pw {
    color: rgba(250, 250, 250, 0.5);
}
body.login .button.wp-hide-pw:hover { color: #DED1B4; }

body.login .forgetmenot label {
    letter-spacing: 0.08em;
    font-size: 11px;
}

body.login input[type="checkbox"] {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
}
body.login input[type="checkbox"]:checked::before {
    filter: sepia(1) saturate(3) hue-rotate(10deg);
}

/* Submit — gold pill */
body.login .button-primary {
    width: 100%;
    margin-top: 18px;
    background: #DED1B4;
    border: none;
    border-radius: 999px;
    color: #111111;
    font-family: 'Dosis', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 10px 0;
    text-shadow: none;
    box-shadow: none;
    transition: background-color 0.25s ease;
}

body.login .button-primary:hover,
body.login .button-primary:focus {
    background: #FFFFFF;
    color: #111111;
}

/* Messages */
body.login .notice,
body.login #login_error,
body.login .message {
    background: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid #DED1B4;
    color: rgba(250, 250, 250, 0.8);
    border-radius: 4px;
}

body.login #login_error { border-left-color: #e41919; }

body.login .notice a,
body.login .message a { color: #DED1B4; }

/* Under-card links */
body.login #nav,
body.login #backtoblog {
    text-align: center;
}

body.login #nav a,
body.login #backtoblog a {
    color: rgba(250, 250, 250, 0.5);
    font-family: 'Dosis', Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

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

/* Custom footer */
.rh-login-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    color: rgba(250, 250, 250, 0.35);
    font-family: 'Dosis', Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    body.login * { transition: none !important; }
}
