/* Shared page geometry. Tenant styles belong in site.css; admin visuals in shopleaf.css. */
html {
	height: 100%;
	box-sizing: border-box;
}

*, *::before, *::after {
	box-sizing: inherit;
}

body {
	min-height: 100%;
	margin: 0;
	overflow-x: hidden;
}

[contenteditable] {
	outline: 0 solid transparent;
}

.sl-w100 {
	width: 100%;
}

.sl-auth-card {
	--sl-auth-surface: rgba(11, 17, 12, 0.92);
	--sl-auth-text: #ffffff;
	--sl-auth-muted: rgba(255, 255, 255, 0.72);
	--sl-auth-accent: var(--primary, #1b810d);
	width: min(600px, 100%);
	margin: 0;
	padding: 36px;
	position: relative;
	z-index: 10;
	color: var(--sl-auth-text);
	background: var(--sl-auth-surface);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.46);
	backdrop-filter: blur(14px);
}

.sl-auth-page {
	position: relative;
	clear: both;
	width: 100%;
	min-height: calc(100vh - 60px);
	padding: 120px 24px 80px;
	display: grid;
	place-items: center;
	background-size: cover;
	background-position: center;
	isolation: isolate;
}

.sl-auth-overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(0, 0, 0, 0.56);
}

.sl-auth-card h1 {
	margin: 0 0 26px;
	color: var(--sl-auth-text);
	font-size: 2rem;
	line-height: 1.1;
	text-align: center;
}

.sl-auth-card label {
	display: block;
	margin: 16px 0 6px;
	color: var(--sl-auth-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sl-auth-card input {
	width: 100%;
	height: 48px;
	padding: 0 13px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 6px;
	outline: 0;
	color: var(--sl-auth-text);
	background: rgba(0, 0, 0, 0.22);
	font: inherit;
}

.sl-auth-card input:focus {
	border-color: var(--sl-auth-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sl-auth-accent) 28%, transparent);
}

.sl-auth-card .toggleArea {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 18px 0;
}

.sl-auth-card .toggleArea label {
	width: auto;
	margin: 0;
	text-transform: none;
	letter-spacing: 0;
}

.sl-auth-card button {
	min-height: 48px;
	border: 0;
	border-radius: 6px;
	color: #fff;
	background: var(--sl-auth-accent);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.sl-auth-card button:hover {
	filter: brightness(1.1);
}

.sl-auth-note {
	margin-top: 18px;
	color: var(--sl-auth-muted);
	font-size: 0.85rem;
	line-height: 1.55;
	text-align: center;
}

.sl-auth-note a {
	color: var(--sl-auth-text);
}

.center {
	text-align: center;
}

.space-away {
	margin-top: 20px;
}

.sized {
	position: relative;
	margin-top: 80px;
	padding: 0 60px;
	width: 100%;
}

.actions {
	position: absolute;
	right: 60px;
	top: 8px;
	width: auto;
	text-align: right;
	display: inline-block;
}

.buttons {
	position: relative;
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 150px;
	gap: 20px;
	margin-top: 20px;
	margin-bottom: 0;
}

.grid {
	display: grid;
	margin-bottom: 20px;
}

.grid.aside {
	width: 100%;
	grid-template-columns: minmax(0, 70%) minmax(0, 1fr);
	column-gap: 20px;
}

.grid.split {
	width: 100%;
	grid-template-columns: minmax(0, 49%) minmax(0, 1fr);
	column-gap: 20px;
	margin-bottom: 0;
}

.notopmargin {
	margin-top: 0;
}

.hidden {
	display: none;
}

.hidden.show {
	display: block;
}

.selectionBoxes {
	position: relative;
	width: 100%;
	text-align: center;
	margin-top: 20px;
}

.mt40 {
	margin-top: 40px;
}

@media (max-width: 600px) {
	.sl-auth-card {
		padding: 28px 24px;
	}

	.sl-auth-page {
		padding: 96px 16px 48px;
	}

	.sized {
		margin-top: 60px;
		padding: 0 20px;
	}

	.actions {
		right: 20px;
	}

	.grid.aside, .grid.split, .buttons {
		grid-template-columns: 1fr;
	}
}
