/* ── ACL Community — Branded Login ──────────────────────── */
body.login {
  background: var(--acl-page-bg, #fbf6ed);
  font-family: Inter, system-ui, sans-serif;
}

/* Logo */
.login h1 a {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 80px;
  margin-bottom: 16px;
}

/* Form card */
.login form {
  background: #fffdf8;
  border: 1px solid #d8cdbb;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(31, 42, 36, 0.06);
  padding: 28px 24px;
}

#loginform label,
#registerform label,
#lostpasswordform label {
  color: #1f2a24;
  font-size: 14px;
  font-weight: 600;
}

.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
  border: 1px solid #d8cdbb;
  border-radius: 8px;
  font-size: 15px;
  padding: 10px 12px;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
  border-color: #2f5d46;
  box-shadow: 0 0 0 2px rgba(47, 93, 70, 0.15);
  outline: none;
}

/* Submit button */
.wp-core-ui .button-primary {
  background: #2f5d46 !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  text-shadow: none !important;
  transition: background 0.15s !important;
}

.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary:focus {
  background: #1f2a24 !important;
}

/* Links */
.login #nav a,
.login #backtoblog a {
  color: #2f5d46;
  font-size: 13px;
}

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

/* Error / message boxes */
.login .message,
.login .success {
  border-left-color: #2f5d46;
  border-radius: 8px;
}

.login #login_error {
  border-left-color: #c96f4a;
  border-radius: 8px;
}

/* Hide the "Go to site" language switcher clutter */
.language-switcher { display: none; }
