/* Auth pages (login, register, forgot password) */

/* main.css sets body { overflow: hidden } for the app shell — auth pages must scroll */
body.auth-page {
	overflow-x: hidden !important;
	overflow-y: auto !important;
	height: auto;
	min-height: 100dvh;
	-webkit-overflow-scrolling: touch;
}

body.auth-page .auth-layout {
	min-height: auto;
	height: auto;
	padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 767px) {
	body.auth-page .auth-layout {
		align-items: flex-start !important;
		padding-top: 72px;
		padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
	}

	body.auth-page .auth-shell {
		padding-bottom: 8px;
	}
}
