﻿/* =====================================================================
   Account activation (OTP) — Activate / VerifyCode / CreatePassword / Activated
   User activation (2026-11-03): renamed from Content/css/account-activation.css.
   Base look copied from Views/Account/Login.cshtml so the flow matches the
   login page. Login.cshtml keeps its own inline copy and is not linked here.
   Differences from the login copy:
     - @keyframes / @media written once (Razor needed @@ inside the view)
     - #login-button  → .auth-btn   (class, reused on every step)
     - input[type=email] added to the field rules
     - login-only rules dropped (hero tagline swap for returning users)
     - activation-only rules at the bottom
   ===================================================================== */

:root {
	/* brand purple sampled from logo.png (#5F4C9A) */
	--primary: #5F4C9A;
	--primary-light: #9B87D3;
	--primary-dark: #3E3070;
	--bg-deep: #14102A;
	--bg-panel: #1B1535;
	--text-main: #ECE9F4;
	--text-muted: #A79FC0;
	--glass-bg: rgba(255, 255, 255, 0.06);
	--glass-border: rgba(255, 255, 255, 0.12);
	--danger: #EF5350;
	--success: #4CAF7A;
	--warn: #E0A93B;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
	font-family: 'Inter', 'Segoe UI', Tahoma, Arial, sans-serif;
	background: var(--bg-deep);
	color: var(--text-main);
	overflow: hidden;
}

/* ---------- Split layout, full-page living background ---------- */
.split {
	display: flex;
	height: 100%;
	padding-top: 86px;
	position: relative;
	overflow: hidden;
	background: radial-gradient(ellipse at 20% 30%, rgba(95, 76, 154, 0.28), transparent 55%), radial-gradient(ellipse at 80% 80%, rgba(62, 48, 112, 0.38), transparent 60%), linear-gradient(160deg, #14102A 0%, #1E1740 55%, #100C22 100%);
}

	.split > svg.routes {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		z-index: 0;
		will-change: transform;
	}

/* interactive constellation canvas, under the routes */
#net {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}

/* drifting ambient glow */
.ambient {
	position: absolute;
	width: 60vw;
	height: 60vw;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(122, 99, 188, 0.16), transparent 65%);
	filter: blur(40px);
	pointer-events: none;
	z-index: 0;
	animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
	from {
		transform: translate(-12vw, -8vh) scale(1);
	}

	to {
		transform: translate(28vw, 14vh) scale(1.25);
	}
}

.ambient.b2 {
	width: 45vw;
	height: 45vw;
	inset-inline-end: -12vw;
	bottom: -12vh;
	background: radial-gradient(circle, rgba(155, 135, 211, 0.14), transparent 65%);
	animation: drift2 22s ease-in-out infinite alternate;
}

@keyframes drift2 {
	from {
		transform: translate(6vw, 4vh) scale(1.1);
	}

	to {
		transform: translate(-20vw, -12vh) scale(0.9);
	}
}

/* flowing comet animation along the routes */
.routes path.flow {
	stroke-dasharray: 160 900;
	animation: dashflow linear infinite;
}

@keyframes dashflow {
	from {
		stroke-dashoffset: 1060;
	}

	to {
		stroke-dashoffset: 0;
	}
}

