/* OptimizU branded login / register / password pages. */

body.auth {
	background: var(--surface);
}

.auth-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 100vh;
}

.auth-main {
	display: flex;
	flex-direction: column;
	padding: clamp(20px, 4vw, 40px) clamp(20px, 6vw, 80px);
}

.auth-main__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.auth-main__top .logo__img {
	height: 30px;
}

.auth-card {
	width: 100%;
	max-width: 400px;
	margin: auto;
	padding: 40px 0;
}

.auth-title {
	margin-bottom: 8px;
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
}

.auth-sub {
	margin-bottom: 28px;
	color: var(--muted);
}

.auth-form {
	display: grid;
	gap: 18px;
}

.auth-form .btn--block {
	margin-top: 4px;
}

.auth-alt {
	margin: 24px 0 0;
	text-align: center;
	font-size: 0.925rem;
	color: var(--muted);
}

.auth-alt a {
	font-weight: 600;
}

.auth-main__foot {
	margin: 0;
	text-align: center;
}

.auth-main__foot a {
	color: var(--muted);
}

.auth-aside {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px;
	overflow: hidden;
	background:
		radial-gradient(700px 400px at 100% 0, rgba(41, 154, 230, 0.32), transparent 65%),
		radial-gradient(500px 300px at 0 100%, rgba(13, 148, 136, 0.18), transparent 70%),
		var(--navy-950);
	color: #c9d6e6;
}

.auth-aside::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(600px 400px at 60% 40%, #000, transparent 80%);
	-webkit-mask-image: radial-gradient(600px 400px at 60% 40%, #000, transparent 80%);
}

.auth-aside__inner {
	position: relative;
	max-width: 440px;
}

.auth-aside__title {
	margin: 0 0 24px;
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #fff;
}

.auth-aside__list {
	display: grid;
	gap: 12px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.auth-aside__list li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.auth-aside__list .icon {
	color: var(--brand-400);
}

.auth-aside__card {
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(6px);
}

.auth-aside__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 28px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
}

.auth-aside .bars {
	height: 120px;
}

.auth-aside .bars__bar {
	background: rgba(124, 198, 242, 0.35);
}

.auth-aside .bars__col.is-current .bars__bar {
	background: var(--brand-400);
}

.auth-aside .bars__val {
	color: #fff;
}

.auth-aside .bars__label {
	color: #b4c3d6;
}

@media (max-width: 900px) {
	.auth-wrap {
		grid-template-columns: 1fr;
	}

	.auth-aside {
		display: none;
	}

	.auth-card {
		padding: 32px 0;
	}
}

/* Data-free aside card (demo previews off): the five audit dimensions. */
.auth-aside__dims .auth-aside__row {
	margin: 0 0 14px;
}

.auth-aside__dims ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.auth-aside__dims li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.925rem;
}

.auth-aside__dims .icon {
	color: var(--brand-300);
}

/* Early access screen (/dashboard/ while demo previews are off). */
.early-access__icon {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 20px;
	border-radius: 12px;
	background: var(--brand-50);
	color: var(--brand-600);
}

.early-access__actions {
	display: grid;
	gap: 12px;
}
