/* Shared design tokens also power the miniature template cards. */
/* Custom values are scoped to the login body and fall back to each template. */
.wplpd-template-pearl {
	--scene: radial-gradient(ellipse at 10% 10%,#e3eafa,transparent 50%),radial-gradient(ellipse at 90% 90%,#e8e0fa,transparent 50%),#f4f6fb;
	--panel: #fff;
	--ink: #182239;
	--muted: #606b80;
	--accent: #315ad4;
	--line: #e1e6ef;
	--field: #f8f9fc;
	--radius: 20px;
	--shadow: 0 24px 80px #27396114
}

.wplpd-template-midnight {
	--scene: radial-gradient(ellipse at 50% 0%,#1c3d70,transparent 60%),#0b1120;
	--panel: #141f32;
	--ink: #f0f5ff;
	--muted: #aab8ce;
	--accent: #77aaff;
	--line: #32415c;
	--field: #0f192b;
	--radius: 18px;
	--shadow: 0 0 80px #3c78dd20
}

.wplpd-template-aurora {
	--scene: radial-gradient(ellipse at 15% 25%,#90c9e6,transparent 48%),radial-gradient(ellipse at 80% 70%,#b77bee,transparent 45%),linear-gradient(130deg,#bfd2fd,#e8d6fb);
	--panel: #ffffffe0;
	--ink: #30214d;
	--muted: #655779;
	--accent: #7142bb;
	--line: #d6cae8;
	--field: #ffffffa8;
	--radius: 26px;
	--shadow: 0 28px 90px #5c328d26
}

.wplpd-template-ocean {
	--scene: #f7f9fc;
	--panel: #fff;
	--ink: #15243c;
	--muted: #667187;
	--accent: #205bce;
	--line: #dce3ef;
	--field: #f7f9fc;
	--radius: 12px;
	--shadow: none;
	--hero: linear-gradient(150deg,#102e54,#15578b);
	--hero-ink: #e6f3ff
}

.wplpd-template-botanical {
	--scene: #f5f7f0;
	--panel: #fffff9;
	--ink: #243b2e;
	--muted: #5d7061;
	--accent: #2d6547;
	--line: #dce4d7;
	--field: #f5f7f1;
	--radius: 22px;
	--shadow: none;
	--hero: linear-gradient(155deg,#153d2e,#376e50);
	--hero-ink: #e6f0dd
}

.wplpd-template-sunset {
	--scene: radial-gradient(circle at 70% 30%,#f4bd83 0 14%,transparent 14.2%),linear-gradient(160deg,#fbe7cf,#ead0bc);
	--panel: #fffaf3;
	--ink: #492d25;
	--muted: #826257;
	--accent: #a1442c;
	--line: #e9d6c8;
	--field: #fdf5ec;
	--radius: 10px;
	--shadow: 0 22px 75px #75453020
}

.wplpd-template-blueprint {
	--scene: linear-gradient(#2860a412 1px,transparent 1px),linear-gradient(90deg,#2860a412 1px,transparent 1px),#eaf2fc;
	--panel: #fff;
	--ink: #193454;
	--muted: #506b89;
	--accent: #175eac;
	--line: #b9cfe5;
	--field: #f6faff;
	--radius: 4px;
	--shadow: 8px 8px 0 #b3cae455
}

.wplpd-template-rose {
	--scene: radial-gradient(ellipse at 20% 80%,#edc2cf,transparent 60%),linear-gradient(130deg,#fff0f4,#f6dde6);
	--panel: #fffbfd;
	--ink: #502b3b;
	--muted: #85586c;
	--accent: #a23762;
	--line: #ead3de;
	--field: #fcf3f7;
	--radius: 32px;
	--shadow: 0 24px 70px #94476818
}

.wplpd-template-mono {
	--scene: #f5f44f;
	--panel: #fff;
	--ink: #141414;
	--muted: #535353;
	--accent: #171717;
	--line: #202020;
	--field: #fff;
	--radius: 0px;
	--shadow: 9px 9px 0 #171717
}

.wplpd-template-sandstone {
	--scene: #f7f3ed;
	--panel: #fdfbf7;
	--ink: #44382e;
	--muted: #7a6c5e;
	--accent: #7b5840;
	--line: #dfd5c9;
	--field: #f8f4ed;
	--radius: 4px;
	--shadow: none;
	--hero: linear-gradient(150deg,#c4ad8c,#e1cfb6);
	--hero-ink: #3d3023
}

.wplpd-template-indigo {
	--scene: #f6f5ff;
	--panel: #fff;
	--ink: #28214c;
	--muted: #6b6382;
	--accent: #6741c5;
	--line: #e2dcf1;
	--field: #f8f6fd;
	--radius: 18px;
	--shadow: none;
	--hero: radial-gradient(ellipse at 20% 20%,#875cda,transparent 70%),#352266;
	--hero-ink: #eee7ff
}

.wplpd-template-terminal {
	--scene: linear-gradient(#73daac08 1px,transparent 1px),linear-gradient(90deg,#73daac08 1px,transparent 1px),#0b1714;
	--panel: #10231d;
	--ink: #def5e9;
	--muted: #a3c6b6;
	--accent: #72dfad;
	--line: #365549;
	--field: #0c1b16;
	--radius: 3px;
	--shadow: 0 0 70px #54d99c0c
}

body.wplpd-login {
	box-sizing: border-box;
	min-height: 100vh;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
	background: var(--scene);
	color: var(--ink);
	font-family: var(--wplpd-font,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);
	isolation: isolate;
	--button-ink: #fff
}

body.wplpd-template-blueprint,body.wplpd-template-terminal {
	background-size: 32px 32px,32px 32px,auto;
	font-family: var(--wplpd-font,ui-monospace,SFMono-Regular,Consolas,monospace)
}

body.wplpd-template-sandstone .wplpd-intro h2,body.wplpd-template-sandstone .wplpd-hero h2 {
	font-family: var(--wplpd-font,Georgia,"Times New Roman",serif);
	font-weight: 400
}

body.wplpd-template-midnight,body.wplpd-template-terminal {
	color-scheme: dark;
	--button-ink: #0b171f
}

body.wplpd-login #login {
	box-sizing: border-box;
	width: var(--wplpd-form-width,410px);
	max-width: 100%;
	padding: var(--wplpd-form-padding,36px);
	margin: 0;
	background: var(--wplpd-form-background,var(--panel));
	border: var(--wplpd-border-width,1px) solid var(--wplpd-border-color,var(--line));
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	position: relative;
	z-index: 1
}

body.wplpd-template-aurora #login {
	backdrop-filter: blur(24px);
	border-color: var(--wplpd-border-color,#ffffffb0)
}

body.wplpd-template-mono #login {
	border-width: var(--wplpd-border-width,2px)
}

body.wplpd-login #login h1 a {
	background: none;
	text-indent: 0;
	width: auto;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 auto 28px;
	padding: 0;
	text-decoration: none;
	color: var(--ink);
	font-size: 17px;
	font-weight: 650;
	line-height: 1.4;
	overflow-wrap: anywhere
}

.wplpd-logo {
	display: block;
	max-width: 140px;
	max-height: 52px;
	object-fit: contain
}

.wplpd-mark {
	display: inline-grid;
	place-items: center;
	background: var(--accent);
	color: var(--button-ink);
	border-radius: 10px;
	font-size: 25px;
	width: 38px;
	height: 38px;
	flex-shrink: 0
}

.wplpd-intro {
	margin-bottom: 24px;
	text-align: center
}

.wplpd-intro h2 {
	color: var(--ink);
	font-size: 29px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -1px;
	margin: 0 0 10px;
	overflow-wrap: anywhere
}

.wplpd-intro p {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	overflow-wrap: anywhere
}

body.wplpd-login #login form {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
	color: var(--ink)
}

body.wplpd-login #login label {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--ink)
}

body.wplpd-login #login form .input,body.wplpd-login #login input[type=text],body.wplpd-login #login input[type=password],body.wplpd-login #login input[type=email] {
	box-sizing: border-box;
	background: var(--field);
	color: var(--wplpd-field-ink,var(--ink));
	border: 1px solid var(--wplpd-field-border,var(--line));
	border-radius: var(--wplpd-field-radius,min(var(--radius),10px));
	padding: 12px 14px;
	margin: 7px 0 19px;
	min-height: 48px;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	box-shadow: none;
	width: 100%
}

body.wplpd-login #login .wp-pwd input {
	padding-right: 44px
}

body.wplpd-login #login input:focus,body.wplpd-login #login button:focus-visible,body.wplpd-login a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	box-shadow: none;
	border-color: var(--accent)
}

body.wplpd-login #login .wp-hide-pw {
	top: 9px;
	right: 4px;
	color: var(--muted);
	height: 44px
}

body.wplpd-login #login form .forgetmenot {
	float: none;
	margin: 0 0 22px
}

body.wplpd-login #login .forgetmenot label {
	font-weight: 400;
	color: var(--muted);
	font-size: 13px
}

