/* Page layout for the authentication views. Components are styled by Basecoat (public/vendor/basecoat). */

body {
	background-color: var(--muted);
	color: var(--foreground);
}

.auth-page {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100svh;
	padding: 1.5rem 1rem;
}

.auth-container {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
	max-width: 24rem;
}

.auth-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 500;
}

.auth-brand img {
	width: 1.75rem;
	height: 1.75rem;
	border-radius: var(--radius-md);
}

.form-stack {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.field {
	gap: 0.5rem;
}

.field > label {
	font-weight: 500;
}

.btn-block {
	width: 100%;
}

.permissions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.permissions ul {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding-inline-start: 1.25rem;
	list-style: disc;
}

.card-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
}

.language-switcher {
	display: flex;
	justify-content: center;
	gap: 1rem;
	font-size: 0.875rem;
	color: var(--muted-foreground);
}

.language-switcher a {
	text-underline-offset: 4px;
}

.language-switcher a:hover {
	color: var(--foreground);
	text-decoration: underline;
}

.language-switcher a[aria-current] {
	color: var(--foreground);
	font-weight: 500;
}

.redirect-notice {
	color: var(--muted-foreground);
	font-size: 0.875rem;
}

.redirect-notice strong {
	color: var(--foreground);
	font-weight: 600;
}
