/* Login page. Field styles shared with the help page (.hp-f). */
.lg-l {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 460px;
	padding: 24px 0;
}

.lg-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hp-f {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hp-f > span:first-child {
	font: 500 11px/14px var(--mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(9, 9, 11, .45);
}

.hp-f input {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border: 1px solid rgba(9, 9, 11, .12);
	border-radius: 6px;
	background: rgba(255, 255, 255, .6);
	font: inherit;
	font-size: 15px;
	color: var(--ink);
	outline: 0;
	transition: border-color .2s, background-color .2s;
}

.hp-f input:focus {
	border-color: var(--ink);
	background: #fff;
}

.lg-pw {
	position: relative;
	display: block;
}

.lg-pw input {
	padding-right: 48px;
}

.lg-eye {
	position: absolute;
	top: 50%;
	right: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-top: -17px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: none;
	color: rgba(9, 9, 11, .4);
	cursor: pointer;
}

.lg-eye svg {
	width: 18px;
	height: 18px;
}

.lg-eye:hover,
.lg-eye.on {
	color: var(--accent);
}

.lg-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 14px;
}

.lg-check {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(9, 9, 11, .6);
	cursor: pointer;
}

.lg-check input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--accent);
}

.lg-lost {
	color: rgba(9, 9, 11, .6);
	text-decoration: underline;
	text-decoration-color: rgba(9, 9, 11, .2);
	text-underline-offset: 3px;
	transition: color .2s;
}

.lg-lost:hover {
	color: var(--accent);
}

.lg-btn {
	margin-top: 8px;
	padding: 16px;
	border: 0;
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	font: 600 14px/1 inherit;
	font-family: inherit;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s;
}

.lg-btn:hover {
	background: var(--accent);
}

.lg-new {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px dashed rgba(9, 9, 11, .15);
	font-size: 14px;
	color: rgba(9, 9, 11, .5);
}

.lg-new .bw-more {
	margin-top: 0;
}

@media(max-width: 1023px) {
	.lg-l {
		max-width: none;
	}
}

/* Login art panel: light line drawing (ink strokes, one red accent) that draws itself once on load. */
@keyframes lgDraw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes lgPop {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes lgSpin {
	to {
		transform: rotate(360deg);
	}
}