body.wplpd-login #login input[type=checkbox] {
	border-color: var(--line);
	background: var(--field)
}

body.wplpd-login #login input[type=checkbox]:checked:before {
	color: var(--accent)
}

body.wplpd-login #login .submit {
	margin: 0;
	clear: both
}

body.wplpd-login #login .button-primary {
	box-sizing: border-box;
	display: block;
	float: none;
	background: var(--wplpd-button-color,var(--accent));
	color: var(--wplpd-button-ink,var(--button-ink));
	border: 0;
	border-radius: var(--wplpd-button-radius,min(var(--radius),10px));
	min-height: 46px;
	line-height: 1.4;
	width: 100%;
	padding: 13px 18px;
	font-weight: 650;
	font-size: 14px;
	font-family: inherit;
	text-shadow: none;
	box-shadow: none;
	white-space: normal;
	cursor: pointer
}

body.wplpd-login #login .button-primary:hover {
	filter: brightness(.93)
}

body.wplpd-login #login .button-primary:disabled {
	opacity: .6;
	cursor: default
}

body.wplpd-login #login #nav,body.wplpd-login #login #backtoblog {
	padding: 0;
	margin: 22px 0 0;
	text-align: center;
	font-size: 12px;
	line-height: 1.6
}

body.wplpd-login #login #backtoblog {
	margin-top: 10px
}

