@charset "UTF-8";
/*!
 * xif — WordPress 自带登录页（wp-login.php）样式
 * 与主题登录页保持一致的灰底白卡与品牌色。
 */

body.login {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	background: #f2f2f2;
	color: #333;
	font-family: var(--xif-font, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif);
}

#login {
	width: 380px;
	max-width: calc(100% - 32px);
	padding: 48px 0 24px;
	margin: auto;
}

#login h1 a {
	width: auto;
	height: auto;
	margin: 0 0 16px;
	padding: 0;
	background: none;
	color: #d6001c;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.4;
	text-indent: 0;
	text-align: left;
}

#loginform,
#registerform,
#lostpasswordform {
	margin: 0;
	padding: 26px 28px;
	border: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

#loginform p,
#registerform p,
#lostpasswordform p {
	margin: 0 0 12px;
}

.login label {
	color: #333;
	font-size: 12.5px;
	font-weight: 600;
}

.login form .input,
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
	width: 100%;
	height: 38px;
	margin: 4px 0 0;
	padding: 0 10px;
	border: 1px solid #999;
	border-radius: 1px;
	background: #fff;
	color: #1c1c1c;
	font-size: 14px;
	line-height: 36px;
	box-shadow: none;
	box-sizing: border-box;
}

.login form .input:focus,
.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
	border-color: #2156a5;
	box-shadow: 0 0 0 2px rgba(33, 86, 165, .16);
	outline: none;
}

.login .button.wp-hide-pw {
	top: 50%;
	transform: translateY(-50%);
	color: #555;
}

.wp-core-ui .button-primary {
	height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 1px;
	background: #2156a5;
	box-shadow: none;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 40px;
	text-shadow: none;
}

.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary:focus {
	background: #1a4685;
	border-color: #1a4685;
	box-shadow: none;
}

.login #nav,
.login #backtoblog {
	padding: 0;
	margin: 14px 0 0;
	font-size: 12px;
	text-align: center;
}

.login #nav a,
.login #backtoblog a,
.login .privacy-policy-page-link a {
	color: #2156a5;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.login #nav a:hover,
.login #backtoblog a:hover {
	color: #17407d;
}

.login .message,
.login .success,
.login .notice {
	margin: 0 0 14px;
	padding: 10px 12px;
	border-left: 3px solid #2156a5;
	background: #fff;
	box-shadow: none;
	font-size: 12.5px;
	line-height: 1.7;
}

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

.login .privacy-policy-page-link {
	margin: 12px 0 0;
}

.login .language-switcher {
	margin-top: 14px;
}

@media (max-width: 480px) {
	#login {
		padding-top: 28px;
	}

	#loginform,
	#registerform,
	#lostpasswordform {
		padding: 22px 20px;
	}
}
