/* Afritech Modernizer — login page rebrand (light) */
:root {
    --afmod-accent: #2563eb;
}

body.login {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 50%, #e2e8f0 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}

body.login::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(37,99,235,.10), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(59,130,246,.08), transparent 55%);
    pointer-events: none;
}

#login {
    width: 380px;
    padding-top: 6vh;
}

#login h1 a {
    background: none !important;
    width: auto;
    height: auto;
    text-indent: 0;
    color: #0f172a;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 0 auto 24px;
    display: block;
    text-align: center;
}

.login form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(15,23,42,.08);
    padding: 28px 28px 24px;
    color: #0f172a;
}

.login form label {
    color: #334155;
    font-size: 13px;
}

.login form .input,
.login input[type=text],
.login input[type=password] {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: none;
    font-size: 15px;
}
.login form .input:focus,
.login input[type=text]:focus,
.login input[type=password]:focus {
    border-color: var(--afmod-accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,.18);
    outline: none;
    background: #ffffff;
}

.wp-core-ui .button-primary {
    background: var(--afmod-accent) !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    padding: 8px 18px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
}
.wp-core-ui .button-primary:hover {
    filter: brightness(1.05);
}

.login #nav a,
.login #backtoblog a {
    color: #64748b !important;
    text-shadow: none;
}
.login #nav a:hover,
.login #backtoblog a:hover {
    color: var(--afmod-accent) !important;
}

.login .privacy-policy-page-link a {
    color: #64748b;
}