body.wplpd-login #login a {
	color: var(--muted);
	text-decoration: none
}

body.wplpd-login #login a:hover {
	color: var(--accent);
	text-decoration: underline
}

body.wplpd-login #login .message,body.wplpd-login #login .notice,body.wplpd-login #login #login_error {
	box-sizing: border-box;
	background: var(--field);
	color: var(--ink);
	border-radius: 4px;
	box-shadow: none;
	margin-bottom: 20px;
	font-size: 13px;
	overflow-wrap: anywhere
}

body.wplpd-login #login .privacy-policy-page-link {
	margin: 20px 0 0;
	color: var(--muted)
}

body.wplpd-login .language-switcher {
	margin: 20px 0 0;
	padding: 0;
	color: var(--ink);
	max-width: 100%
}

body.wplpd-login .language-switcher form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px
}

.wplpd-footer {
	position: relative;
	text-align: center;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.6;
	margin: 25px 0 0;
	max-width: var(--wplpd-form-width,410px);
	overflow-wrap: anywhere
}

.wplpd-hero {
	display: none
}

.wplpd-scene {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none
}

.wplpd-scene span {
	position: absolute;
	width: 40vw;
	height: 40vw;
	border: 1px solid #ffffff28;
	border-radius: 50%;
	right: -15vw;
	top: -10vw
}

.wplpd-scene span:nth-child(2) {
	width: 55vw;
	height: 55vw;
	right: -22vw;
	top: -17vw
}

.wplpd-scene span:nth-child(3) {
	width: 45vw;
	height: 45vw;
	left: -25vw;
	top: auto;
	bottom: -25vw
}

body.wplpd-template-mono .wplpd-scene span {
	border: 2px solid #171717;
	right: -22vw;
	top: -17vw;
	border-radius: 0;
	transform: rotate(35deg)
}

body.wplpd-template-rose .wplpd-scene span {
	border: 30px solid #ffffff45
}

body.wplpd-split {
	padding-left: calc(48% + 24px)
}

body.wplpd-split .wplpd-hero {
	display: flex;
	box-sizing: border-box;
	flex-direction: column;
	justify-content: space-between;
	position: fixed;
	inset: 0 auto 0 0;
	width: 48%;
	padding: 48px;
	background: var(--hero);
	color: var(--hero-ink);
	overflow: hidden
}

body.wplpd-split #login {
	border: var(--wplpd-border-width,0px) solid var(--wplpd-border-color,var(--line));
	box-shadow: var(--shadow);
	background: var(--wplpd-form-background,transparent)
}

.wplpd-hero-brand {
	display: flex;
	gap: 12px;
	align-items: center;
	font-weight: 600;
	font-size: 18px;
	position: relative;
	z-index: 1;
	overflow-wrap: anywhere
}

.wplpd-hero-brand>span:first-child {
	font-size: 28px
}

.wplpd-hero-copy {
	position: relative;
	z-index: 1;
	max-width: 460px
}

.wplpd-eyebrow {
	font-size: 10px;
	letter-spacing: 3px;
	font-weight: 600;
	opacity: .8
}

.wplpd-hero h2 {
	font-size: clamp(32px,4.2vw,62px);
	line-height: 1.06;
	letter-spacing: -2px;
	margin: 18px 0;
	overflow-wrap: anywhere
}

.wplpd-hero p {
	font-size: 16px;
	line-height: 1.7;
	opacity: .8;
	max-width: 330px;
	overflow-wrap: anywhere
}

