:root {
	--ethereal-color-deep-cacao: #3e2e21;
	--ethereal-color-mocha-taupe: #8e7765;
	--ethereal-color-nude-clay: #c39a76;
	--ethereal-color-silk-beige: #e2d3c6;
	--ethereal-color-soft-porcelain: #f4ece5;
	--ethereal-font-body: "Degular Display", "Degular", Arial, sans-serif;
	--ethereal-font-title: "Poiret One", serif;
	--ethereal-space-1: 12px;
	--ethereal-space-2: 24px;
	--ethereal-space-3: 48px;
	--ethereal-space-4: 60px;
	--ethereal-radius: 8px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	background: var(--ethereal-color-soft-porcelain);
}

body.login {
	display: grid;
	min-height: 100vh;
	margin: 0;
	padding: max(var(--ethereal-space-2), env(safe-area-inset-top)) max(var(--ethereal-space-1), env(safe-area-inset-right)) max(var(--ethereal-space-2), env(safe-area-inset-bottom)) max(var(--ethereal-space-1), env(safe-area-inset-left));
	background:
		radial-gradient(circle at 78% 16%, rgb(255 255 255 / 74%), transparent 32%),
		radial-gradient(circle at 18% 88%, rgb(195 154 118 / 18%), transparent 30%),
		linear-gradient(135deg, var(--ethereal-color-soft-porcelain), var(--ethereal-color-silk-beige));
	color: var(--ethereal-color-deep-cacao);
	font-family: var(--ethereal-font-body);
	line-height: 1.5;
	place-items: center;
}

body.login div#login {
	width: min(100%, 390px);
	padding: 0;
	text-align: center;
}

body.login #login h1 {
	margin: 0 0 var(--ethereal-space-2);
}

body.login #login h1 a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: min(100%, 280px);
	min-height: 54px;
	height: auto;
	margin: 0 auto;
	padding: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	color: var(--ethereal-color-deep-cacao);
	font-family: var(--ethereal-font-title);
	font-size: 0;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-indent: 0;
	text-transform: uppercase;
}

body.login #login h1 a::before {
	display: none;
	width: 128px;
	height: 128px;
	margin-bottom: 0;
	border-radius: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	box-shadow: none;
	content: "";
}

body.login #login h1 a::after {
	display: block;
	color: var(--ethereal-color-deep-cacao);
	font-size: 36px;
	line-height: 1;
}

body.login #login h1 a:focus {
	box-shadow: none;
	outline: 2px solid var(--ethereal-color-nude-clay);
	outline-offset: 8px;
}

body.login form {
	margin: 0;
	padding: var(--ethereal-space-4);
	border: 1px solid rgb(62 46 33 / 10%);
	border-radius: 24px;
	background:
		linear-gradient(145deg, rgb(255 255 255 / 64%), transparent 42%),
		rgb(244 236 229 / 72%);
	box-shadow:
		0 24px 90px rgb(62 46 33 / 14%),
		0 0 0 1px rgb(195 154 118 / 14%),
		inset 0 1px 0 rgb(255 255 255 / 72%);
	text-align: center;
	backdrop-filter: blur(24px);
}

body.login form p {
	text-align: center;
}

body.login label {
	color: var(--ethereal-color-deep-cacao);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

body.login form .input,
body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
	min-height: 48px;
	margin-top: 8px;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid rgb(62 46 33 / 28%);
	border-radius: 0;
	background: transparent;
	color: var(--ethereal-color-deep-cacao);
	font-family: var(--ethereal-font-body);
	font-size: 18px;
	text-align: center;
	box-shadow: none;
}

body.login form .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus,
body.login input[type="email"]:focus {
	border-color: var(--ethereal-color-nude-clay);
	box-shadow: 0 12px 18px -18px rgb(195 154 118 / 80%);
	outline: 0;
}

body.login .button.wp-hide-pw {
	top: 8px;
	right: 0;
	min-width: 44px;
	min-height: 44px;
	color: var(--ethereal-color-mocha-taupe);
}

body.login .button.wp-hide-pw:focus {
	border-color: transparent;
	box-shadow: none;
	outline: 2px solid var(--ethereal-color-nude-clay);
	outline-offset: -4px;
}

body.login .forgetmenot {
	display: flex;
	align-items: center;
	justify-content: center;
	float: none;
	min-height: 44px;
	margin: var(--ethereal-space-1) 0 0;
	text-align: center;
}

body.login input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0 8px 0 0;
	border: 1px solid rgb(62 46 33 / 28%);
	border-radius: 4px;
	background: transparent;
	box-shadow: none;
}

body.login input[type="checkbox"]:checked::before {
	width: 20px;
	height: 20px;
	margin: -2px 0 0 -3px;
	content: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23C39A76' d='M7.7 14.2 3.8 10.3l1.4-1.4 2.5 2.5 7.1-7.1 1.4 1.4z'/%3E%3C/svg%3E");
}

