/* 登录 / 注册 / 找回密码：构成主义覆盖 */

body.login {
	background: #141414;
	color: #f4f1ea;
	font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
	margin: 0;
	padding: 0;
	display: grid;
	place-items: center;
	min-height: 100vh;
}

/* 顶部红色斜切条 */
body.login::before {
	content: "";
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 8px;
	background: #c1121f;
	z-index: 10;
}

#login {
	width: 100%;
	max-width: 420px;
	padding: 40px 24px;
}

.login h1 { margin: 0 0 26px; text-align: left; }

.login h1 a {
	display: block;
	width: 100%;
	height: 54px;
	margin: 0;
	background: url("../img/logo-white.png") left center no-repeat;
	background-size: contain;
	text-indent: -9999px;
	overflow: hidden;
}

.login form {
	background: #f4f1ea;
	color: #141414;
	border: 3px solid #141414;
	box-shadow: 10px 10px 0 #c1121f;
	padding: 26px 24px 22px;
	margin: 0;
}

.login label {
	font-family: "Noto Sans SC", "PingFang SC", sans-serif;
	font-size: 12px;
	letter-spacing: .12em;
	color: #6b6659;
	display: block;
	margin-bottom: 6px;
}

.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
	width: 100%;
	background: #fff;
	border: 2px solid #141414;
	border-radius: 0;
	box-shadow: none;
	font-family: "Noto Serif SC", Georgia, serif;
	font-size: 16px;
	padding: 10px 12px;
	margin-bottom: 16px;
	color: #141414;
}

.login input:focus {
	border-color: #c1121f;
	box-shadow: 0 0 0 2px rgba(193, 18, 31, .18);
	outline: none;
}

.login .button-primary,
.login input[type="submit"] {
	width: 100%;
	background: #c1121f;
	border: 2px solid #c1121f;
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	font-family: "Noto Sans SC", "PingFang SC", sans-serif;
	font-size: 13px;
	letter-spacing: .16em;
	text-transform: uppercase;
	padding: 11px 16px;
	height: auto;
	line-height: 1.4;
	transition: transform .12s ease, box-shadow .12s ease;
}

.login .button-primary:hover,
.login input[type="submit"]:hover {
	background: #8f0d17;
	border-color: #8f0d17;
	transform: translate(-1px, -1px);
	box-shadow: 3px 3px 0 #141414;
}

.login #nav,
.login #backtoblog {
	font-family: "Noto Sans SC", "PingFang SC", sans-serif;
	font-size: 12px;
	letter-spacing: .06em;
	text-align: left;
	margin: 18px 0 0;
	padding: 0;
}

.login #nav a,
.login #backtoblog a {
	color: #b9b3a4;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.login #nav a:hover,
.login #backtoblog a:hover {
	color: #fff;
	border-bottom-color: #c1121f;
}

.login .message,
.login .success,
.login .notice,
.login .error {
	background: #f4f1ea;
	color: #141414;
	border: 2px solid #141414;
	border-left: 6px solid #c1121f;
	box-shadow: none;
	border-radius: 0;
	font-size: 14px;
	line-height: 1.7;
	padding: 12px 14px;
	margin: 0 0 18px;
}

.login .error { border-left-color: #c1121f; }

/* 注册/验证提示条 */
.pab-login-msg {
	background: #f4f1ea;
	color: #141414;
	border: 2px solid #141414;
	border-left: 8px solid #c1121f;
	padding: 12px 14px;
	margin: 0 0 18px;
	font-family: "Noto Sans SC", "PingFang SC", sans-serif;
	font-size: 13px;
	line-height: 1.75;
	letter-spacing: .02em;
	box-shadow: 4px 4px 0 rgba(193, 18, 31, .22);
}
.pab-login-msg--verified,
.pab-login-msg--check_email { border-left-color: #1a7f37; }

.login .privacy-policy-page-link,
.login .admin-email__details { font-size: 12px; }

.login .wp-pwd .button {
	background: #141414;
	color: #f4f1ea;
	border-radius: 0;
	border: none;
}

.login #language-switcher { display: none; }

@media (max-width: 480px) {
	#login { padding: 24px 16px; }
	.login form { box-shadow: 6px 6px 0 #c1121f; padding: 20px 16px; }
}
