/* ============================================================
   MW Base Plugin — Branded Login Screen
   ============================================================ */

/* ── Background ──────────────────────────────────────────── */
body.login {
    background: #0f172a;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(34, 113, 177, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 163, 42, 0.08) 0%, transparent 50%);
}

/* ── Login Box ───────────────────────────────────────────── */
#login {
    padding: 10px 0;
}

.login #login_error,
.login .message,
.login .success {
    border-radius: 6px;
    margin-bottom: 16px;
}

#loginform,
#lostpasswordform,
#registerform {
    background: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0,0,0,0.3);
    padding: 28px 30px 24px;
}

/* ── Logo ────────────────────────────────────────────────── */
#login h1 a {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 200px !important;
    height: 80px !important;
    margin-bottom: 12px;
}

/* ── Labels ──────────────────────────────────────────────── */
.login label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

/* ── Inputs ──────────────────────────────────────────────── */
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: auto;
    line-height: 1.4;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.15);
    outline: none;
}

/* ── Submit Button ───────────────────────────────────────── */
.login .button-primary {
    background: linear-gradient(135deg, #2271b1 0%, #135e96 100%);
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.35);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    height: 42px;
    letter-spacing: 0.3px;
    padding: 0 20px;
    transition: all 0.2s;
    width: 100%;
}

.login .button-primary:hover,
.login .button-primary:focus {
    background: linear-gradient(135deg, #135e96 0%, #0d4a7a 100%);
    box-shadow: 0 4px 14px rgba(34, 113, 177, 0.45);
    transform: translateY(-1px);
    color: #fff;
}

.login .button-primary:active {
    transform: translateY(0);
}

/* ── Links ───────────────────────────────────────────────── */
.login #nav a,
.login #backtoblog a {
    color: #9ca3af;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.15s;
}

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

.login #nav,
.login #backtoblog {
    padding: 8px 0;
    text-align: center;
}

/* ── Remember Me ─────────────────────────────────────────── */
.login .forgetmenot {
    margin-top: 4px;
}

.login .forgetmenot label {
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
}

/* ── Footer Branding ─────────────────────────────────────── */
.login #login::after {
    content: 'Secured by Mixture Web';
    display: block;
    text-align: center;
    margin-top: 18px;
    font-size: 11px;
    color: #475569;
    letter-spacing: 0.5px;
}

/* ── Error Message ───────────────────────────────────────── */
.login #login_error {
    background: #fef2f2;
    border-left: 4px solid #d63638;
    border-radius: 6px;
    color: #7f1d1d;
    padding: 10px 14px;
    font-size: 13px;
}

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

.login .privacy-policy-page-link a {
    color: #6b7280;
    font-size: 11px;
}
