/*
 * The login page in the 2026 style (navy band, white logo, plain form, orange
 * button). WordPress's own login.css loads first; these rules sit on top of it.
 */

body.login {
	background: #252C39;
	font-family: 'Manrope', Arial, Helvetica, sans-serif;
	color: #3d3c38;
}

body.login #login {
	width: 100%;
	max-width: 380px;
	padding: 7vh 20px 40px;
	box-sizing: border-box;
}

/* Logo: the white ShareSoc logo with strapline (the image is set inline). */
body.login #login h1 a {
	background-size: contain !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	width: 260px !important;
	height: 74px !important;
	margin: 0 auto 32px !important;
}

/* The form: a plain white panel, square corners. */
body.login form {
	background: #ffffff;
	border: 0;
	border-radius: 0;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
	padding: 32px 28px 28px;
	margin-top: 0;
}

body.login label {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
	line-height: 1.4;
}

body.login form .input,
body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
	font-family: 'Manrope', Arial, Helvetica, sans-serif;
	font-size: 16px;
	padding: 10px 12px;
	min-height: 46px;
	margin: 6px 0 18px;
	border: 1.5px solid #c9c7bf;
	border-radius: 0;
	box-shadow: none;
	background: #fff;
	color: #1a1a1a;
}

body.login form .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus {
	border-color: #355075;
	box-shadow: 0 0 0 1px #355075;
	outline: none;
}

/* Caps-lock warning (WordPress shows it only while Caps Lock is on). */
body.login .wp-pwd .caps-warning { top: 0; margin: -10px 0 16px; border-radius: 0; font-size: 13px; }
body.login .wp-pwd .caps-icon,
body.login .wp-pwd .caps-icon svg { width: 18px; height: 18px; }

/* The show-password eye sits inside the field. */
body.login .wp-pwd { margin-bottom: 0; }
body.login .wp-pwd .input { margin-bottom: 18px; }
body.login .button.wp-hide-pw { color: #355075; height: 46px; min-height: 46px; top: 6px; }
body.login .button.wp-hide-pw:focus { border-color: #355075; box-shadow: 0 0 0 1px #355075; }

body.login .forgetmenot { margin: 2px 0 20px; float: none; }
body.login .forgetmenot label { font-weight: 500; }
body.login input[type="checkbox"] { border: 1.5px solid #c9c7bf; border-radius: 0; box-shadow: none; }
body.login input[type="checkbox"]:checked::before { content: none; }
body.login input[type="checkbox"]:checked { background: #355075; border-color: #355075; }

/* The button: the site's primary button, full width. */
body.login .submit { float: none; padding: 0; }
body.login #wp-submit,
body.login .button-primary {
	float: none;
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-shadow: none;
	background: #EB6144;
	color: #fff;
	font-family: 'Montserrat', Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s;
}
body.login #wp-submit:hover,
body.login #wp-submit:focus,
body.login .button-primary:hover,
body.login .button-primary:focus {
	background: #d4543a;
	color: #fff;
	box-shadow: none;
}
body.login #wp-submit:focus-visible,
body.login .button-primary:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

/* Messages and errors above the form. */
body.login .message,
body.login .notice,
body.login #login_error {
	border-radius: 0;
	box-shadow: none;
	border-left: 4px solid #8DB9D4;
	background: #ffffff;
	color: #1a1a1a;
	font-size: 14px;
	padding: 14px 16px;
	margin-bottom: 18px;
}
body.login #login_error,
body.login .notice-error { border-left-color: #EB6144; }

/* Links under the form. */
body.login #nav,
body.login #backtoblog {
	padding: 0;
	margin: 18px 0 0;
	text-align: center;
	font-size: 14px;
}
body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-page-link a {
	color: #b9bdc6;
	text-decoration: none;
}
body.login #nav a:hover,
body.login #backtoblog a:hover,
body.login .privacy-policy-page-link a:hover {
	color: #ffffff;
	text-decoration: underline;
}
body.login .privacy-policy-page-link { margin: 28px 0 0; font-size: 13px; }

/* Leftovers from the old styling plugin and the theme, if any remain. */
body.login .acl-social-icons,
body.login .login-social-icons { display: none !important; }
