/* Stockland Core – light, minimal custom login
 * Goal: simple light UI + no obvious WordPress branding
 */

body.login {
	background:
		radial-gradient(circle at top left, rgba(54, 87, 178, 0.08), transparent 55%),
		linear-gradient(to bottom right, #f9fafb, #e5e7eb);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.login #login {
	padding: 3rem 1.75rem;
	max-width: 380px;
	width: 100%;
}

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

body.login .message,
body.login #login_error {
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	background: #ffffff;
	color: #111827;
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
	font-size: 13px;
}

body.login #login_error {
	border-inline-start: 3px solid #f97373;
}

body.login form {
	background: #ffffff;
	border-radius: 16px;
	box-shadow:
		0 18px 40px rgba(15, 23, 42, 0.08),
		0 0 0 1px rgba(229, 231, 235, 0.9);
	border: none;
	padding: 24px 24px 22px;
}

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

body.login input[type="text"],
body.login input[type="email"],
body.login input[type="password"] {
	background-color: #ffffff;
	border-radius: 10px;
	border: 1px solid #d1d5db;
	color: #111827;
	box-shadow: none;
	padding: 10px 12px;
	font-size: 13px;
}

body.login input[type="text"]:focus,
body.login input[type="email"]:focus,
body.login input[type="password"]:focus {
	border-color: #3657B2;
	box-shadow: 0 0 0 1px rgba(54, 87, 178, 0.7);
	outline: none;
}

body.login .forgetmenot label {
	color: #4b5563;
	font-size: 12px;
}

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

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

body.login .submit .button-primary {
	width: 100%;
	border-radius: 999px;
	border: none;
	background-color: #3657B2;
	box-shadow: 0 10px 20px rgba(54, 87, 178, 0.35);
	text-shadow: none;
	font-weight: 600;
	padding-block: 10px;
	font-size: 14px;
	transition:
		transform 0.12s ease-out,
		box-shadow 0.12s ease-out,
		filter 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: #16317B;
	box-shadow: 0 14px 26px rgba(22, 49, 123, 0.45);
	filter: brightness(1.02);
}

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

/* 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: 400;
	text-decoration: none;
	border: none;
	color: #4b5563;
	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: underline;
}

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

/* 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;
}