body.login .submit {
	display: flex;
	justify-content: center;
	float: none;
	margin: var(--ethereal-space-2) 0 0;
	padding: 0;
}

body.login .button-primary,
body.login .wp-core-ui .button-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	min-height: 48px;
	padding: 12px var(--ethereal-space-2);
	border: 1px solid rgb(62 46 33 / 12%);
	border-radius: 999px;
	background:
		linear-gradient(135deg, rgb(255 255 255 / 30%), transparent 44%),
		var(--ethereal-color-nude-clay);
	color: var(--ethereal-color-deep-cacao);
	font-family: var(--ethereal-font-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-shadow: none;
	box-shadow:
		0 0 0 1px rgb(62 46 33 / 8%),
		0 14px 34px rgb(195 154 118 / 24%),
		inset 0 1px 0 rgb(255 255 255 / 48%);
	transition: box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

body.login .button-primary:hover,
body.login .button-primary:focus {
	background:
		linear-gradient(135deg, rgb(255 255 255 / 36%), transparent 44%),
		#d0aa85;
	color: var(--ethereal-color-deep-cacao);
	box-shadow:
		0 0 0 1px rgb(62 46 33 / 10%),
		0 18px 44px rgb(195 154 118 / 26%),
		inset 0 1px 0 rgb(255 255 255 / 52%);
	transform: translateY(-2px);
}

body.login #nav,
body.login #backtoblog,
body.login .privacy-policy-page-link {
	margin: var(--ethereal-space-1) 0 0;
	padding: 0;
	color: var(--ethereal-color-mocha-taupe);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}

body.login #backtoblog,
body.login .privacy-policy-page-link {
	display: inline-block;
	margin-inline: 10px;
	vertical-align: middle;
}

body.login .privacy-policy-page-link {
	width: auto;
}

body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-page-link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ethereal-color-deep-cacao);
	text-decoration-color: rgb(195 154 118 / 72%);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

body.login #backtoblog a::before,
body.login .privacy-policy-page-link a::before {
	display: inline-block;
	width: 15px;
	height: 15px;
	background: currentColor;
	content: "";
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: contain;
}

body.login #backtoblog a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 19v-5.5h3V19h4v-7h2.5L12 4 4 12h2.5v7z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 19v-5.5h3V19h4v-7h2.5L12 4 4 12h2.5v7z'/%3E%3C/svg%3E");
}

body.login .privacy-policy-page-link a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 5 5v6c0 4.55 2.91 8.84 7 10 4.09-1.16 7-5.45 7-10V5zm-1 13.5-3-3 1.4-1.4 1.6 1.58 3.6-3.58L16 10z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 5 5v6c0 4.55 2.91 8.84 7 10 4.09-1.16 7-5.45 7-10V5zm-1 13.5-3-3 1.4-1.4 1.6 1.58 3.6-3.58L16 10z'/%3E%3C/svg%3E");
}

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(--ethereal-color-nude-clay);
	box-shadow: none;
	outline: 0;
}

body.login .message,
body.login .notice,
body.login #login_error {
	margin: 0 0 var(--ethereal-space-1);
	padding: var(--ethereal-space-1);
	border: 1px solid rgb(62 46 33 / 12%);
	border-left: 4px solid var(--ethereal-color-nude-clay);
	border-radius: var(--ethereal-radius);
	background: rgb(255 255 255 / 46%);
	color: var(--ethereal-color-deep-cacao);
	box-shadow: none;
}

body.login #login_error {
	border-left-color: #ff6b8a;
}

body.login .admin-email__actions-primary {
	float: none;
}

body.login .language-switcher {
	margin-top: var(--ethereal-space-2);
}

body.login .language-switcher label {
	color: var(--ethereal-color-mocha-taupe);
}

body.login .language-switcher select {
	min-height: 40px;
	border-color: rgb(62 46 33 / 18%);
	border-radius: var(--ethereal-radius);
	background: rgb(244 236 229 / 82%);
	color: var(--ethereal-color-deep-cacao);
}

@media (max-width: 479px) {
	body.login div#login {
		width: min(100%, 360px);
	}

	body.login #login h1 a::before {
		width: 104px;
		height: 104px;
	}

	body.login form {
		padding: var(--ethereal-space-2);
		border-radius: 20px;
	}

	body.login form .input,
	body.login input[type="text"],
	body.login input[type="password"],
	body.login input[type="email"] {
		font-size: 16px;
	}

	body.login #backtoblog,
	body.login .privacy-policy-page-link {
		margin-inline: 6px;
	}
}

@media (min-width: 480px) {
	body.login {
		padding: var(--ethereal-space-3) var(--ethereal-space-2);
	}

	body.login form {
		padding: var(--ethereal-space-4);
	}
}

@media (min-width: 780px) {
	body.login div#login {
		width: 420px;
	}
}

@media (min-width: 960px) {
	body.login {
		padding: var(--ethereal-space-4);
	}
}
