body.login,
.yhello-login-layer {
	--yhello-login-panel-width: 430px;
	--yhello-login-control-width: 292px;
	--yhello-login-primary-width: 252px;
	--yhello-login-secondary-width: 252px;
	background-color: #132033;
	background-image:
		linear-gradient(135deg, rgba(8, 26, 48, 0.5), rgba(12, 58, 88, 0.2)),
		var(--yhello-login-background, none);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #ffffff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body.login {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 18px;
	box-sizing: border-box;
}

body.login div#login,
.yhello-login-layer #login {
	position: relative;
	top: auto;
	left: auto;
	width: min(100%, var(--yhello-login-panel-width));
	padding: 34px 34px 36px;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.56);
	border-radius: 30px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
	box-shadow: 0 34px 90px rgba(1, 12, 28, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.7);
	text-align: center;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(22px);
	transform: none;
	box-sizing: border-box;
}

body.login div#login h1,
.yhello-login-layer #login h1 {
	margin: 0 0 30px;
}

body.login div#login h1 a,
.yhello-login-layer #login h1 a {
	display: block;
	width: min(var(--yhello-login-logo-width, 190px), 100%);
	height: 74px;
	margin: 0 auto;
	background-image: var(--yhello-login-logo, none);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	box-shadow: none;
	transform: none;
	text-indent: -9999px;
	overflow: hidden;
}

body.login form,
.yhello-login-layer #login form {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #ffffff;
	overflow: visible;
}

body.login form p,
.yhello-login-layer #login form p {
	margin: 0 auto 16px;
	width: min(100%, var(--yhello-login-control-width));
}

body.login .user-pass-wrap,
.yhello-login-layer #login .user-pass-wrap {
	width: min(100%, var(--yhello-login-control-width));
	margin: 0 auto 16px;
}

body.login label,
.yhello-login-layer #login label {
	display: block;
	margin: 0 0 9px;
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
}

body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"],
body.login form .input,
.yhello-login-layer #login input[type="text"],
.yhello-login-layer #login input[type="password"],
.yhello-login-layer #login input[type="email"] {
	width: 100%;
	height: 42px;
	min-height: 42px;
	padding: 0 18px;
	border: 1px solid rgba(19, 32, 51, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: inset 0 1px 3px rgba(19, 32, 51, 0.08), 0 12px 30px rgba(4, 17, 36, 0.08);
	color: #132033;
	font-size: 16px;
	font-family: inherit;
	line-height: 42px;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
	box-sizing: border-box;
}

body.login input[type="text"]:focus,
body.login input[type="password"]:focus,
body.login input[type="email"]:focus,
body.login form .input:focus,
.yhello-login-layer #login input[type="text"]:focus,
.yhello-login-layer #login input[type="password"]:focus,
.yhello-login-layer #login input[type="email"]:focus {
	border-color: rgba(19, 32, 51, 0.18);
	background: #ffffff;
	box-shadow: inset 0 0 0 2px rgba(0, 132, 198, 0.3), 0 12px 30px rgba(4, 17, 36, 0.1);
}

body.login .wp-pwd input[type="password"],
body.login .wp-pwd input[type="text"],
.yhello-login-layer #login .wp-pwd input[type="password"],
.yhello-login-layer #login .wp-pwd input[type="text"] {
	padding-right: 46px;
}

body.login .forgetmenot,
.yhello-login-layer #login .forgetmenot {
	float: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: min(100%, var(--yhello-login-control-width));
	min-height: 28px;
	margin: 0 auto;
	color: #26384d;
	line-height: 24px;
}

body.login form p.forgetmenot,
.yhello-login-layer #login form p.forgetmenot {
	margin-bottom: 0 !important;
}

body.login .forgetmenot label,
.yhello-login-layer #login .forgetmenot label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	min-height: 24px;
	line-height: 24px;
	cursor: pointer;
}

body.login input[type="checkbox"],
.yhello-login-layer #login input[type="checkbox"] {
	appearance: none;
	flex: 0 0 42px;
	position: relative;
	width: 42px;
	height: 24px;
	min-width: 42px;
	min-height: 24px;
	margin: 0;
	border: 1px solid rgba(19, 32, 51, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	box-shadow: inset 0 1px 3px rgba(19, 32, 51, 0.12);
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.login input[type="checkbox"]::before,
.yhello-login-layer #login input[type="checkbox"]::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	right: auto;
	width: 16px;
	height: 16px;
	margin: 0;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(19, 32, 51, 0.2);
	transition: left .2s ease, right .2s ease, background-color .2s ease;
}

body.login input[type="checkbox"]:checked,
.yhello-login-layer #login input[type="checkbox"]:checked {
	border-color: #132033;
	background: #132033;
}

body.login input[type="checkbox"]:checked::before,
.yhello-login-layer #login input[type="checkbox"]:checked::before {
	left: auto;
	right: 3px;
}

body.login p.submit,
.yhello-login-layer #login p.submit {
	clear: both;
	flex: 0 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	width: min(100%, var(--yhello-login-primary-width));
	margin: 14px auto 0;
	padding: 0;
}

body.login form p.submit {
	margin-top: 14px !important;
}

body.login .wp-pwd,
.yhello-login-layer #login .wp-pwd {
	position: relative;
	display: block;
	width: 100%;
	height: 42px;
	line-height: 0;
}

body.login .wp-pwd .wp-hide-pw,
.yhello-login-layer #login .wp-pwd .wp-hide-pw {
	position: absolute;
	top: 50%;
	right: 7px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	min-width: 28px;
	min-height: 28px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #2b6fae;
	box-shadow: none;
	line-height: 1;
	margin-top: -14px;
	transform: none !important;
}

