/*
 * The sign-in pages built in Bricks — login, lost password, reset password, complete
 * registration. Kept here rather than in each site's Bricks settings so the sandbox and the
 * live site cannot drift (loaded by includes/auth-pages.php).
 */

/* The box around each form carries a fixed 500px minimum width in Bricks, so on a phone the
   page scrolled sideways and the "Lost password" link fell off the edge. Up to 500px, never
   wider than the screen. !important because Bricks writes element styles on the element's
   ID (#brxe-…), which no class selector outranks however late it loads. */
body.account .brxe-div:has(> .brxe-form) {
	min-width: 0 !important;
	width: 100% !important;
	max-width: 500px;
	box-sizing: border-box;
}
body.account .brxe-form,
body.account .brxe-form .form-group,
body.account .brxe-form input:not([type="checkbox"]):not([type="radio"]) {
	min-width: 0 !important;
	max-width: 100%;
	box-sizing: border-box;
}

/* "Remember me": a 13px box is a hard target for a thumb. */
body.account .brxe-form input[type="checkbox"] {
	width: 20px !important;
	height: 20px !important;
}
