html,
body {
	height: 100%;
}
body {
	margin: 0;
	background-color: #f5f6fa;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.login-wrapper {
	display: table;
	width: 100%;
	height: 100%;
	table-layout: fixed;
}
.login-left {
	background-image: url(/assets/images/login-skip.jpeg);
	background-size: cover;
	background-repeat: no-repeat;
	display: table-cell;
	width: 50%;
	background-color: #38A500;
	color: #ffffff;
	vertical-align: middle;
	text-align: center;
	position: relative;
	padding: 40px;
}
.login-left .inner {
	max-width: 400px;
	margin: 0 auto;
}
.login-left img {
	max-width: 100%;
	height: auto;
}
.login-right {
	display: table-cell;
	width: 50%;
	background-color: #ffffff;
	vertical-align: middle;
	padding: 40px;
}
.login-box {
	max-width: 360px;
	margin: 0 auto;
}
.login-title {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 30px;
}
.form-control {
	height: 44px;
	border-radius: 6px;
	box-shadow: none;
}
.form-group {
	margin-bottom: 20px;
}
.checkbox {
	margin-top: 0;
	margin-bottom: 20px;
}
.btn-login {
	height: 44px;
	border-radius: 6px;
	background-color: #38A500;
	border-color: #38A500;
	font-weight: 600;
}
.login-logo {
	width: 100%;
	float: left;
	margin: 0 0 30px 0;
}
.login-logo img {
	width: 100%;
}
@media (max-width: 991px) {
	.login-wrapper {
		display: block;
	}
	.login-left,
	.login-right {
		display: block;
		width: 100%;
		height: auto;
	}
	.login-left {
		padding: 60px 20px;
	}
	.login-right {
		padding: 40px 20px;
	}
}

/* ── Phones ──────────────────────────────────────────────
   Drop the photo panel entirely and centre the form vertically
   on the white card, with a sensibly sized logo. */
@media (max-width: 640px) {
	.login-left {
		display: none;
	}
	.login-right {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 100vh;
		min-height: 100dvh; /* stable under mobile browser chrome */
		padding: 24px 20px;
	}
	.login-box {
		width: 100%;
		max-width: 360px;
	}
	.login-logo {
		float: none;
		text-align: center;
		margin: 0 0 28px 0;
	}
	.login-logo img {
		width: auto;
		max-width: 230px;
	}
}

/* Very narrow phones: shrink the six 2FA digit boxes so they fit
   on one row (their base sizes are inline styles, hence !important). */
@media (max-width: 379px) {
	#tfa-boxes { gap: 6px !important; }
	.tfa-box {
		width: 40px !important;
		height: 48px !important;
		font-size: 20px !important;
	}
}