/* Форма входа — та же дизайн-система, что и приложение (порт seovictory) */

@font-face {
	font-family: 'Gilroy';
	src: url('fonts/Gilroy-Regular.woff2') format('woff2'),
	     url('fonts/Gilroy-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Gilroy';
	src: url('fonts/Gilroy-Semibold.woff2') format('woff2'),
	     url('fonts/Gilroy-Semibold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'MagistralC';
	src: url('fonts/Magistral-Book.woff2') format('woff2'),
	     url('fonts/Magistral-Book.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

body.login {
	background: #0d1117;
	font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
body.login #login { padding-top: 10vh; width: 368px; }

body.login h1 a {
	background-image: none;
	width: auto;
	height: auto;
	text-indent: 0;
	font-family: 'MagistralC', 'Gilroy', sans-serif;
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #e6edf3;
	line-height: 1.4;
}

body.login form {
	background: #161b22;
	border: 1px solid #30363d;
	border-radius: 10px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, .4);
	color: #e6edf3;
	padding: 26px 24px 30px;
}
body.login label { color: #8b949e; font-size: 13px; font-weight: 500; }

body.login input[type=text],
body.login input[type=password] {
	background: #0d1117;
	border: 1px solid #30363d;
	border-radius: 6px;
	color: #e6edf3;
	padding: 8px 12px;
	font-size: 14px;
	transition: border-color .15s, box-shadow .15s;
}
body.login input[type=text]:focus,
body.login input[type=password]:focus {
	border-color: #58a6ff;
	box-shadow: 0 0 0 3px rgba(88, 166, 255, .15);
	outline: none;
}

body.login .button-primary {
	background: #58a6ff;
	border-color: #58a6ff;
	color: #0d1117;
	font-weight: 600;
	text-shadow: none;
	box-shadow: none;
	border-radius: 6px;
	transition: background .15s;
}
body.login .button-primary:hover,
body.login .button-primary:focus {
	background: #79b8ff;
	border-color: #79b8ff;
	color: #0d1117;
}

body.login .wp-pwd .button { background: none; border-color: transparent; color: #8b949e; box-shadow: none; }
body.login .wp-pwd .button:hover { color: #e6edf3; }
body.login #nav, body.login #backtoblog { display: none; }
body.login .language-switcher { display: none; }
body.login #login_error, body.login .message, body.login .notice {
	background: #161b22;
	border-left-color: #f85149;
	color: #e6edf3;
	box-shadow: none;
	border-radius: 6px;
}
body.login .message { border-left-color: #58a6ff; }
body.login input[type=checkbox] {
	background: #0d1117;
	border: 1px solid #30363d;
}
body.login input[type=checkbox]:checked::before {
	filter: hue-rotate(160deg);
}
body.login .forgetmenot label { color: #6e7681; }
