body.login {
    margin: 0;
    min-height: 100vh;
    background: #f5f5f7;
    font-family: -apple-system, BlinkMacSystemFont,
                 "SF Pro Text", "SF Pro Display",
                 "Segoe UI", Helvetica, Arial, sans-serif;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    justify-content: center;
}

#login {
    width: 100%;
    max-width: 420px;
    margin: 0 !important;
    padding: 0 20px;
}

/* Logo */
.login h1 {
    margin-bottom: 20px;
}

.login h1 a {
    background-image: url("https://mpgafrica.com/wp-content/uploads/2026/01/Media-Partner-Group-mpgafrica-website-logo-plain-300x300.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: block;
    text-indent: -9999px;
}

/* Form surface */
.login form {
    background: #ffffff;
    padding: 40px 32px 32px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

/* Messages */
.login .message,
.login .notice-error,
.login .success {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f5f5f7;
    border: none;
    font-size: 13px;
}

/* Labels */
.login label {
    font-size: 12px;
    font-weight: 500;
    color: #6e6e73;
    margin-bottom: 6px;
    display: block;
}

/* Inputs */
.login input[type="text"],
.login input[type="password"] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-size: 15px;
    line-height: 44px;
    color: #1d1d1f;
    background: #f5f5f7;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}

/* Password wrapper */
.login .wp-pwd {
    position: relative;
}

/* Eye icon */
.login .button.wp-hide-pw {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #6e6e73;
}

.login .button.wp-hide-pw:hover,
.login .button.wp-hide-pw:focus,
.login .button.wp-hide-pw:active {
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
    color: #000000;
}

/* Space for eye icon */
.js.login input.password-input {
    padding-right: 48px;
}

/* Focus */
.login input:focus {
    background: #ffffff;
    border-color: #000000;
    outline: none;
}

/* Primary button – BLACK */
.login .button-primary {
    width: 100%;
    height: 44px;
    margin-top: 20px;
    padding: 0;
    background: #000000;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    line-height: 44px;
    text-align: center;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.login .button-primary:hover {
    background: #111111;
}

.login .button-primary:active {
    background: #000000;
}

/* Remove WP extras */
#nav,
#backtoblog,
.language-switcher,
.privacy-policy-page-link {
    display: none !important;
}

/* Responsive */
@media (max-width: 480px) {
    .login form {
        padding: 32px 24px;
        border-radius: 16px;
    }
}

.screen-reader-text {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
}

