/**
 * Guest auth-gate modal — download / activate CTAs.
 */

.bz-auth-gate {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.bz-auth-gate[hidden] {
	display: none !important;
}

.bz-auth-gate__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 20, 32, 0.55);
	backdrop-filter: blur(2px);
}

.bz-auth-gate__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 26.5rem);
	padding: clamp(1.5rem, 3vw, 2rem);
	border-radius: 0.85rem;
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
	text-align: center;
}

.bz-auth-gate__close {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #444;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.bz-auth-gate__close:hover,
.bz-auth-gate__close:focus-visible {
	background: #f3f4f6;
	outline: none;
}

.bz-auth-gate__eyebrow {
	margin: 0 0 0.45rem;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bz-red, #a31820);
}

.bz-auth-gate__title {
	margin: 0 0 0.55rem;
	font-size: clamp(1.25rem, 2.6vw, 1.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #111;
	line-height: 1.25;
}

.bz-auth-gate__lead {
	margin: 0 0 1.35rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #555;
}

.bz-auth-gate__actions {
	display: grid;
	gap: 0.65rem;
}

.bz-auth-gate__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.85rem;
	padding: 0.7rem 1.15rem;
	border-radius: 0.55rem;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.bz-auth-gate__btn--primary {
	background: var(--bz-red, #a31820);
	color: #fff !important;
	border: 1px solid transparent;
}

.bz-auth-gate__btn--primary:hover {
	background: #86141b;
}

.bz-auth-gate__btn--secondary {
	background: #fff;
	color: #111 !important;
	border: 1px solid #d1d5db;
}

.bz-auth-gate__btn--secondary:hover {
	border-color: #9ca3af;
	background: #f9fafb;
}

body.bz-auth-gate-open {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.bz-auth-gate__btn {
		transition: none;
	}
}
