/** rapiddweller WordPress login screen. */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter/InterVariable.woff2") format("woff2");
}

:root {
	--rd-login-bg: #050607;
	--rd-login-surface: #000;
	--rd-login-text: #f7fbfc;
	--rd-login-muted: #a9b4bb;
	--rd-login-line: rgba(255, 255, 255, .16);
	--rd-login-teal: #5e949f;
	--rd-login-accent: #37d9ff;
}

body.login {
	display: grid;
	min-height: 100vh;
	place-items: center;
	box-sizing: border-box;
	padding: 32px 20px;
	background: #000;
	color: var(--rd-login-text);
	font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.login #login {
	position: relative;
	z-index: 1;
	width: min(100%, 400px);
	box-sizing: border-box;
	padding: 0;
}

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

body.login h1 a {
	width: 240px;
	height: 66px;
	margin: 0 auto;
	background-image: url("../images/rapiddweller-logo-white.png");
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	color: transparent;
}

body.login form {
	box-sizing: border-box;
	margin: 0;
	padding: 32px;
	border: 1px solid #525866;
	border-radius: 12px;
	background: transparent;
	box-shadow: none;
	color: var(--rd-login-text);
}

body.login label {
	color: var(--rd-login-text);
	font-size: 14px;
	font-weight: 500;
}

body.login .input,
body.login input[type="text"],
body.login input[type="password"] {
	box-sizing: border-box;
	min-height: 46px;
	margin: 8px 0 20px;
	padding: 10px 46px 10px 14px;
	border: 1px solid #525866;
	border-radius: 12px;
	background: #000;
	box-shadow: none;
	color: #fff;
	font-size: 16px;
}

body.login input[type="text"] {
	padding-right: 14px;
}

body.login .input:hover,
body.login input[type="text"]:hover,
body.login input[type="password"]:hover {
	border-color: #717784;
}

body.login .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus {
	border-color: #fff;
	box-shadow: 0 0 0 3px rgba(94, 148, 159, .2);
	outline: 2px solid transparent;
}

body.login .wp-pwd {
	position: relative;
	display: block;
}

body.login .wp-pwd .password-input {
	margin-bottom: 20px;
}

body.login .button.wp-hide-pw {
	top: 8px;
	right: 0;
	display: grid;
	width: 46px;
	height: 46px;
	min-width: 46px;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--rd-login-muted);
	box-shadow: none;
}

body.login .button.wp-hide-pw:hover,
body.login .button.wp-hide-pw:focus {
	color: var(--rd-login-accent);
}

body.login input[type="checkbox"] {
	border-color: #525866;
	border-radius: 4px;
	background: rgba(255, 255, 255, .05);
}

body.login input[type="checkbox"]:checked {
	border-color: #fff;
	background-color: rgba(255, 255, 255, .05);
}

body.login .forgetmenot {
	display: flex;
	align-items: center;
	min-height: 40px;
}

body.login .forgetmenot label {
	color: var(--rd-login-muted);
	font-weight: 400;
}

body.login .submit .button-primary {
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	padding: 10px 20px;
	border: 1px solid #717784;
	border-radius: 12px;
	background: rgba(255, 255, 255, .05);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -.32px;
	text-shadow: none;
}

body.login .submit {
	clear: both;
	margin: 20px 0 0;
}

body.login .submit .button-primary:hover,
body.login .submit .button-primary:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, .1);
	box-shadow: none;
}

body.login #nav,
body.login #backtoblog,
body.login .privacy-policy-page-link {
	color: var(--rd-login-muted);
	text-align: center;
}

body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-page-link a {
	color: var(--rd-login-muted);
}

body.login #nav a:hover,
body.login #nav a:focus,
body.login #backtoblog a:hover,
body.login #backtoblog a:focus,
body.login .privacy-policy-page-link a:hover,
body.login .privacy-policy-page-link a:focus {
	color: var(--rd-login-accent);
}

body.login .message,
body.login .notice,
body.login #login_error {
	box-sizing: border-box;
	border-top: 1px solid var(--rd-login-line);
	border-right: 1px solid var(--rd-login-line);
	border-bottom: 1px solid var(--rd-login-line);
	border-radius: 0 10px 10px 0;
	background: rgba(255, 255, 255, .05);
	color: var(--rd-login-text);
	box-shadow: none;
}

body.login .language-switcher form {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

body.login .language-switcher label .dashicons {
	color: var(--rd-login-muted);
}

body.login .language-switcher select {
	border-color: #525866;
	border-radius: 8px;
	background: var(--rd-login-surface);
	color: var(--rd-login-text);
}

body.login :focus-visible {
	outline: 3px solid var(--rd-login-accent);
	outline-offset: 3px;
}

@media (max-width: 480px) {
	body.login {
		padding: 24px 16px;
	}

	body.login h1 a {
		width: 210px;
		height: 58px;
	}

	body.login form {
		padding: 24px 20px;
	}

}

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