@font-face {
	font-family: "UTM Avo";
	src: url("../../../themes/reco-corporate/assets/fonts/utm-avo-regular.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 400;
}

@font-face {
	font-family: "UTM Avo";
	src: url("../../../themes/reco-corporate/assets/fonts/utm-avo-bold.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 700;
}

@font-face {
	font-family: "UTM Avo";
	src: url("../../../themes/reco-corporate/assets/fonts/utm-avo-italic.ttf") format("truetype");
	font-display: swap;
	font-style: italic;
	font-weight: 400;
}

@font-face {
	font-family: "UTM Avo";
	src: url("../../../themes/reco-corporate/assets/fonts/utm-avo-bold-italic.ttf") format("truetype");
	font-display: swap;
	font-style: italic;
	font-weight: 700;
}

/* UTM Avo has no glyphs for m², °, – or —; borrow them from Be Vietnam Pro. */
@font-face {
	font-family: "UTM Avo";
	src: url("../../../themes/reco-corporate/assets/fonts/be-vietnam-pro-regular.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 400;
	unicode-range: U+B0-B9, U+2012-2014;
}

@font-face {
	font-family: "UTM Avo";
	src: url("../../../themes/reco-corporate/assets/fonts/be-vietnam-pro-bold.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 700;
	unicode-range: U+B0-B9, U+2012-2014;
}

:root {
	--nha-blue: #075a9f;
	--nha-blue-hover: #064b84;
	--nha-orange: #ff8017;
	--nha-ink: #061a3b;
	--nha-muted: #8d97ae;
	--nha-field: #f4f7f9;
}

body.login {
	min-height: 100vh;
	background: #fff;
	color: var(--nha-ink);
	font-family: "UTM Avo", sans-serif;
}

body.login * {
	box-sizing: border-box;
}

body.login #login {
	width: min(500px, calc(100% - 32px));
	padding: 30px 0 36px;
}

body.login #login h1 {
	margin: 0 auto 57px;
}

body.login #login h1 a {
	width: 330px;
	height: 154px;
	margin: 0 auto;
	background-image: url("../../../themes/reco-corporate/assets/images/uploads/Logo%20Reco.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.nha-login-card {
	padding: 47px 48px 64px;
	background: #fff;
	border-radius: 7px;
	box-shadow: 0 3px 20px rgba(17, 33, 54, 0.09);
}

.nha-login-intro {
	margin-bottom: 37px;
	text-align: center;
}

.nha-login-intro h2 {
	margin: 0 0 7px;
	color: var(--nha-ink);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.55px;
	line-height: 1.4;
	text-transform: uppercase;
}

.nha-login-intro p {
	margin: 0;
	color: #a4acbe;
	font-size: 15px;
	line-height: 1.6;
}

.nha-login-intro a,
.nha-forgot-password {
	color: var(--nha-blue);
	font-weight: 600;
	text-decoration: none;
}

.nha-login-intro a:hover,
.nha-forgot-password:hover {
	color: var(--nha-blue-hover);
	text-decoration: underline;
}

body.login .nha-login-card form {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

body.login .nha-login-card form > p:first-child,
body.login .user-pass-wrap {
	margin: 0 0 32px;
	position: relative;
}

body.login .nha-login-card label {
	color: var(--nha-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
}

body.login label[for="user_pass"] {
	display: block;
	margin-bottom: 7px;
}

.nha-forgot-password {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 13px;
	font-weight: 500;
}

body.login .nha-login-card input[type="text"],
body.login .nha-login-card input[type="password"] {
	width: 100%;
	min-height: 46px;
	margin: 7px 0 0;
	padding: 10px 45px 10px 14px;
	background: var(--nha-field);
	border: 1px solid transparent;
	border-radius: 6px;
	box-shadow: none;
	color: var(--nha-ink);
	font-family: inherit;
	font-size: 16px;
	transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

body.login .nha-login-card input:focus {
	background: #fff;
	border-color: var(--nha-blue);
	box-shadow: 0 0 0 3px rgba(7, 90, 159, 0.15);
	outline: none;
}

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

body.login .button.wp-hide-pw {
	top: 6px;
	right: 4px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	color: #8fa3c6;
}

body.login .button.wp-hide-pw:focus {
	border-radius: 4px;
	box-shadow: 0 0 0 2px var(--nha-blue);
	outline: none;
}

body.login .forgetmenot {
	display: none;
}

body.login .nha-login-card .submit {
	margin: 0;
}

body.login .nha-login-card .button-primary {
	float: none;
	width: 100%;
	min-height: 46px;
	padding: 9px 20px;
	background: var(--nha-blue);
	border: 1px solid var(--nha-blue);
	border-radius: 6px;
	box-shadow: none;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	text-shadow: none;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.login .nha-login-card .button-primary:hover {
	background: var(--nha-blue-hover);
	border-color: var(--nha-blue-hover);
}

body.login .nha-login-card .button-primary:focus {
	box-shadow: 0 0 0 3px rgba(7, 90, 159, 0.22);
}

.nha-login-divider {
	margin: 16px 0 14px;
	color: #a4acbe;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

.nha-google-login {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 46px;
	padding: 9px 20px;
	background: var(--nha-field);
	border: 1px solid transparent;
	border-radius: 6px;
	color: var(--nha-muted);
	font-family: inherit;
	font-size: 15px;
	cursor: not-allowed;
	opacity: 1;
}

.nha-google-login svg {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

body.login .message,
body.login #login_error,
body.login .notice {
	margin: 0 0 18px;
	border-left-color: var(--nha-blue);
	border-radius: 5px;
	font-family: inherit;
}

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

@media (max-width: 600px) {
	body.login #login {
		padding-top: 22px;
	}

	body.login #login h1 {
		margin-bottom: 28px;
	}

	body.login #login h1 a {
		width: 260px;
		height: 121px;
	}

	.nha-login-card {
		padding: 32px 24px 38px;
	}

	.nha-login-intro {
		margin-bottom: 28px;
	}

	.nha-login-intro h2 {
		font-size: 19px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.login .nha-login-card input,
	body.login .nha-login-card .button-primary {
		transition: none;
	}
}
