/* GLOBAL */
@font-face {
    font-family: 'Area';
    src: local('Area'),
        url('./assets/area-regular.woff2') format('woff2'),
        url('./assets/area-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
	--greige: #e4e0d9;
	--black: #191818;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
*,
*:focus,
*:active {
	outline: unset !important;
	box-shadow: unset !important;
}

body {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: flex-start;

	padding: calc(clamp(2.4rem, calc(calc(66 / 1152) * calc(100vw - 76.8rem) + 2.4rem), 9.6rem) - 6px) clamp(2.4rem, calc(calc(66 / 1152) * calc(100vw - 76.8rem) + 2.4rem), 9.6rem);

	font-family: "Area", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.75;
	letter-spacing: normal;

	color: var(--black);
	background-color: var(--greige);

	background-image: url(./assets/gradient-light.png);
    background-size: 900px;
    background-repeat: no-repeat;
    background-position: bottom -285px right -285px;

	overflow: hidden;
}

/* body::before {
	content: '';
	position: absolute;
	bottom: -285px;
	right: -285px;
	width: 900px;
	height: 900px;
	background: #EFFF01;
	background: radial-gradient(circle 400px, #EFFF01, #FFFFFF00);
	z-index: 0;
} */

p {
	line-height: 1.75;
}

a {
	color: var(--black);
	text-decoration: none;
	transition: color 180ms ease;
}
a:hover,
a:focus {
	text-decoration: none;
	color: var(--black);
}

/* FORM */
#login {
	position: relative;
	width: 100%;
	height: 100%;

	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	align-items: flex-start;

	max-width: 480px;
    margin: 0;
    padding: 0;
}
#login h1 {
    margin-bottom: auto;
}
#login h1 a {
	background-image: url('./tlm-logo.svg');
	width: 160px;
	background-size: 160px;
	background-repeat: no-repeat;
	padding-bottom: 48px;
}
#login form {
    border: unset;
    border-radius: unset;
    box-shadow: unset;
    background: transparent;
    margin: 0;
    padding: 0;
    font-weight: 400;
    width: 100%;
	overflow: unset;
}
#login form p:first-child > label {
	display: none;
}
#login .forgetmenot {
	margin-top: 11px;
	display: inline-flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
}
#login #nav {
	font-size: 14px;
	margin: auto 0 0;
	padding: 24px 0 0;
}
#login #nav a {
	font-size: 14px;
	color: var(--black);
}
#login .privacy-policy-page-link {
	display: none;
	margin: 18px 0 0;
	text-align: left;
}

/* ERROR */
#login .message,
#login #login_error {
	border-left: unset;
	color: var(--black);
    width: 100%;
	padding: 16px 24px;
	margin-bottom: 24px;
}
#login .message a,
#login #login_error a {
	color: var(--black) !important;
	font-weight: 400 !important;
}

/* LABELS */
#login label {
	font-weight: 400;
}
#login .username label,
#login .user-pass-wrap label {
	display: none;
}

/* INPUTS */ 
#login input:-webkit-autofill,
#login input:-webkit-autofill:focus {
	color: var(--black) !important;
	-webkit-text-fill-color: var(--black);
	-webkit-box-shadow: 0 0 0 3000px #141618 inset !important;
	background-color: var(--greige) !important;
	font-size: 24px !important;
}
#login input[type="text"],
#login input[type="email"],
#login input[type="password"] {
	font: inherit;
	font-size: 24px;

	height: 96px;
	padding-top: 0;
	padding-left: 0;
	padding-right: 0;
	margin-right: 0;
	margin-bottom: 24px;

	color: var(--black);
    background: transparent !important;
	
    border: unset;
    border-radius: unset;
    box-shadow: unset;
    border-bottom: 2px solid var(--black);
    transition: border-color 180ms ease;
}
#login input[type="text"]:hover,
#login input[type="text"]:focus,
#login input[type="email"]:hover,
#login input[type="email"]:focus,
#login input[type="password"]:hover,
#login input[type="password"]:focus {
    /* border-color: rgba(255, 255, 255, 0.6); */
}
#login input[type="password"] {
	letter-spacing: 2px;
	padding-right: 90px;
}
#login input::placeholder {
	font-size: 24px;
	color: #898A8B !important;
	letter-spacing: 0 !important;
}
/** PASSWORD **/
#login .user-pass-wrap {
	margin-bottom: 48px;
}
#login .button.wp-hide-pw {
	height: 96px;
	width: 30px;
	min-width: 30px;
	margin-right: 30px;
	padding: 0;
    color: var(--black);
	border: unset !important;
    transition: opacity 180ms ease;
}
#login .button.wp-hide-pw:hover,
#login .button.wp-hide-pw:focus {
    border: unset;
    /* opacity: 0.6; */
}
#login .button.wp-hide-pw .dashicons {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;

	width: 30px;
	height: 30px;
	top: unset;
}
#login .button.wp-hide-pw > .dashicons-visibility::before,
#login .button.wp-hide-pw > .dashicons-hidden::before {
	content: '';
	display: block;
	height: 24px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	filter: invert(1);
}
#login .button.wp-hide-pw > .dashicons-visibility::before {
	width: 26px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 26 24'%3E%3Cpath stroke='%23fff' stroke-miterlimit='10' stroke-width='2' d='M2 12s4.93-5.5 11-5.5S24 12 24 12s-4.92 5.5-11 5.5S2 12 2 12Z'/%3E%3Cpath stroke='%23fff' stroke-miterlimit='10' stroke-width='2' d='M13 17.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11Z'/%3E%3C/svg%3E");
}
#login .button.wp-hide-pw > .dashicons-hidden::before {
	width: 28px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 28 24'%3E%3Cpath stroke='%23fff' stroke-miterlimit='10' stroke-width='2' d='M3 12s4.93-1.5 11-1.5S25 12 25 12s-4.92 2.5-11 2.5S3 12 3 12Z'/%3E%3C/svg%3E");
}

