.container {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
	background-color: var(--brand-primary);
}

/* Mobile-only logo banner inside the form column. Hidden by
   default — only revealed when the desktop side-column is
   collapsed in the mobile media query below. */
.mobileLogo {
	display: none;
}

.pattern {
	position: fixed;
	inset: 0;
	opacity: 0.06;
	pointer-events: none;
	z-index: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Ccircle cx='30' cy='30' r='8'/%3E%3Ccircle cx='130' cy='30' r='6'/%3E%3Ccircle cx='230' cy='30' r='8'/%3E%3Ccircle cx='80' cy='80' r='10'/%3E%3Ccircle cx='180' cy='80' r='6'/%3E%3Ccircle cx='30' cy='130' r='6'/%3E%3Ccircle cx='130' cy='130' r='8'/%3E%3Ccircle cx='230' cy='130' r='10'/%3E%3Ccircle cx='80' cy='180' r='6'/%3E%3Ccircle cx='180' cy='180' r='8'/%3E%3Ccircle cx='30' cy='230' r='10'/%3E%3Ccircle cx='130' cy='230' r='6'/%3E%3Ccircle cx='230' cy='230' r='8'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 260px 260px;
}

.cardContainer {
	position: relative;
	z-index: 10;
	display: flex;
	min-height: 100vh;
	width: 100%;
	align-items: center;
	justify-content: center;
	padding: clamp(2rem, 6vw, 4rem);
	box-sizing: border-box;
}

.card {
	display: flex;
	height: auto;
	min-height: 500px;
	width: 100%;
	max-width: 56rem;
	overflow: hidden;
	border-radius: 1rem;
	background-color: var(--background-secondary);
	box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.logoSide {
	display: flex;
	width: 33.333%;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 3rem 2rem;
	border-right: 1px solid var(--background-modifier-accent);
	background-color: var(--background-secondary);
}

.logoIcon {
	width: 6rem;
	height: 6rem;
	margin-bottom: 1.5rem;
	border-radius: 50%;
	background-color: var(--brand-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 2.5rem;
	font-weight: 700;
}

.wordmark {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text-primary);
	letter-spacing: -0.01em;
}

.formSide {
	display: flex;
	width: 66.667%;
	flex-direction: column;
	justify-content: center;
	padding: 3rem;
	background: var(--background-secondary);
}

@media (max-width: 768px) {
	/* Strip the purple branded backdrop on mobile — Fluxer's
	   reference is just a flat dark surface with no card chrome.
	   Uses `--background-secondary` so the inputs (which use the
	   darker `--background-tertiary`) visibly recess into the page. */
	.container {
		background-color: var(--background-secondary);
	}

	.pattern {
		display: none;
	}

	.cardContainer {
		padding: 0;
		min-height: 100vh;
		min-height: 100dvh;
		align-items: stretch;
	}

	/* The card collapses into a borderless full-screen surface and
	   the desktop side column is hidden — its content gets
	   re-rendered inside the form column via the `.mobileLogo`
	   banner so the layout becomes a single vertical stack. */
	.card {
		flex-direction: column;
		min-height: 100vh;
		min-height: 100dvh;
		max-width: none;
		border-radius: 0;
		box-shadow: none;
		background-color: var(--background-secondary);
	}

	.logoSide {
		display: none;
	}

	.formSide {
		width: 100%;
		padding: 32px 24px 24px;
		background-color: var(--background-secondary);
		justify-content: flex-start;
	}

	/* Reveal the in-form-column logo banner. */
	.mobileLogo {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin: 8px 0 28px;
	}

	.mobileLogoIcon {
		width: 36px;
		height: 36px;
		border-radius: 50%;
		background-color: var(--brand-primary);
		display: flex;
		align-items: center;
		justify-content: center;
		color: #fff;
		font-size: 18px;
		font-weight: 700;
	}

	.mobileWordmark {
		font-size: 22px;
		font-weight: 800;
		color: var(--text-primary);
		letter-spacing: -0.01em;
	}
}
