/* ============================================================
   PEPTIDE AGGREGATOR — wp-login.php skin
   Re-styles the default WordPress login to match the
   AminoPrices / NodeBB community look (clean centered card).
   Auth flow is untouched, so the NodeBB SSO cookie still fires.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body.login {
    background: #f8fafc;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a2332;
}

body.login #login {
    width: 360px;
    max-width: calc(100vw - 32px);
    padding: 6% 0 5%;
}

/* Logo (image is set inline from the site icon by PHP). */
body.login h1 a {
    width: 100%;
    height: 64px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 8px;
}

/* The login card */
body.login form {
    background: #ffffff;
    border: 1px solid #e4e9f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
    padding: 28px 28px 24px;
    margin-top: 16px;
}

body.login form label {
    font-size: 14px;
    font-weight: 500;
    color: #3d4f63;
}

/* Inputs */
body.login form .input,
body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
    background: #ffffff;
    border: 1px solid #e4e9f0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 15px;
    color: #1a2332;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}

body.login form .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus,
body.login input[type="email"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
}

/* Primary button */
body.login .button-primary,
body.login #wp-submit {
    width: 100%;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    height: auto;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: none;
    box-shadow: none;
    transition: background .15s;
}

body.login .button-primary:hover,
body.login #wp-submit:hover,
body.login .button-primary:focus,
body.login #wp-submit:focus {
    background: #1d4ed8;
}

/* "Remember me" row spacing */
body.login form .forgetmenot {
    margin-bottom: 14px;
}

/* Links below the form */
body.login #nav,
body.login #backtoblog {
    text-align: center;
    padding: 12px 0 0;
}

body.login #nav a,
body.login #backtoblog a {
    color: #6b7a90;
    font-size: 13px;
    transition: color .15s;
}

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

/* Error / message notices */
body.login .notice,
body.login #login_error,
body.login .message {
    border-radius: 8px;
    border-left-width: 4px;
    box-shadow: none;
}

/* Language switcher */
body.login .language-switcher {
    text-align: center;
}