body.login .wp-pwd .wp-hide-pw .dashicons,
.yhello-login-layer #login .wp-pwd .wp-hide-pw .dashicons {
	display: inline-flex;
	position: static !important;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	font-size: 20px;
	line-height: 20px;
	top: auto !important;
}

body.login .wp-pwd .wp-hide-pw .dashicons::before,
.yhello-login-layer #login .wp-pwd .wp-hide-pw .dashicons::before {
	display: block;
	width: 20px;
	height: 20px;
	line-height: 20px;
}

body.login .button-primary,
body.login.wp-core-ui .button-primary,
.yhello-login-layer #login .button-primary {
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 40px;
	min-height: 40px;
	padding: 0 24px;
	border: 1px solid #132033;
	border-radius: 999px;
	background: #132033;
	box-shadow: 0 18px 42px rgba(19, 32, 51, 0.2);
	color: #ffffff;
	font-size: 15px;
	font-weight: 800;
	font-family: inherit;
	line-height: 40px;
	text-shadow: none;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.login #wp-submit,
body.login.wp-core-ui #wp-submit,
.yhello-login-layer #login #wp-submit {
	float: none !important;
	display: inline-flex !important;
	width: 100% !important;
	margin: 0 !important;
}

body.login .button-primary:hover,
body.login .button-primary:focus,
.yhello-login-layer #login .button-primary:hover,
.yhello-login-layer #login .button-primary:focus {
	background: #ffffff;
	color: #132033;
	border: 1px solid #ccc;
	box-shadow: 0 24px 58px rgba(19, 32, 51, 0.24);
	transform: translateY(-1px);
}

body.login #nav,
body.login #backtoblog,
body.login .privacy-policy-page-link,
.yhello-login-layer #login #nav,
.yhello-login-layer #login #backtoblog,
.yhello-login-layer #login .privacy-policy-page-link {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	width: min(100%, var(--yhello-login-secondary-width));
	margin: 11px auto 0;
	padding: 0;
	color: transparent;
	font-size: 0;
}

body.login #backtoblog {
	margin-top: 18px;
}

body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-page-link a,
body.login form a,
.yhello-login-layer #login #nav a,
.yhello-login-layer #login #backtoblog a,
.yhello-login-layer #login .privacy-policy-page-link a,
.yhello-login-layer #login form a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 38px;
	padding: 0 18px;
	border: 1px solid rgba(19, 32, 51, 0.08);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.56);
	box-shadow: 0 10px 24px rgba(4, 17, 36, 0.06);
	color: rgba(19, 32, 51, 0.82) !important;
	font-size: 13px;
	font-weight: 750;
	font-family: inherit;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

body.login #nav a:hover,
body.login #nav a:focus-visible,
body.login #backtoblog a:hover,
body.login #backtoblog a:focus-visible,
body.login .privacy-policy-page-link a:hover,
body.login .privacy-policy-page-link a:focus-visible,
body.login form a:hover,
body.login form a:focus-visible,
.yhello-login-layer #login #nav a:hover,
.yhello-login-layer #login #nav a:focus-visible,
.yhello-login-layer #login #backtoblog a:hover,
.yhello-login-layer #login #backtoblog a:focus-visible,
.yhello-login-layer #login .privacy-policy-page-link a:hover,
.yhello-login-layer #login .privacy-policy-page-link a:focus-visible,
.yhello-login-layer #login form a:hover,
.yhello-login-layer #login form a:focus-visible {
	background: #132033;
	border-color: #132033;
	box-shadow: 0 20px 48px rgba(4, 17, 36, 0.24);
	color: #ffffff !important;
	transform: translateY(-1px);
}

body.login .message,
body.login #login_error,
.yhello-login-layer #login .message,
.yhello-login-layer #login #login_error {
	margin: 0 0 24px;
	padding: 18px 20px;
	border: 1px solid rgba(19, 32, 51, 0.1);
	border-left: 1px solid rgba(19, 32, 51, 0.1);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 20px 52px rgba(4, 17, 36, 0.12);
	color: #26384d;
	font-size: 14px;
	line-height: 1.55;
	text-align: left;
}

body.login #login_error {
	border-color: rgba(255, 130, 130, 0.58);
}

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

.yhello-login-layer {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 42px 20px;
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, -100%, 0);
	transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
	box-sizing: border-box;
}

.yhello-login-layer.is-active {
	opacity: 1;
	visibility: visible;
	transform: translate3d(0, 0, 0);
}

body.admin-bar .yhello-login-layer {
	top: 32px;
}

body.yhello-login-layer-open {
	overflow: hidden;
}

.yhello-login-layer__stage {
	width: min(100%, var(--yhello-login-panel-width));
}

.yhello-login-layer__content.loading {
	opacity: .62;
	pointer-events: none;
}

.yhello-login-layer__loading {
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	text-align: center;
}

.yhello-login-layer__close {
	position: absolute;
	top: 24px;
	right: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.62);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #132033;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 16px 40px rgba(4, 17, 36, 0.18);
}

@media (max-width: 782px) {
	body.admin-bar .yhello-login-layer {
		top: 46px;
	}
}

@media (max-width: 520px) {
	body.login,
	.yhello-login-layer {
		padding: 26px 16px;
	}

	body.login div#login h1,
	.yhello-login-layer #login h1 {
		margin-bottom: 34px;
	}

	body.login div#login h1 a,
	.yhello-login-layer #login h1 a {
		width: min(var(--yhello-login-logo-width, 156px), 100%);
		height: 62px;
	}

	.yhello-login-layer__close {
		top: 14px;
		right: 14px;
	}
}
