:root {
	--cls-login-navy: #0b486b;
	--cls-login-ink: #0a2438;
	--cls-login-teal: #14a6b5;
	--cls-login-muted: #667783;
	--cls-login-line: #dfe7eb;
	--cls-login-field: #f5f8f9;
}

html {
	background: #f6f8f9;
}

body.cls-staff-login {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(440px, 0.72fr);
	min-height: 100vh;
	margin: 0;
	background: #ffffff;
	color: var(--cls-login-ink);
	font-family: Montserrat, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	overflow-x: hidden;
}

.cls-staff-login * {
	box-sizing: border-box;
}

.cls-staff-scene {
	position: relative;
	display: flex;
	grid-column: 1;
	grid-row: 1;
	min-height: 100vh;
	overflow: hidden;
	background:
		radial-gradient(circle at 76% 24%, rgba(20, 166, 181, 0.17), transparent 28%),
		repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(255, 255, 255, 0.025) 80px),
		repeating-linear-gradient(0deg, transparent 0, transparent 79px, rgba(255, 255, 255, 0.025) 80px),
		linear-gradient(145deg, #061620 0%, #0a2e45 50%, #0b486b 100%);
	color: #ffffff;
}

.cls-staff-scene::before,
.cls-staff-scene::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.cls-staff-scene::before {
	right: -12vw;
	bottom: -25vw;
	width: 54vw;
	height: 54vw;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	box-shadow: 0 0 0 7vw rgba(255, 255, 255, 0.018), 0 0 0 15vw rgba(255, 255, 255, 0.012);
}

.cls-staff-scene::after {
	top: 0;
	right: 0;
	width: 3px;
	height: 100%;
	background: linear-gradient(180deg, transparent, var(--cls-login-teal) 38%, transparent 78%);
	opacity: 0.7;
}

.cls-staff-scene__glow {
	position: absolute;
	top: 18%;
	right: 12%;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #4ed5df;
	box-shadow: 0 0 0 10px rgba(20, 166, 181, 0.07), 0 0 44px 16px rgba(20, 166, 181, 0.22);
}

.cls-staff-scene__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	max-width: 760px;
	padding: clamp(38px, 5vw, 72px);
}

.cls-staff-scene__brand {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.66);
}

.cls-staff-scene__mark {
	display: inline-block;
	flex: 0 0 auto;
	width: 52px;
	height: 36px;
	background-image: url("../uploads/2019/06/CLSlight.svg");
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 190px 36px;
}

.cls-staff-scene__message {
	max-width: 570px;
	margin: auto 0;
	padding: 80px 0;
}

.cls-staff-scene__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: #65d4dc;
}

.cls-staff-scene__eyebrow::before {
	width: 34px;
	height: 1px;
	background: currentColor;
	content: "";
}

.cls-staff-scene__message h2 {
	max-width: 620px;
	margin: 0 0 20px;
	font-size: clamp(42px, 5vw, 72px);
	font-weight: 750;
	line-height: 1.02;
	letter-spacing: -0.045em;
	color: #ffffff;
}

.cls-staff-scene__message > p:last-child {
	max-width: 455px;
	margin: 0;
	font-size: clamp(14px, 1.15vw, 17px);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.55);
}

.cls-staff-scene__status {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.07em;
	color: rgba(255, 255, 255, 0.42);
}

.cls-staff-scene__lock {
	position: relative;
	display: inline-block;
	width: 11px;
	height: 9px;
	margin-top: 3px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 2px;
}

.cls-staff-scene__lock::before {
	position: absolute;
	bottom: 6px;
	left: 2px;
	width: 5px;
	height: 6px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-bottom: 0;
	border-radius: 6px 6px 0 0;
	content: "";
}

body.cls-staff-login #login {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	width: min(420px, calc(100% - 72px));
	margin: auto;
	padding: 56px 0 44px;
}

body.cls-staff-login #login h1.wp-login-logo {
	margin: 0 0 31px;
	text-align: left;
}

