/* ── FCJMP Login Page ────────────────────────────────────────── */

html {
  background: #f5f7f6;
}

body.login {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f7f6;
  min-height: 100vh;
  height: 100vh;
  padding: 0 !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.login #login {
  width: 340px;
  margin: 0;
  padding: 0;
}

body.login .privacy-policy-page-link,
body.login #backtoblog,
body.login #nav {
  text-align: center;
}

/* WP footer privacy link */
.login .privacy-policy-page-link {
  text-align: center;
  padding: 8px 0 0;
}

/* ── Logo ─────────────────────────────────────────────────────── */
#login h1 a,
.login h1 a {
  background-image: url('../img/logo/fcjmp.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 140px;
  height: 70px;
  display: block;
  margin: 0 auto 8px;
  box-shadow: none;
}

/* ── Container ────────────────────────────────────────────────── */
#login {
  padding: 0;
}

#loginform,
#lostpasswordform,
#registerform {
  background: #ffffff;
  border: 1px solid #e4eeec;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 28px 28px 22px;
  margin-top: 0;
}

/* ── Labels ───────────────────────────────────────────────────── */
.login label {
  font-size: 11px;
  font-weight: 600;
  color: #6b8a87;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Inputs ───────────────────────────────────────────────────── */
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
  font-size: 14px;
  background: #fff;
  border: 1px solid #d1e0de;
  border-radius: 6px;
  color: #1a3332;
  padding: 9px 11px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: none;
  height: auto;
  line-height: 1.5;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
  border-color: #18988b;
  box-shadow: 0 0 0 2px rgba(24, 152, 139, 0.12);
  outline: none;
}

/* ── Submit button ────────────────────────────────────────────── */
.login input[type="submit"],
.login .button-primary {
  font-size: 13px;
  font-weight: 600;
  background: #147f76;
  border: none;
  border-radius: 6px;
  color: #fff;
  padding: 10px 20px;
  width: 100%;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: none;
  text-shadow: none;
  height: auto;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.login input[type="submit"]:hover,
.login .button-primary:hover {
  background: #18988b;
}

/* ── Remember me ──────────────────────────────────────────────── */
.login .forgetmenot label {
  font-size: 12px;
  color: #6b8a87;
  text-transform: none;
  letter-spacing: 0;
}

.login input[type="checkbox"] {
  accent-color: #147f76;
}

/* ── Submit row ───────────────────────────────────────────────── */
.login .submit {
  margin-top: 14px;
  padding: 0;
}

/* ── Links ────────────────────────────────────────────────────── */
#nav,
#backtoblog {
  text-align: center;
  padding: 10px 0 0;
}

#nav a,
#backtoblog a {
  font-size: 12px;
  color: #6b8a87;
  text-decoration: none;
}

#nav a:hover,
#backtoblog a:hover {
  color: #147f76;
  text-decoration: underline;
}

/* ── Messages ─────────────────────────────────────────────────── */
.login #login_error,
.login .message,
.login .success {
  font-size: 13px;
  border-radius: 6px;
  border-left: 3px solid #147f76;
  background: #f0f9f8;
  color: #0f6f66;
  padding: 10px 14px;
  margin-bottom: 14px;
  box-shadow: none;
}

.login #login_error {
  border-left-color: #dc2626;
  background: #fff5f5;
  color: #991b1b;
}

/* ── Password toggle ──────────────────────────────────────────── */
.login .wp-hide-pw {
  color: #6b8a87;
}

.login .wp-hide-pw:hover {
  color: #147f76;
}

/* ── Language switcher ────────────────────────────────────────── */
.login #language-switcher {
  display: none;
}

