/* Stockland Core login - quiet, minimal, precise. */

body.login {
	display: grid;
	min-height: 100vh;
	place-items: center;
	background: #f4f7fb;
	color: #111827;
	font-family: Tahoma, Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.login #login {
	box-sizing: border-box;
	width: 100%;
	max-width: 408px;
	padding: 28px 18px;
}

body.login #login h1 a {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 96px;
	height: 96px;
	margin: 0 auto 18px;
	filter: none;
}

body.login .message,
body.login #login_error {
	margin: 0 0 12px;
	padding: 12px 14px;
	border: 1px solid #dbe3ef;
	border-right: 4px solid #2563eb;
	border-radius: 8px;
	background: #ffffff;
	color: #111827;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
	font-size: 13px;
	line-height: 1.7;
}

body.login #login_error {
	border-right-color: #dc2626;
}

body.login form {
	box-sizing: border-box;
	background: #ffffff;
	border: 1px solid #dbe3ef;
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
	padding: 24px;
}

body.login label {
	color: #111827;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 6px;
	display: inline-block;
}

body.login input[type="text"],
body.login input[type="email"],
body.login input[type="password"] {
	box-sizing: border-box;
	min-height: 44px;
	background-color: #f8fafc;
	border-radius: 8px;
	border: 1px solid #dbe3ef;
	color: #111827;
	box-shadow: none;
	padding: 10px 12px;
	font-size: 14px;
	transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

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

body.login .user-pass-wrap {
	margin-top: 14px;
}

body.login .wp-pwd {
	display: grid;
	gap: 8px;
}

body.login .button.wp-hide-pw {
	top: 3px;
	left: 4px;
	min-width: 36px;
	min-height: 36px;
	border: 0;
	border-radius: 6px;
	color: #64748b;
	box-shadow: none;
}

body.login .button.wp-hide-pw:hover,
body.login .button.wp-hide-pw:focus {
	background: #eef2f7;
	color: #111827;
}

body.login .forgetmenot label {
	color: #475569;
	font-size: 12px;
	font-weight: 600;
}

body.login .forgetmenot {
	float: none;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
}

body.login .forgetmenot input[type="checkbox"] {
	float: none;
	margin: 0;
	border-radius: 4px;
	border-color: #cbd5e1;
	background: #ffffff;
}

body.login .forgetmenot input[type="checkbox"]:checked {
	background-color: #2563eb;
	border-color: #2563eb;
}

body.login p.submit {
	clear: both;
	float: none;
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

body.login .submit .button-primary {
	float: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	border-radius: 8px;
	border: 1px solid #2563eb;
	background-color: #2563eb;
	box-shadow: 0 10px 18px rgba(37, 99, 235, 0.18);
	text-shadow: none;
	font-weight: 800;
	padding-block: 9px;
	font-size: 14px;
	transition:
		transform 0.12s ease-out,
		box-shadow 0.12s ease-out,
		background-color 0.12s ease-out;
}

body.login .submit .button-primary:hover,
body.login .submit .button-primary:focus {
	transform: translateY(-1px);
	background-color: #1d4ed8;
	border-color: #1d4ed8;
	box-shadow: 0 14px 24px rgba(37, 99, 235, 0.22);
}

body.login .submit .button-primary:active {
	transform: translateY(0);
	box-shadow: 0 7px 14px rgba(15, 23, 42, 0.16);
}

/* Subtle, generic footer links (no WP look) */
body.login #nav,
body.login #backtoblog {
	text-align: center;
	margin: 14px 0 0;
	padding: 0;
}

body.login #nav a,
body.login #backtoblog a {
	display: inline;
	padding: 0;
	border-radius: 0;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	color: #64748b;
	background: transparent;
	margin-inline: 4px;
	transition:
		color 0.12s ease-out,
		border-color 0.12s ease-out;
}

body.login #nav a:hover,
body.login #nav a:focus,
body.login #backtoblog a:hover,
body.login #backtoblog a:focus {
	color: #111827;
	text-decoration: none;
}

body.login #backtoblog {
	margin-top: 6px;
}

/* Hide the default WordPress logo background/text if for any reason it appears */
body.login #login h1 a:before {
	content: "";
}

/* Remove extra clutter under the form (privacy policy, etc.) while keeping accessibility */
body.login .privacy-policy-page-link {
	display: none;
}

@media (max-width: 480px) {
	body.login {
		align-items: start;
	}

	body.login #login {
		padding-top: 24px;
	}

	body.login form {
		padding: 20px;
	}
}
