@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Poppins:wght@400&display=swap");

/* ==========================================================
   NLCB Results - WordPress login page (stock WordPress markup)
   Written against the live wp-login.php HTML, so it works with
   LoginPress uninstalled. Enqueue it with "login" as a dependency
   (see the PHP snippet in the chat) so it loads after core's login.css.
   ========================================================== */

:root {
  --nlcb-blue: hsl(200,100%,40%);        /* buttons, icons, focus */
  --nlcb-blue-dark: hsl(200,100%,30%);   /* hover */
  --nlcb-text: #3c434a;
  --nlcb-muted: #50575e;
  --nlcb-input-height: 48px;
  --nlcb-border-radius: 6px;
}

/* ---------- Page ---------- */
body.login {
  font-family: "Poppins", "Open Sans", Roboto, sans-serif;
  color: var(--nlcb-text);
}

#login {
  width: 100%;
  max-width: 350px;
}

/* ---------- Title (the site name link, not a logo image) ---------- */
.login h1.wp-login-logo a,
.login h1 a {
	background: none !important;
	width: auto;
	height: auto;
	margin: 0 auto 10px;
	text-indent: 0;
	font-family: "Poppins", "Open Sans", sans-serif;
	font-size: 45px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--nlcb-blue);
}

.login h1 a:hover,
.login h1 a:focus {
  color: var(--nlcb-blue-dark);
  box-shadow: none;
  outline: none;
}

/* ---------- Form (flattened: no card, border or shadow) ---------- */
.login form {
    padding: 25px;
    background: transparent;
	border: none;
	box-shadow: none;
	border-bottom: 1px solid #ccc;
	margin:0;
}

/* ---------- Labels ---------- */
.login form label {
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--nlcb-muted);
}

/* ---------- Text inputs ---------- */
.login form .input,
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
  height: var(--nlcb-input-height);
  padding: 0 14px;  
  font-size: 16px;
  color: var(--nlcb-text);
  border-radius: var(--nlcb-border-radius);
}

.login form .input:focus,
.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
  border-color: var(--nlcb-blue);
  box-shadow: 0 0 0 1px var(--nlcb-blue);
  outline: none;
}

/* ---------- Password field + eye toggle ---------- */
.login .wp-pwd {
  position: relative;
}

.login input.password-input {
  padding-right: var(--nlcb-input-height);
  font-family: inherit;
}

.login .button.wp-hide-pw {
  height: var(--nlcb-input-height);
  color: var(--nlcb-blue);
}

.login .button.wp-hide-pw:hover,
.login .button.wp-hide-pw:focus {
  background: transparent;
  color: var(--nlcb-blue-dark);
  box-shadow: 0 0 0 var(--wp-admin-border-width-focus,1.5px) var(--nlcb-blue);
}

/* ---------- Remember Me row ---------- */
.login form .forgetmenot {
  gap: 8px;
}

.login form input[type="checkbox"] {
  border: 1px solid var(--nlcb-blue);
  border-radius: 3px;
}

.login form input[type="checkbox"]:focus {
  box-shadow: 0 0 0 1px var(--nlcb-blue);
}

/* Checked: solid blue box with a white check mark */
.login form input[type="checkbox"]:checked {
  background-color: var(--nlcb-blue);
}

.login .forgetmenot .wp-tooltip__toggle .dashicons {
  color: var(--nlcb-blue);
}

.login .forgetmenot .wp-tooltip__toggle:hover .dashicons,
.login .forgetmenot .wp-tooltip__toggle:focus .dashicons {
  color: var(--nlcb-blue);
}
.wp-tooltip__toggle:focus {
    outline: 2px solid transparent;
    box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--nlcb-blue);
}

/* ---------- LOG IN button ---------- */

body.login #wp-submit,
body.login .button-primary {
	float: none;
	width: 100%;
	height: var(--nlcb-input-height);
	font-size: 16px;
	text-transform: uppercase;
	background: var(--nlcb-blue);
	border: 1px solid var(--nlcb-blue-dark);
	border-radius: var(--nlcb-border-radius);
	cursor: pointer;
	transition: background-color 0.15s ease;
	line-height: normal;
	margin-top:10px;
}

body.login #wp-submit:hover,
body.login #wp-submit:focus,
body.login .button-primary:hover,
body.login .button-primary:focus {
  background: var(--nlcb-blue-dark);
  box-shadow: 0 0 0 var(--wp-admin-border-width-focus,1.5px) var(--nlcb-blue);
}

/* ---------- Register | Reset Password ---------- */
.login #nav {
	margin: 0;
	padding: 20px 0px;
	border-top: 2px solid white;
	text-align: center;
	font-size: 16px;
}

.login #nav a,
.login #backtoblog a {
  color: var(--nlcb-blue);
}

.login #nav a:hover,
.login #nav a:focus,
.login #backtoblog a:hover,
.login #backtoblog a:focus {
  color: var(--nlcb-blue-dark);
}

/* ---------- ← Go to site ---------- */
.login #backtoblog {
  margin: 0 0 16px;
  padding: 0;
  text-align: center;
  font-size: 14px;
}

/* ---------- Privacy Policy ---------- */
.login .privacy-policy-page-link {
  margin: 20px 0 0;
}

.login .privacy-policy-page-link a {
  font-size: 15px;
  color: var(--nlcb-blue);
  text-decoration: none;
}

.login .privacy-policy-page-link a:hover,
.login .privacy-policy-page-link a:focus {
  color: var(--nlcb-blue-dark);
}

/* ---------- Error / info messages ---------- */

.login .notice-error, .login #login_error {
	border-radius: 0;
	background-color: #ffcccc;
}

.login .message,
.login .success {
	margin: 0;
	border-left-color: var(--nlcb-blue);
}

/* ---------- Language switcher (cleaner look) ---------- */
.login .language-switcher {
  display: none;
}

/* ---------- reCAPTCHA ----------
   Your reCAPTCHA plugin prints a plain notice <div> after the form.
   Google only allows hiding the floating badge if this notice stays
   visible, so the badge is hidden and the notice is kept but toned down. */
.grecaptcha-badge {
  visibility: hidden;
}

#login-recaptcha-notice{
	text-align: center;
	margin: 40px auto;
	max-width: 350px;
}

.login a {
  color: var(--nlcb-blue);
  text-decoration: none;
}

.login a:focus {
  box-shadow: 0 0 0 var(--wp-admin-border-width-focus,1.5px) var(--nlcb-blue);
}

.login a:hover {
  color: var(--nlcb-blue-dark);
  text-decoration: underline;
}