/* Left hero */
.hero {
	flex: 1.2;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-copy {
	position: relative;
	z-index: 2;
	max-width: 520px;
	padding: 40px;
	user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

	.hero-copy h2 {
		font-size: 38px;
		font-weight: 700;
		line-height: 1.2;
		margin-bottom: 16px;
	}

		.hero-copy h2 span {
			background: linear-gradient(90deg, var(--primary-light), #CBBDEE, var(--primary-light));
			background-size: 200% auto;
			-webkit-background-clip: text;
			background-clip: text;
			-webkit-text-fill-color: transparent;
			color: transparent;
			animation: sheen 5s linear infinite;
		}

@keyframes sheen {
	to {
		background-position: 200% center;
	}
}

.hero-copy p {
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1.6;
}

/* product mockup under the hero text */
.hero-devices {
	display: block;
	width: 100%;
	max-width: 500px;
	margin-top: 8px;
	filter: drop-shadow(0 24px 40px rgba(62, 48, 112, 0.35));
	animation: floatY 7s ease-in-out infinite;
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
}

@keyframes floatY {
	0%, 100% {
		transform: translateY(0) rotate(-1deg);
	}

	50% {
		transform: translateY(-14px) rotate(0.5deg);
	}
}

/* Right panel + glass card — transparent, background shows through */
.form-side {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1;
	padding: 24px;
	overflow-y: auto;
}

.login-card {
	width: 100%;
	max-width: 400px;
	background: rgba(27, 21, 53, 0.55);
	border: 1px solid var(--glass-border);
	border-radius: 16px;
	padding: 36px 32px;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
	animation: cardIn .5s ease both;
}

@keyframes cardIn {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.login-card h1 {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 6px;
	text-align: center;
}

	.login-card h1 strong {
		color: var(--primary-light);
		font-weight: 700;
	}

.login-card .subtitle {
	color: var(--text-muted);
	font-size: 13px;
	line-height: 1.55;
	margin-bottom: 26px;
	text-align: center;
}

.field {
	margin-bottom: 16px;
}

	.field label {
		display: block;
		font-size: 12px;
		font-weight: 600;
		color: var(--text-muted);
		text-transform: uppercase;
		letter-spacing: .5px;
		margin-bottom: 6px;
	}

	.field .input-wrap {
		position: relative;
	}

	.field input[type=text], .field input[type=password], .field input[type=email] {
		width: 100%;
		background: rgba(255, 255, 255, 0.05);
		border: 1px solid var(--glass-border);
		border-radius: 10px;
		color: var(--text-main);
		font-family: inherit;
		font-size: 14px;
		padding: 12px 14px;
		padding-inline-end: 42px;
		outline: none;
		transition: border-color .2s, box-shadow .2s, background .2s;
	}

	.field input::placeholder {
		color: rgba(167, 159, 192, 0.55);
	}

	.field input:focus {
		border-color: var(--primary-light);
		background: rgba(255, 255, 255, 0.08);
		box-shadow: 0 0 0 3px rgba(155, 135, 211, 0.25);
	}

	.field input[readonly] {
		opacity: .75;
		cursor: default;
	}

	.field .icon {
		position: absolute;
		top: 50%;
		inset-inline-end: 14px;
		transform: translateY(-50%);
		width: 16px;
		height: 16px;
		fill: var(--text-muted);
		pointer-events: none;
	}

/* primary action — same look as #login-button */
.auth-btn {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 13px;
	border: none;
	border-radius: 10px;
	position: relative;
	overflow: hidden;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	background: linear-gradient(135deg, #7A63BC 0%, var(--primary) 55%, var(--primary-dark) 100%);
	box-shadow: 0 6px 18px rgba(95, 76, 154, 0.45);
	transition: transform .15s, box-shadow .2s, filter .2s;
}

	.auth-btn:hover {
		filter: brightness(1.15);
		box-shadow: 0 8px 24px rgba(122, 99, 188, 0.6);
	}

	/* shimmer sweep across the button */
	.auth-btn::after {
		content: '';
		position: absolute;
		top: 0;
		height: 100%;
		width: 40%;
		left: -60%;
		background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
		animation: shimmer 3.5s ease-in-out infinite;
		pointer-events: none;
	}

@keyframes shimmer {
	0% {
		left: -60%;
	}

	55%, 100% {
		left: 130%;
	}
}

.auth-btn:active {
	transform: translateY(1px);
}

.auth-btn:disabled {
	filter: grayscale(.6) brightness(.9);
	box-shadow: none;
	cursor: not-allowed;
}

	.auth-btn:disabled::after {
		animation: none;
	}

/* Busy: the request is running (sending the email, checking the code, saving the password).
   Set by setBusy() in user-activationLayout.cshtml. Keeps its colour (not greyed like :disabled)
   and shows a spinner, so it's clear something is happening. */
.auth-btn.is-busy,
.auth-btn.is-busy:disabled {
	filter: none;
	cursor: progress;
}

	.auth-btn.is-busy::before {
		content: '';
		display: inline-block;
		width: 14px;
		height: 14px;
		margin-inline-end: 8px;
		vertical-align: -2px;
		border: 2px solid rgba(255, 255, 255, 0.45);
		border-top-color: #fff;
		border-radius: 50%;
		animation: auth-spin .8s linear infinite;
	}

.auth-links button.link.is-busy {
	cursor: progress;
}

@keyframes auth-spin {
	to {
		transform: rotate(360deg);
	}
}

/* hide floating reCAPTCHA badge — attribution text shown instead (per Google policy) */
.grecaptcha-badge {
	visibility: hidden !important;
}

.recaptcha-note {
	margin-top: 14px;
	font-size: 10.5px;
	line-height: 1.5;
	color: rgba(167, 159, 192, 0.7);
	text-align: center;
}

	.recaptcha-note a {
		color: var(--primary-light);
		text-decoration: none;
	}

/* server-side ModelState errors (Html.ValidationSummary) */
.auth-error {
	margin-top: 14px;
	font-size: 13px;
	color: var(--danger);
	text-align: center;
}

	.auth-error ul {
		list-style: none;
	}

/* ---------- Footer ---------- */
.footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 10px 28px;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 11px;
	color: var(--text-muted);
	background: rgba(20, 16, 42, 0.55);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	z-index: 10;
}

	.footer a {
		color: var(--primary-light);
		text-decoration: none;
	}


/* =====================================================================
   Activation-only
   ===================================================================== */

/* the address being activated, echoed under the subtitle */
.email-echo {
	display: block;
	margin-top: 4px;
	font-weight: 600;
	color: var(--primary-light);
	word-break: break-all;
}

/* info / warn / success / error boxes (lookup outcomes, resend notice, expiry) */
.auth-msg {
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 10px;
	border-inline-start: 4px solid;
	font-size: 13px;
	line-height: 1.55;
	text-align: start;
}

	.auth-msg strong {
		display: block;
		margin-bottom: 2px;
	}

	.auth-msg a {
		color: inherit;
		font-weight: 700;
	}

	.auth-msg.is-info {
		background: rgba(155, 135, 211, 0.12);
		border-color: var(--primary-light);
		color: var(--text-main);
	}

	.auth-msg.is-warn {
		background: rgba(224, 169, 59, 0.12);
		border-color: var(--warn);
		color: var(--text-main);
	}

	.auth-msg.is-error {
		background: rgba(239, 83, 80, 0.12);
		border-color: var(--danger);
		color: var(--text-main);
	}

	.auth-msg.is-success {
		background: rgba(76, 175, 122, 0.12);
		border-color: var(--success);
		color: var(--text-main);
	}

/* ---- OTP entry ---- */
.otp-input {
	display: block;
	width: 100%;
	height: 56px;
	padding: 6px 10px;
	font-family: Consolas, 'Courier New', monospace;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 14px;
	text-indent: 14px; /* letter-spacing adds trailing space; this re-centers the digits */
	text-align: center;
	color: var(--text-main);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--glass-border);
	border-radius: 10px;
	outline: none;
	transition: border-color .2s, box-shadow .2s, background .2s;
}

	.otp-input::placeholder {
		color: rgba(167, 159, 192, 0.45);
		letter-spacing: 10px;
	}

	.otp-input:focus {
		border-color: var(--primary-light);
		background: rgba(255, 255, 255, 0.08);
		box-shadow: 0 0 0 3px rgba(155, 135, 211, 0.25);
	}

	.otp-input:disabled {
		opacity: .5;
		cursor: not-allowed;
	}

.otp-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 10px 0 8px;
	font-size: 12px;
	color: var(--text-muted);
}

	.otp-meta .low {
		color: var(--danger);
		font-weight: 600;
	}

/* ---- Password policy checklist ---- */
.policy {
	list-style: none;
	margin: -4px 0 16px;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	font-size: 12px;
	color: var(--text-muted);
}

	.policy li {
		position: relative;
		margin: 4px 0;
		padding-inline-start: 20px;
	}

		.policy li::before {
			content: "\25CB"; /* ○ */
			position: absolute;
			inset-inline-start: 2px;
			color: var(--text-muted);
			opacity: .6;
		}

		.policy li.ok {
			color: var(--success);
		}

			.policy li.ok::before {
				content: "\2714";
				color: var(--success);
				opacity: 1;
			}
	/* ✔ */

	/* ---- Password strength bar (User activation, 2026-11-17) ----
   .policy is now a <div> holding the bar + a shorter <ul> (length, not your email). */
	.policy ul {
		list-style: none;
		margin: 6px 0 0;
		padding: 0;
	}

.strength-track {
	height: 6px;
	border-radius: 3px;
	background: var(--glass-border);
	overflow: hidden;
}

.strength-fill {
	width: 0;
	height: 100%;
	border-radius: 3px;
	background: var(--text-muted);
	transition: width .2s ease, background-color .2s ease;
}

.strength-text {
	margin-top: 6px;
}

	.strength-text b {
		font-weight: 600;
	}

.strength-hint {
	margin-top: 2px;
}

	.strength-hint:empty {
		display: none;
	}

.strength[data-level="weak"] .strength-fill {
	background: var(--danger);
}

.strength[data-level="weak"] .strength-text b,
.strength[data-level="weak"] .strength-hint {
	color: var(--danger);
}

.strength[data-level="good"] .strength-fill {
	background: var(--warn);
}

.strength[data-level="good"] .strength-text b {
	color: var(--warn);
}

.strength[data-level="strong"] .strength-fill {
	background: var(--success);
}

.strength[data-level="strong"] .strength-text b {
	color: var(--success);
}

/* ---- Secondary links under the action, divider below (same pattern as the login card) ---- */
.auth-links {
	margin-top: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--glass-border);
	font-size: 13px;
	color: var(--text-muted);
	text-align: center;
}

	.auth-links a,
	.auth-links button.link {
		color: var(--primary-light);
		font-family: inherit;
		font-size: inherit;
		font-weight: 600;
		text-decoration: none;
		background: none;
		border: none;
		padding: 0;
		cursor: pointer;
	}

		.auth-links a:hover,
		.auth-links button.link:hover {
			text-decoration: underline;
		}

		.auth-links button.link:disabled {
			color: var(--text-muted);
			font-weight: 400;
			text-decoration: none;
			cursor: not-allowed;
		}

	.auth-links .sep {
		margin: 0 8px;
		opacity: .5;
	}

/* ---- Done screen ---- */
.success-mark {
	display: block;
	width: 60px;
	height: 60px;
	margin: 6px auto 18px;
	border-radius: 50%;
	border: 2px solid var(--success);
	background: rgba(76, 175, 122, 0.12);
	color: var(--success);
	font-size: 30px;
	line-height: 56px;
	text-align: center;
}

/* ---- App store badges (Activated screen) ----
   NOTE: hand-drawn stand-ins. Apple and Google require their own official
   badge artwork, unmodified — swap in the official assets before release. */
.app-promo {
	margin-top: 22px;
	text-align: center;
}

.app-promo-title {
	margin-bottom: 12px;
	font-size: 12px;
	color: var(--text-muted);
}

.store-badges {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

.store-badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-width: 148px;
	padding: 7px 13px;
	background: #000;
	border: 1px solid #000;
	border-radius: 8px;
	color: #fff;
	text-decoration: none;
	transition: opacity .15s ease;
}

	.store-badge:hover {
		opacity: .85;
	}

	.store-badge svg {
		width: 22px;
		height: 22px;
		flex: 0 0 auto;
	}

	.store-badge .badge-text {
		text-align: start;
		line-height: 1.15;
	}

	.store-badge .badge-sub {
		display: block;
		font-size: 9.5px;
		letter-spacing: .4px;
		text-transform: uppercase;
		opacity: .85;
	}

	.store-badge .badge-main {
		display: block;
		font-size: 15px;
		font-weight: 600;
	}


/* ---------- Light theme overrides (html.light) ---------- */
html.light {
	--bg-deep: #F4F2FA;
	--bg-panel: #FFFFFF;
	--text-main: #2A2440;
	--text-muted: #6E678A;
	--glass-bg: rgba(255, 255, 255, 0.75);
	--glass-border: rgba(95, 76, 154, 0.16);
	--success: #2F8A57;
	--warn: #B7801A;
}

	html.light .split {
		background: radial-gradient(ellipse at 20% 30%, rgba(95, 76, 154, 0.10), transparent 55%), radial-gradient(ellipse at 80% 80%, rgba(122, 99, 188, 0.12), transparent 60%), linear-gradient(160deg, #FBFAFE 0%, #EFEBF8 55%, #F5F3FB 100%);
	}

	html.light .footer {
		background: rgba(255, 255, 255, 0.65);
		border-color: rgba(95, 76, 154, 0.10);
	}

	html.light .ambient {
		background: radial-gradient(circle, rgba(95, 76, 154, 0.10), transparent 65%);
	}

	html.light .routes {
		opacity: 1;
	}

		/* stronger purples so routes stay visible on light bg */
		html.light .routes path.flow {
			stroke: #5F4C9A;
		}

		html.light .routes circle {
			fill: #7A63BC;
		}

		/* radar rings must stay outlines — the fill rule above would make them solid discs */
		html.light .routes .radar circle {
			fill: none;
		}

	html.light .ambient.b2 {
		background: radial-gradient(circle, rgba(122, 99, 188, 0.12), transparent 65%);
	}

	html.light .login-card {
		background: #fff;
		border: 1px solid rgba(95, 76, 154, 0.12);
		border-radius: 20px;
		padding: 44px 38px 34px;
		box-shadow: 0 8px 20px rgba(95, 76, 154, 0.10), 0 28px 70px rgba(95, 76, 154, 0.25);
		position: relative;
		overflow: hidden;
	}

		/* brand gradient accent along the card top */
		html.light .login-card::before {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			height: 5px;
			background: linear-gradient(90deg, #7A63BC, #5F4C9A, #9B87D3);
		}

	html.light .field label {
		color: var(--primary-dark);
	}

	html.light .field input[type=text],
	html.light .field input[type=password],
	html.light .field input[type=email],
	html.light .otp-input {
		background: #F8F7FC;
		border-color: #E0DBEE;
	}

		html.light .field input:focus,
		html.light .otp-input:focus {
			background: #fff;
		}

	html.light .policy {
		background: #F4F2FA;
	}

	html.light .hero-copy h2 span {
		background-image: linear-gradient(90deg, #5F4C9A, #9B87D3, #5F4C9A);
	}

	html.light .login-card h1 strong,
	html.light .footer a,
	html.light .recaptcha-note a,
	html.light .auth-links a,
	html.light .auth-links button.link,
	html.light .email-echo {
		color: var(--primary);
	}

		html.light .auth-links button.link:disabled {
			color: var(--text-muted);
		}


@media (prefers-reduced-motion: reduce) {
	.routes path.flow, .ambient, .login-card, .hero-copy h2 span, .auth-btn::after, .hero-devices {
		animation: none;
	}

	.routes path.flow {
		stroke-dasharray: none;
		opacity: 0.4;
	}
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.hero {
		display: none;
	}

	.footer {
		flex-direction: column;
		gap: 2px;
		text-align: center;
	}
}


/* =====================================================================
   Activation UX additions (step indicator, links layout, show/hide password)
   ===================================================================== */

/* "Step 2 of 3" above each card title */
.step-label {
	margin-bottom: 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .8px;
	text-transform: uppercase;
	text-align: center;
	color: var(--primary-light);
}

html.light .step-label {
	color: var(--primary);
}

/* Left panel on wide screens: the three steps, current one highlighted */
.hero-steps {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
}

	.hero-steps li {
		display: flex;
		align-items: center;
		gap: 14px;
		margin-bottom: 16px;
		font-size: 15px;
		color: var(--text-muted);
	}

	.hero-steps .num {
		flex: 0 0 auto;
		width: 32px;
		height: 32px;
		border-radius: 50%;
		border: 2px solid var(--glass-border);
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 13px;
		font-weight: 700;
	}

	.hero-steps li.current {
		color: var(--text-main);
		font-weight: 600;
	}

		.hero-steps li.current .num {
			border-color: var(--primary);
			background: var(--primary);
			color: #fff;
		}

	.hero-steps li.done .num {
		border-color: var(--success);
		background: var(--success);
		color: #fff;
	}

/* Links under the action: one idea per line */
.auth-links .links-row + .links-row {
	margin-top: 8px;
}

.auth-links .hint {
	color: var(--text-muted);
}

/* Show / hide password (eye button inside the field) */
.field .pw-toggle {
	position: absolute;
	top: 50%;
	inset-inline-end: 8px;
	transform: translateY(-50%);
	padding: 4px 8px;
	border: none;
	border-radius: 6px;
	background: transparent;
	color: var(--text-muted);
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

	.field .pw-toggle:hover {
		color: var(--primary);
		background: rgba(95, 76, 154, 0.08);
	}

/* Message boxes: announced by screen readers (aria-live in the views), short entrance */
.auth-msg {
	animation: msgIn .25s ease both;
}

@keyframes msgIn {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.auth-msg, .auth-btn.is-busy::before {
		animation: none;
	}
}


/* =====================================================================
   Responsive. Only these activation pages load this file, so the old
   header / style.css is adapted here without touching Login or the app.
   ===================================================================== */

/* style.css (shared, old) sets body { min-width: 1300px; } — every page is laid out 1300 px wide and
   shrunk on phones (tiny text, card lost in the middle). Undo it here; "html body" outranks "body". */
html body {
	min-width: 0;
}

/* Tablets and phones: compact header — logo + language switch only (the full menu would wrap).
   The header's inline style sets height 79px, hence !important. */
@media (max-width: 900px) {
	#north {
		height: 62px !important;
	}

	.logo {
		width: 148px;
		height: auto;
		margin: 14px 0 0 14px;
	}

	.menus {
		margin-right: 12px;
	}

	#main-menu,
	.small-menu .c1,
	.small-menu .c2 .login,
	.small-menu .c2 .i1,
	.small-menu .c2 .i2 {
		display: none;
	}

	.small-menu {
		margin-top: 22px;
	}

	.split {
		padding-top: 62px;
	}
}

/* Phones */
@media (max-width: 760px) {
	/* The page scrolls normally instead of the inner panel */
	html, body {
		height: auto;
		overflow: auto;
	}

	.split {
		height: auto;
		min-height: 100vh;
		padding-top: 62px;
	}

	.form-side {
		align-items: flex-start;
		padding: 18px 12px 24px;
		overflow: visible;
	}

	.login-card,
	html.light .login-card {
		padding: 28px 20px 24px;
		border-radius: 16px;
	}

		.login-card h1 {
			font-size: 20px;
		}

	/* 16px inputs: iOS zooms the page on focus when a field's text is smaller */
	.field input[type=text],
	.field input[type=password],
	.field input[type=email] {
		font-size: 16px;
	}

	.otp-input {
		font-size: 24px;
		letter-spacing: 10px;
		text-indent: 10px;
		height: 52px;
	}

	/* Footer below the content instead of on top of it */
	.footer {
		position: static;
		padding: 10px 14px;
	}
}