.wplpd-art {
	position: absolute;
	inset: 10% -20% 18% 10%;
	transform: rotate(-18deg)
}

.wplpd-art i {
	display: block;
	position: absolute;
	width: 65%;
	height: 65%;
	border: 1px solid #ffffff40;
	left: 15%;
	top: 10%;
	border-radius: 50%
}

.wplpd-art i:nth-child(2) {
	transform: translate(14%,14%)
}

.wplpd-art i:nth-child(3) {
	transform: translate(28%,28%)
}

.wplpd-template-ocean .wplpd-art {
	transform: rotate(-28deg);
	inset: 8% -30% 10% 14%
}

.wplpd-template-ocean .wplpd-art i {
	border-radius: 12px;
	height: 70%;
	background: linear-gradient(140deg,#ffffff15,transparent)
}

.wplpd-template-botanical .wplpd-art i {
	border-radius: 80% 0 80% 0;
	background: linear-gradient(145deg,#b9ddb733,transparent);
	border-color: #cbe3b940;
	transform: rotate(15deg)
}

.wplpd-template-botanical .wplpd-art i:nth-child(2) {
	transform: translate(20%,20%) rotate(15deg)
}

.wplpd-template-botanical .wplpd-art i:nth-child(3) {
	transform: translate(40%,40%) rotate(15deg)
}

.wplpd-template-sandstone .wplpd-art i {
	border-color: #6a4c372f;
	border-radius: 50% 50% 0 0;
	background: linear-gradient(160deg,#f8e9d245,#9a795330);
	transform: rotate(18deg)
}

.wplpd-template-sandstone .wplpd-art i:nth-child(2) {
	transform: translate(18%,10%) rotate(18deg)
}

.wplpd-template-sandstone .wplpd-art i:nth-child(3) {
	transform: translate(36%,20%) rotate(18deg)
}

body.wplpd-login.interim-login {
	padding: 24px;
	min-height: 100vh;
	display: flex
}

body.wplpd-login.interim-login .wplpd-hero,body.wplpd-login.interim-login .wplpd-footer {
	display: none
}

body.wplpd-login.interim-login #login {
	margin: 0
}

@media(max-width:760px) {
	body.wplpd-login,body.wplpd-split {
		padding: 32px 18px
	}

	body.wplpd-split .wplpd-hero {
		display: none
	}

	body.wplpd-split #login {
		border: var(--wplpd-border-width,1px) solid var(--wplpd-border-color,var(--line));
		background: var(--wplpd-form-background,var(--panel))
	}

	body.wplpd-login #login {
		padding: var(--wplpd-form-padding,28px)
	}

	.wplpd-intro h2 {
		font-size: 26px
	}

	.wplpd-logo {
		max-width: 110px
	}

}

@media(prefers-reduced-motion:reduce) {
	body.wplpd-login * {
		scroll-behavior: auto
	}

}

@media(forced-colors:active) {
	body.wplpd-login #login,body.wplpd-login #login .input,body.wplpd-login #login .button-primary {
		border: 1px solid ButtonText
	}

	.wplpd-mark {
		border: 1px solid CanvasText
	}

}

.wplpd-background {
	display: none;
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-color: var(--wplpd-background-color,transparent);
	background-image: var(--wplpd-background-image,none);
	background-size: var(--wplpd-background-size,cover);
	background-position: var(--wplpd-background-position,center);
	background-repeat: no-repeat;
}
body.wplpd-custom-background .wplpd-background { display: block; }
body.wplpd-custom-background .wplpd-scene { display: none; }
body.wplpd-custom-background .wplpd-hero { background: transparent; color: var(--ink); }
body.wplpd-has-background-image .wplpd-background::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--wplpd-overlay-color,#000);
	opacity: var(--wplpd-overlay-opacity,.2);
}
body.wplpd-align-left { align-items: flex-start; padding-left: max(24px,calc((100vw - 1200px)/2)); }
body.wplpd-align-right { align-items: flex-end; padding-right: max(24px,calc((100vw - 1200px)/2)); }
body.wplpd-login #login .wplpd-preview-register-note { color: var(--muted); margin: 0 0 22px; font-size: 12px; line-height: 1.6; }
body.wplpd-preview #login [hidden] { display: none !important; }
body.wplpd-login #login .input::placeholder { color: var(--muted); opacity: .8; }
@media(max-width:760px) {
	body.wplpd-align-left,body.wplpd-align-right { align-items: center; padding-left: 18px; padding-right: 18px; }
	body.wplpd-login #login { padding: min(var(--wplpd-form-padding,28px),40px); }
}
