/**
 * Auth split layout: brand panel tetap, hanya kolom form yang scroll (desktop).
 */
@media (min-width: 992px) {
	html.auth-sticky-split,
	html.auth-sticky-split body {
		height: 100%;
		overflow: hidden;
	}

	.auth-shell,
	.login-shell {
		height: 100vh;
		overflow: hidden;
	}

	.auth-shell > .row.min-vh-100,
	.login-shell > .row.min-vh-100 {
		min-height: 100vh !important;
		height: 100vh;
		flex-wrap: nowrap;
		margin: 0;
	}

	.auth-shell .brand-panel,
	.login-shell .brand-panel {
		height: 100vh;
		max-height: 100vh;
		overflow: hidden;
		position: sticky;
		top: 0;
		align-self: flex-start;
		flex-shrink: 0;
	}

	.auth-shell .form-panel,
	.login-shell .form-panel {
		height: 100vh;
		max-height: 100vh;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		align-items: center !important;
		align-self: stretch;
	}

	.auth-shell .auth-form-vcenter,
	.login-shell .auth-form-vcenter {
		margin-top: auto;
		margin-bottom: auto;
		flex-shrink: 0;
	}
}

@media (max-width: 991.98px) {
	html.auth-sticky-split,
	html.auth-sticky-split body {
		overflow-x: hidden;
		overflow-y: auto;
	}

	.auth-shell .form-panel,
	.login-shell .form-panel {
		overflow-y: visible;
	}
}