body.cls-staff-login #login h1.wp-login-logo a {
	display: block;
	width: 70px;
	height: 49px;
	margin: 0;
	padding: 0;
	background-image: url("cls-staff-login-mark.svg");
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
	font-size: 0;
	pointer-events: none;
}

body.cls-staff-login #login h1.wp-login-logo a::before,
body.cls-staff-login #login h1.wp-login-logo a::after {
	display: none;
}

.cls-staff-login__heading {
	margin: 0 0 30px;
}

.cls-staff-login__heading h2 {
	margin: 0 0 8px;
	font-size: 30px;
	font-weight: 750;
	line-height: 1.15;
	letter-spacing: -0.035em;
	color: var(--cls-login-ink);
}

.cls-staff-login__heading p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--cls-login-muted);
}

body.cls-staff-login #loginform,
body.cls-staff-login #lostpasswordform,
body.cls-staff-login #registerform,
body.cls-staff-login #resetpassform,
body.cls-staff-login .admin-email-confirm-form,
body.cls-staff-login form {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

body.cls-staff-login #login form p {
	margin-bottom: 19px;
}

body.cls-staff-login #login form label {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.015em;
	color: #314956;
}

body.cls-staff-login #login input[type="text"],
body.cls-staff-login #login input[type="email"],
body.cls-staff-login #login input[type="password"] {
	width: 100%;
	min-height: 52px;
	margin: 8px 0 0;
	padding: 12px 15px;
	border: 1px solid var(--cls-login-line);
	border-radius: 12px;
	background: var(--cls-login-field);
	box-shadow: none;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	color: var(--cls-login-ink);
	transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

body.cls-staff-login #login input[type="text"]:focus,
body.cls-staff-login #login input[type="email"]:focus,
body.cls-staff-login #login input[type="password"]:focus {
	border-color: var(--cls-login-teal);
	outline: 0;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(20, 166, 181, 0.12);
}

body.cls-staff-login #login .wp-pwd {
	margin-top: 8px;
}

body.cls-staff-login #login .wp-pwd input[type="password"] {
	margin-top: 0;
	padding-right: 50px;
}

body.cls-staff-login #login .button.wp-hide-pw {
	top: 6px;
	right: 5px;
	width: 42px;
	height: 42px;
	border: 0;
	color: var(--cls-login-muted);
	box-shadow: none;
}

body.cls-staff-login #login .button.wp-hide-pw:focus {
	border-radius: 8px;
	outline: 2px solid var(--cls-login-teal);
	outline-offset: 0;
}

body.cls-staff-login #login .forgetmenot {
	float: none;
	margin: 2px 0 0;
}

body.cls-staff-login #login .forgetmenot label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--cls-login-muted);
}

body.cls-staff-login #login input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	border: 1px solid #bdccd3;
	border-radius: 5px;
	box-shadow: none;
}

body.cls-staff-login #login input[type="checkbox"]:checked {
	border-color: var(--cls-login-teal);
	background: var(--cls-login-teal);
}

body.cls-staff-login #login input[type="checkbox"]:checked::before {
	width: 21px;
	height: 21px;
	margin: -2px 0 0 -2px;
	color: #ffffff;
}

body.cls-staff-login #login .submit {
	float: none;
	clear: both;
	margin: 23px 0 0;
	padding: 0;
}

body.cls-staff-login.wp-core-ui #login .button-primary,
body.cls-staff-login.wp-core-ui #login .button:not(.wp-hide-pw) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	float: none;
	width: 100%;
	min-height: 51px;
	padding: 12px 20px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--cls-login-navy), var(--cls-login-teal));
	box-shadow: 0 10px 24px rgba(11, 72, 107, 0.18);
	font-family: inherit;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
	text-shadow: none;
	color: #ffffff;
	transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

body.cls-staff-login.wp-core-ui #login .button-primary:hover,
body.cls-staff-login.wp-core-ui #login .button:not(.wp-hide-pw):hover {
	transform: translateY(-1px);
	box-shadow: 0 13px 28px rgba(11, 72, 107, 0.24);
	filter: saturate(1.08);
}

