/* 03 Sign in */
.mr-auth {
	display: grid;
	grid-template-columns: minmax(0, 820fr) minmax(0, 620fr);
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--mr-surface);
}

.mr-auth__photo {
	position: relative;
	overflow: hidden;
	background: #1b1a17;
	min-height: 640px;
}

.mr-auth__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 100%;
}

.mr-auth__photo-logo {
	position: absolute;
	top: 45px;
	inset-inline-start: 52px;
	color: #fbfaf7;
}

.mr-auth__photo-logo .mr-logo__mark {
	color: #fbfaf7;
}

.mr-auth__quote {
	position: absolute;
	inset-inline-start: 52px;
	bottom: 122px;
	display: grid;
	justify-items: start;
}

.mr-auth__quote-badge {
	height: 32px;
	padding-inline: 18px;
}

.mr-auth__quote-text {
	margin-block-start: 0;
	font-size: 49.5px;
	line-height: 48px;
	color: #ffffff;
	text-shadow: 0 1px 24px rgba(0, 0, 0, 0.25);
}

.mr-auth__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 70px 80px 0 70px;
}

.mr-auth__logo .mr-logo__mark {
	width: 34px;
	height: 34px;
}

.mr-auth__logo {
	gap: 11px;
	align-self: flex-start;
	min-height: 34px;
}

.mr-auth__logo .mr-logo__word {
	font-size: 19px;
}

.mr-auth__logo .mr-logo__tld {
	font-size: 18px;
}

.mr-auth__body {
	flex: 1 0 auto;
}

.mr-auth__form {
	display: flex;
	flex-direction: column;
	max-width: 471px;
}

.mr-auth__form[hidden] {
	display: none;
}

.mr-auth__title {
	margin-block-start: 66px;
	font-size: 38px;
	line-height: 46px;
}

.mr-auth__sub {
	margin-block-start: 10px;
	font-size: 13px;
	line-height: 18px;
	color: var(--mr-muted);
}

.mr-auth__form .mr-alert {
	margin-block-start: 24px;
}

.mr-auth__field {
	gap: 9px;
	margin-block-start: 50px;
}

.mr-auth__field + .mr-auth__field {
	margin-block-start: 23px;
}

.mr-auth__field .mr-label--caps {
	line-height: 14px;
}

.mr-auth__field .mr-input {
	min-height: 56px;
	font-size: 14px;
	background: var(--mr-surface);
}

.mr-auth__field .mr-input:focus {
	background: var(--mr-white);
}

.mr-auth__forgot {
	margin-block-start: 0;
	text-align: end;
	font-size: 11px;
	line-height: 14px;
	font-weight: 700;
}

.mr-auth__forgot a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	margin-block: -9px;
}

.mr-auth__forgot a:hover,
.mr-auth__switch a:hover,
.mr-auth__legal a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mr-auth__submit {
	margin-block-start: 36px;
}

.mr-auth__or {
	margin-block-start: 21px;
	text-align: center;
	font-size: 9.5px;
	line-height: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--mr-ink-soft);
}

.mr-auth__google {
	margin-block-start: 26px;
	min-height: 52px;
}

.mr-auth__switch {
	display: grid;
	justify-items: center;
	gap: 9px;
	margin-block-start: 32px;
	font-size: 12px;
	line-height: 16px;
	color: var(--mr-muted);
}

.mr-auth__switch a {
	font-weight: 700;
	color: var(--mr-ink);
}

.mr-auth__switch a::before {
	content: "";
	display: block;
	margin-block: -14px 0;
	height: 14px;
}

.mr-auth__legal {
	position: absolute;
	inset-inline: 70px 80px;
	bottom: 72px;
	text-align: center;
	font-size: 10px;
	line-height: 14px;
	color: var(--mr-subtle);
	max-width: 471px;
}

.mr-auth__legal a {
	color: var(--mr-subtle);
}

.mr-auth [data-form="create"] .mr-auth__title,
.mr-auth [data-form="forgot"] .mr-auth__title {
	margin-block-start: 66px;
}

.mr-auth [data-form="create"] .mr-auth__field {
	margin-block-start: 22px;
}

.mr-auth [data-form="create"] .mr-auth__field:first-of-type {
	margin-block-start: 40px;
}

@media (max-height: 900px) and (min-width: 1025px) {
	.mr-auth__legal {
		position: static;
		margin: 48px 0 32px;
	}
}

@media (max-width: 1200px) {
	.mr-auth__panel {
		padding-inline: 56px;
	}

	.mr-auth__legal {
		inset-inline: 56px;
	}
}

@media (max-width: 1024px) {
	.mr-auth {
		grid-template-columns: 1fr;
	}

	.mr-auth__photo {
		display: none;
	}

	.mr-auth__panel {
		align-items: center;
		padding: 40px 24px 32px;
	}

	.mr-auth__logo {
		align-self: center;
	}

	.mr-auth__body {
		width: 100%;
		max-width: 471px;
	}

	.mr-auth__form {
		margin-inline: auto;
	}

	.mr-auth__title {
		margin-block-start: 48px;
	}

	.mr-auth__legal {
		position: static;
		margin-block-start: 48px;
	}
}

@media (max-width: 480px) {
	.mr-auth__panel {
		padding: 28px 16px 24px;
	}

	.mr-auth__title,
	.mr-auth [data-form] .mr-auth__title {
		margin-block-start: 36px;
		font-size: 32px;
		line-height: 40px;
	}

	.mr-auth__field {
		margin-block-start: 32px;
	}
}
