/* ====== BG ROTATOR (login) ====== */
html, body { height: 100%; }

body.bg-rotator {
	margin: 0;
	min-height: 100vh;
	background: #1a1f2c;
	position: relative;
	overflow-x: hidden;
}

.bg-rotator-layer {
	position: fixed;
	inset: 0;
	z-index: -1;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	opacity: 0;
	transform: scale(1.05);
	transition: opacity 1.6s ease-in-out, transform 16s ease-out;
	will-change: opacity, transform;
}

.bg-rotator-layer.is-active {
	opacity: 1;
	transform: scale(1);
}

/* sutil oscurecedor para mejorar contraste del card */
body.bg-rotator::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.32) 100%);
	pointer-events: none;
}
