/* Login v5: the form is a line-art browser window in the /login/ ink style. Outlines draw (pathLength dash), contents fade in, extras drawn around. */
.l5-s {
	position: relative;
	overflow: hidden;
	padding: calc(var(--navh, 96px) + 56px) 24px 96px;
}

.l5-s::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 48%;
	width: 820px;
	height: 820px;
	margin: -410px 0 0 -410px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(232, 0, 13, .09), rgba(255, 150, 100, .06) 55%, transparent);
	filter: blur(20px);
	pointer-events: none;
}

.l5-stage {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
	padding: 44px 60px;
}

.l5-stage svg {
	overflow: visible;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.l5-stage .l {
	stroke: rgba(9, 9, 11, .25);
	stroke-width: 1.3;
}

.l5-stage .d {
	stroke-width: 1.3;
	stroke-dasharray: 4 4;
}

.l5-stage .fr {
	stroke: none;
}

.l5-stage .bg {
	fill: var(--bg);
	stroke: none;
}

.l5-stage text {
	stroke: none;
	font: 500 13px var(--mono);
}

.l5-stage .tk {
	fill: rgba(9, 9, 11, .65);
}

.l5-stage .dw,
.l5-box rect {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: lgDraw var(--t, 1s) cubic-bezier(.65, 0, .35, 1) var(--d, 0s) forwards;
}

.l5-stage .pop {
	opacity: 0;
	animation: lgPop .5s ease var(--d, 0s) forwards;
}

.l5-stage .spin {
	transform-box: fill-box;
	transform-origin: center;
	animation: lgSpin 12s linear infinite;
}

/* crop corners */
.l5-corners {
	position: absolute;
	top: 0;
	left: 0;
	width: 32px;
	height: 32px;
	opacity: 0;
	animation: l5Fade 1s ease .3s forwards;
}

.l5-corners.c-tr {
	left: auto;
	right: 0;
	transform: scaleX(-1);
}

.l5-corners.c-br {
	top: auto;
	bottom: 0;
	left: auto;
	right: 0;
	transform: scale(-1, -1);
}

.l5-corners.c-bl {
	top: auto;
	bottom: 0;
	transform: scaleY(-1);
}

@keyframes l5Fade {
	to {
		opacity: 1;
	}
}

/* window */
.l5-win {
	position: relative;
	padding: 52px 0 0;
}

.l5-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.l5-win::before {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: 15px;
	background: rgba(255, 255, 255, .4);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	opacity: 0;
	animation: l5Fade .8s ease .9s forwards;
}

.l5-url {
	position: absolute;
	top: 13px;
	left: 88px;
	right: 24px;
	z-index: 1;
	display: flex;
	height: 26px;
	padding: 0 12px;
	border: 1.3px solid rgba(9, 9, 11, .18);
	border-radius: 13px;
	font: 500 12px/1 var(--mono);
	color: rgba(9, 9, 11, .5);
}

.l5-url svg {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	stroke: currentColor;
}

.l5-body {
	position: relative;
	z-index: 1;
	padding: 36px 44px 34px;
}

.l5-h {
	margin: 10px 0 24px;
	font-size: 36px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.1;
}

/* drawn inputs and button */
.l5-in {
	position: relative;
	display: block;
}

.l5-box {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

.l5-f .l5-in input {
	position: relative;
	border: 0!important;
	background: transparent!important;
	opacity: 0;
	animation: l5Fade .5s ease 1.5s forwards;
}

.l5-in .lg-eye {
	z-index: 2;
}

.l5-btnw {
	position: relative;
	display: block;
	margin-top: 6px;
}

.l5-btn {
	width: 100%;
	margin: 0;
	background: transparent;
	color: transparent;
	animation: l5Btn .5s ease 2s forwards;
}

@keyframes l5Btn {
	to {
		background: var(--ink);
		color: #fff;
	}
}

.l5-btn:hover {
	background: var(--accent)!important;
}

/* extras around the window */
.l5-x {
	position: absolute;
	z-index: 2;
}

.l5-lock {
	right: -10px;
	bottom: -14px;
	width: 120px;
	height: 120px;
}

@media(prefers-reduced-motion: reduce) {
	.l5-stage .dw,
	.l5-box rect {
		animation: none;
		stroke-dashoffset: 0;
	}

	.l5-stage .pop,
	.l5-corners,
	.l5-win::before,
	.l5-f .l5-in input {
		animation: none;
		opacity: 1;
	}

	.l5-btn {
		animation: none;
		background: var(--ink);
		color: #fff;
	}
}

@media(max-width: 767px) {
	.l5-s {
		padding: calc(var(--navh, 96px) + 24px) 12px 56px;
	}

	.l5-stage {
		padding: 20px 4px;
	}

	.l5-x,
	.l5-corners {
		display: none;
	}

	.l5-body {
		padding: 28px 20px 24px;
	}

	.l5-h {
		font-size: 30px;
	}

	.l5-url {
		left: 80px;
		right: 14px;
	}
}

/* Line colours: frame ink 45% 1.5px, lines 30% 1px, inner 20-30%, corners 30% 2px, guide 12% dashed 4/10, red #d4082e at 70% */
.l5-stage .k {
	stroke: rgba(9, 9, 11, .45);
	stroke-width: 1.5;
}

.l5-stage .m {
	stroke: rgba(9, 9, 11, .3);
	stroke-width: 1;
}

.l5-stage .gd {
	fill: rgba(9, 9, 11, .2);
	stroke: none;
}

.l5-stage .fr {
	fill: rgba(212, 8, 46, .7);
}

.l5-stage .r {
	stroke: rgba(212, 8, 46, .7);
	stroke-width: 1.5;
}

.l5-stage .tr {
	fill: rgba(212, 8, 46, .85);
}

.l5-stage .d {
	stroke: rgba(212, 8, 46, .7);
}

.l5-corners path {
	stroke: rgba(9, 9, 11, .3);
	stroke-width: 2;
}

.l5-box rect {
	transition: stroke .2s;
	stroke: rgba(9, 9, 11, .3);
	stroke-width: 1;
}

.l5-btnw .l5-box rect {
	stroke: rgba(9, 9, 11, .45);
	stroke-width: 1.5;
}

.l5-f:focus-within .l5-box rect {
	stroke: rgba(212, 8, 46, .7);
	stroke-width: 1.5;
}

.l5-url {
	align-items: center;
	gap: 8px;
	border-color: rgba(9, 9, 11, .2);
	border-width: 1px;
}

.l5-guide rect {
	fill: none;
	stroke: rgba(9, 9, 11, .12);
	stroke-width: 1;
	stroke-dasharray: 4 10;
}

@media(max-width: 767px) {
	.l5-guide {
		display: none;
	}
}

/* Update pill swapped for 3 grey dots; today's update count as a tag on the window's bottom-left */
.l5-dots {
	width: 12px;
	height: 72px;
}

.l5-dots circle {
	fill: none;
}

.l5-today {
	left: -20px;
	bottom: 22px;
	width: 196px;
	height: 44px;
	display: block;
}

.l5-today svg {
	width: 100%;
	height: 100%;
	overflow: visible;
	fill: none;
}

.l5-today:hover .k {
	stroke: var(--accent);
}

/* Frame: one dashed guide box around window, tag and padlock, crop corners just outside it; the right line breaks for the 3 dots */
.l5-guide {
	position: absolute;
	pointer-events: none;
	opacity: 0;
	animation: l5Fade 1s ease .2s forwards;
	inset: 18px 18px -30px;
	width: auto;
	height: auto;
}

.l5-guide i {
	position: absolute;
	--g: rgba(9, 9, 11, .14);
}

.l5-guide .g-t,
.l5-guide .g-b {
	left: 0;
	right: 0;
	height: 1px;
	background: repeating-linear-gradient(90deg, var(--g) 0 4px, transparent 4px 14px);
}

.l5-guide .g-t {
	top: 0;
}

.l5-guide .g-b {
	bottom: 0;
}

.l5-guide .g-l,
.l5-guide .g-r1,
.l5-guide .g-r2 {
	width: 1px;
	background: repeating-linear-gradient(180deg, var(--g) 0 4px, transparent 4px 14px);
}

.l5-guide .g-l {
	left: 0;
	top: 0;
	bottom: 0;
}

/* right line: top run ends on a full dash (130 = 9x14+4), gap of 100px, dots centred in it with equal 14px space above and below */
.l5-guide .g-r1 {
	right: 0;
	top: 0;
	height: 130px;
}

.l5-guide .g-r2 {
	right: 0;
	top: 230px;
	bottom: 0;
}

/* crop corners sit 16px outside the dashed frame, not on it */
.l5-corners.c-br,
.l5-corners.c-bl {
	top: auto;
	bottom: -48px;
}

.l5-dots {
	right: 12.5px;
	top: 162px;
}

/* Equal 34px gap between the dashed frame and the window on top, left and right (was 26 top / 42 sides) */

/* Bottom gap 50px (was 74); padlock backing widened to its dashed ring so the frame line breaks behind it like the tag */
@media(min-width: 768px) {
	.l5-corners.c-br,
	.l5-corners.c-bl {
		bottom: -24px;
	}
}

/* Fewer reds: padlock ring goes grey (first window dot stays red); red stays on label, active field, live count and the check */
.l5-stage .l5-lock .d {
	stroke: rgba(9, 9, 11, .25);
}

/* 32px gap between frame and window on all 4 sides; the updates tag sits on the frame bottom-left corner (centred on the bottom dashed line) */
@media(min-width: 768px) {
	.l5-stage {
		padding: 50px 50px 44px;
	}

	.l5-guide {
		bottom: 12px;
	}

	.l5-today {
		left: 0;
		bottom: -10px;
	}
}

.l5-corners.c-br,
.l5-corners.c-bl {
	display: none;
}

/* Padlock 80% of the way from the frame corner (-42/-48) back to the window corner (-10/-14): sits just below and right of the window corner */
@media(min-width: 768px) {
	.l5-lock {
		right: -16px;
		bottom: -21px;
	}
}

/* Left line breaks for 2 dots just above the updates tag (gap 70-140px above the frame bottom, dots centred with 14px space each side); top run drawn bottom-up so it ends on a full dash */
.l5-guide .g-l1,
.l5-guide .g-l2 {
	left: 0;
	width: 1px;
	background: repeating-linear-gradient(180deg, var(--g) 0 4px, transparent 4px 14px);
}

.l5-guide .g-l1 {
	top: 0;
	bottom: 140px;
	background-image: repeating-linear-gradient(0deg, var(--g) 0 4px, transparent 4px 14px);
}

.l5-guide .g-l2 {
	bottom: 0;
	height: 70px;
}

.l5-dots.l5-dots-l {
	top: auto;
	right: auto;
	left: 12.5px;
	bottom: 96px;
	height: 42px;
}

/* BoostWP Core login canvas views (forgot / sent / reset / done) */
.l3-ok {
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: 6px;
	background: rgba(9, 9, 11, .04);
	border: 1px solid rgba(9, 9, 11, .15);
	font-size: 13px;
	line-height: 19px;
	color: rgba(9, 9, 11, .75);
}

.l6-lead {
	margin: -6px 0 22px;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(9, 9, 11, .6);
}

.l6-lead b {
	color: var(--ink);
}

.l6-back {
	display: inline-block;
	margin-top: 18px;
	font-size: 14px;
	font-weight: 500;
	color: rgba(9, 9, 11, .6);
	text-decoration: none;
}

.l6-back:hover {
	color: var(--accent);
}

.l6-resend {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(9, 9, 11, .6);
}

.l6-resend button {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 600;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-underline-offset: 3px;
	cursor: pointer;
}

.l6-resend [data-wait] {
	font: 500 12px var(--mono);
	color: rgba(9, 9, 11, .45);
}

.l6-rules {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	list-style: none;
	margin: -4px 0 18px;
	padding: 0;
	font: 500 12px var(--mono);
	color: rgba(9, 9, 11, .45);
}

.l6-rules li::before {
	content: "○ ";
}

.l6-rules li.ok {
	color: rgba(9, 9, 11, .8);
}

.l6-rules li.ok::before {
	content: "✓ ";
	color: var(--accent);
}

.l6-rules.err li:not(.ok) {
	color: #b00009;
}

.l6-btn-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-decoration: none;
	background: var(--ink)!important;
	color: #fff!important;
	animation: none;
}

.l6-ts {
	margin: 4px 0 14px;
}