body.cls-staff-login.wp-core-ui #login .button-primary:focus,
body.cls-staff-login.wp-core-ui #login .button:not(.wp-hide-pw):focus {
	outline: 3px solid rgba(20, 166, 181, 0.2);
	outline-offset: 2px;
}

body.cls-staff-login #login #nav {
	margin: 25px 0 0;
	padding: 0;
	text-align: center;
}

body.cls-staff-login #login #nav a {
	font-size: 12px;
	font-weight: 650;
	color: var(--cls-login-navy);
	text-decoration: none;
}

body.cls-staff-login #login #nav a:hover,
body.cls-staff-login #login #nav a:focus {
	color: var(--cls-login-teal);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.cls-staff-login #backtoblog,
body.cls-staff-login .privacy-policy-page-link,
body.cls-staff-login .language-switcher {
	display: none;
}

body.cls-staff-login #login_error,
body.cls-staff-login .message,
body.cls-staff-login .success,
body.cls-staff-login .notice {
	margin: 0 0 24px;
	padding: 14px 16px;
	border: 1px solid #d7e4e8;
	border-left: 3px solid var(--cls-login-teal);
	border-radius: 10px;
	background: #f3f8f9;
	box-shadow: none;
	font-size: 12px;
	line-height: 1.55;
	color: #3a535f;
}

body.cls-staff-login #login_error {
	border-color: #efd5d5;
	border-left-color: #c94d55;
	background: #fff7f7;
	color: #7d343a;
}

body.cls-staff-login #login_error a,
body.cls-staff-login .message a,
body.cls-staff-login .notice a {
	font-weight: 700;
	color: inherit;
}

body.cls-staff-login .admin-email__heading,
body.cls-staff-login .admin-email__details {
	color: var(--cls-login-ink);
}

@keyframes cls-staff-scene-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes cls-staff-form-in {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}

body.cls-staff-login .cls-staff-scene {
	animation: cls-staff-scene-in 500ms ease-out both;
}

body.cls-staff-login #login {
	animation: cls-staff-form-in 460ms 100ms ease-out both;
}

@media (max-width: 800px) {
	body.cls-staff-login {
		display: block;
		min-height: 100vh;
		background: #ffffff;
	}

	.cls-staff-scene {
		min-height: 190px;
	}

	.cls-staff-scene::before {
		right: -130px;
		bottom: -270px;
		width: 440px;
		height: 440px;
	}

	.cls-staff-scene::after {
		top: auto;
		bottom: 0;
		width: 100%;
		height: 2px;
		background: linear-gradient(90deg, transparent, var(--cls-login-teal), transparent);
	}

	.cls-staff-scene__glow,
	.cls-staff-scene__eyebrow,
	.cls-staff-scene__message > p:last-child,
	.cls-staff-scene__status {
		display: none;
	}

	.cls-staff-scene__content {
		min-height: 190px;
		padding: 24px 28px 28px;
	}

	.cls-staff-scene__message {
		margin: auto 0 0;
		padding: 20px 0 0;
	}

	.cls-staff-scene__message h2 {
		margin: 0;
		max-width: 440px;
		font-size: 30px;
		letter-spacing: -0.035em;
	}

	body.cls-staff-login #login {
		width: min(420px, calc(100% - 48px));
		margin: 0 auto;
		padding: 42px 0 52px;
	}
}

@media (max-width: 480px) {
	.cls-staff-scene,
	.cls-staff-scene__content {
		min-height: 158px;
	}

	.cls-staff-scene__content {
		padding: 20px 22px 24px;
	}

	.cls-staff-scene__brand {
		font-size: 10px;
	}

	.cls-staff-scene__mark {
		transform: scale(0.84);
		transform-origin: left center;
		margin-right: -7px;
	}

	.cls-staff-scene__message h2 {
		font-size: 26px;
	}

	body.cls-staff-login #login {
		width: calc(100% - 40px);
		padding: 34px 0 44px;
	}

	body.cls-staff-login #login h1.wp-login-logo {
		margin-bottom: 25px;
	}

	.cls-staff-login__heading {
		margin-bottom: 25px;
	}

	.cls-staff-login__heading h2 {
		font-size: 27px;
	}
}

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