body.login {
	background: #F3F4F2;
	color: #1C211E;
	font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 20px;
}

body.login #login {
	width: min(360px, calc(100% - 32px));
	padding: 10vh 0 48px;
}

body.login h1 {
	margin: 0 0 28px;
}

body.login h1 a {
	background: none;
	text-indent: 0;
	overflow: visible;
	width: auto;
	height: auto;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 22px;
	line-height: 28px;
	font-weight: 600;
	letter-spacing: -0.03em;
	color: #1C211E;
	text-decoration: none;
}

body.login:not(.f0rest-logo) h1 a::before {
	content: "f";
	width: 28px;
	height: 28px;
	border-radius: 7px;
	background: #1E3F32;
	color: #F3F4F2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.04em;
}

body.login.f0rest-logo h1 a {
	width: 148px;
	height: 180px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	text-indent: -9999px;
	overflow: hidden;
}

body.login.f0rest-logo h1 a::before {
	content: none;
}

body.login form {
	margin-top: 0;
	padding: 22px 22px 16px;
	border: 1px solid #E2E5E1;
	border-radius: 10px;
	background: #FBFBF9;
	box-shadow: none;
}

body.login label {
	color: #5C6560;
	font-size: 12px;
	line-height: 16px;
}

body.login form .input,
body.login input[type="text"],
body.login input[type="password"] {
	margin-top: 6px;
	padding: 8px 10px;
	border: 1px solid #E2E5E1;
	border-radius: 6px;
	background: #FBFBF9;
	color: #1C211E;
	font-size: 14px;
	box-shadow: none;
}

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

body.login .button.button-primary {
	height: 32px;
	padding: 0 12px;
	border: 0;
	border-radius: 6px;
	background: #1E3F32;
	color: #FBFBF9;
	font-weight: 500;
	text-shadow: none;
	box-shadow: none;
}

body.login .button.button-primary:hover,
body.login .button.button-primary:focus {
	background: #163028;
	color: #FBFBF9;
}

body.login .button.wp-hide-pw {
	color: #5C6560;
}

body.login #nav,
body.login #backtoblog {
	padding: 0 4px;
	text-align: center;
}

body.login #backtoblog {
	display: none;
}

body.login #nav a,
body.login .privacy-policy-page-link a {
	color: #5C6560;
}

body.login #nav a:hover,
body.login #nav a:focus {
	color: #1E3F32;
}

body.login #login_error,
body.login .message,
body.login .success {
	border: 1px solid #E2E5E1;
	border-left-width: 3px;
	border-radius: 10px;
	background: #FBFBF9;
	box-shadow: none;
	color: #1C211E;
}

body.login #login_error {
	border-left-color: #8E2F2F;
}

body.login .message {
	border-left-color: #1E3F32;
}

body.login .language-switcher {
	color: #5C6560;
}

@media (prefers-reduced-motion: reduce) {
	body.login * {
		transition: none !important;
	}
}
