body.login {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.16), transparent 30%),
        linear-gradient(180deg, #eef5fd 0%, #f8fbff 40%, #edf6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.login div#login {
    width: min(100%, 430px);
    padding: 36px 20px;
}

body.login #login h1 {
    margin-bottom: 22px;
}

body.login #login h1 a {
    width: 168px;
    height: 82px;
    background-size: contain;
    background-position: center;
    margin: 0 auto;
}

body.login form {
    margin-top: 0;
    padding: 28px;
    border: 1px solid #dbe6f4;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

body.login label {
    color: #334155;
    font-weight: 600;
}

body.login .input,
body.login input[type="text"],
body.login input[type="password"] {
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #d3e2f2;
    border-radius: 14px;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.login .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

body.login .button.wp-hide-pw {
    border-color: transparent;
    box-shadow: none;
}

body.login .button-primary {
    min-height: 48px;
    padding: 0 22px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.24);
    font-weight: 700;
}

body.login .button-primary:hover,
body.login .button-primary:focus {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

body.login .forgetmenot {
    display: flex;
    align-items: center;
}

body.login .forgetmenot label {
    font-weight: 500;
}

.csuk-auth-divider {
    position: relative;
    margin: 18px 0 16px;
    text-align: center;
}

.csuk-auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #dbe6f4;
}

.csuk-auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 12px;
    background: #fff;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.csuk-auth-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.csuk-auth-social-copy {
    margin: 0 0 4px 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.csuk-auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid #d7e3f1;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.csuk-auth-button:hover,
.csuk-auth-button:focus {
    border-color: #93c5fd;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
    color: #0f172a;
}

.csuk-auth-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
}

.csuk-auth-icon svg {
    width: 20px;
    height: 20px;
}

.csuk-auth-login-message {
    border-left-color: #dc2626;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.08);
}

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

body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-page-link a {
    color: #1d4ed8;
}

@media (max-width: 480px) {
    body.login div#login {
        padding: 22px 14px;
    }

    body.login form {
        padding: 22px;
        border-radius: 22px;
    }
}