/* CHECKBOX */
#login input[type=checkbox] {
	-webkit-appearance: initial;
	-moz-appearance: initial;
	appearance: initial;
	position: relative;
	display: inline-block;
	width: 18px;
	min-width: 18px;
	height: 18px;
	min-height: 18px;
	margin: 0;
	padding: 0;
	vertical-align: middle;
	cursor: pointer;
	isolation: isolate;
	border: unset;
	border-radius: unset;
	background: transparent;
	z-index: 1;
}
#login input[type=checkbox]:before, 
#login input[type=checkbox]:after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	transform: translate(-50%, -50%);
	transition: border-color 180ms ease;
	visibility: visible;
}
#login input[type=checkbox]:before {
	border: 1px solid var(--black);
	background-color: var(--greige);
	z-index: 2;
}
#login input[type=checkbox]:after {
	border-radius: 0;
	background-color: var(--black);
	transform: translate(-50%, -50%) scale(0);
	transform-origin: center center;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 11 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.585.158c.114-.115.236-.115.365 0l.602.623c.129.115.129.236 0 .365L4.106 7.592c-.114.114-.236.114-.365 0L.884 4.712c-.13-.114-.13-.236 0-.365l.601-.601c.13-.13.25-.13.365 0L3.934 5.83z' /%3E%3C/svg%3E");
			mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 11 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.585.158c.114-.115.236-.115.365 0l.602.623c.129.115.129.236 0 .365L4.106 7.592c-.114.114-.236.114-.365 0L.884 4.712c-.13-.114-.13-.236 0-.365l.601-.601c.13-.13.25-.13.365 0L3.934 5.83z' /%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
			mask-repeat: no-repeat;
	-webkit-mask-position: center;
			mask-position: center;
	z-index: 3;
}
#login input[type=checkbox]:hover:before, 
#login input[type=checkbox]:focus-visible:before {
	/* border-color: rgba(255, 255, 255, 0.6); */
}
#login input[type=checkbox]:hover, 
#login input[type=checkbox]:focus {
	outline: unset;
	border: unset;	
}
#login input[type=checkbox]:active:before {
	border-color: var(--black);
}
#login input[type=checkbox]:active:after {
	transform: translate(-50%, -50%) scale(0.6);
}
#login input[type=checkbox]:checked:active:before {
	border-color: var(--black);
}
#login input[type=checkbox]:checked:active:after {
	transform: translate(-50%, -50%) scale(0.6);
}
#login input[type=checkbox]:checked:before {
	margin: 0;
}
#login input[type=checkbox]:checked:after {
	transform: translate(-50%, -50%) scale(0.55);
}
#login input[type=checkbox] ~ label {
	margin: 0 0 0 12px;
}
#login input[type="checkbox"]:focus {
	border: unset;
	border-color: unset;
}

/* SUBMIT */ 
#login input[type="submit"] {
	border: unset;
	border-color: unset;
	border-radius: unset;
	background: transparent;
	min-height: unset;
	line-height: unset;
	padding: 0;
	color: var(--black);
	
	font-size: 24px;
	font-weight: 400;
	text-transform: lowercase;
}
#login p.submit {
	position: relative;
	display: inline-flex;
	flex-flow: row nowrap;
	justify-content: flex-end;
	align-items: center;
	float: right;
	transition: opacity 180ms ease;
}
#login p.submit::after {
	order: 2;
	content: "";
	display: inline-block;
	width: 48px;
	height: 12px;
	margin-left: 24px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='enable-background:new 0 0 48 12' viewBox='0 0 48 12'%3E%3Cpath d='m42.4-.2-1.5 1.4L44.4 5H0v2h44.4l-3.5 3.8 1.5 1.4L48 6z' style='fill:%23191818'/%3E%3C/svg%3E");
	transition: transform 180ms ease;
}
#login p.submit:hover::after,
#login p.submit:focus::after {
	transform: translateX(12px);
}

@media only screen and (max-width: 768px) {
	#login #nav {
		font-size: 12px;
	}
	#login #nav a {
		font-size: 12px;
	}

	#login input:-webkit-autofill,
	#login input:-webkit-autofill:focus {
		font-size: 18px !important;
	}
	#login input[type="text"],
	#login input[type="email"],
	#login input[type="password"] {
		font-size: 18px;
		height: 66px;
	}
	#login input[type="password"] {
		padding-right: 66px;
	}
	#login .button.wp-hide-pw {
		height: 66px;
		margin-right: 18px;
	}
	#login input::placeholder {
		font-size: 18px;
	}
	#login input[type="submit"] {
		font-size: 18px;
	}
	#login p.submit::after {
		width: 36px;
		height: 9px;
		margin-left: 18px;
	}
	#login .forgetmenot {
		margin-top: 4px;
	}
}