/* ===== AUTH / LOGIN PAGE ===== */

.auth {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f4f8;
	position: relative;
	overflow: hidden;
}

/* Ambient blob 1 - large, slow drift */
.auth::before {
	content: '';
	position: absolute;
	width: 55vw;
	height: 55vw;
	max-width: 700px;
	max-height: 700px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 123, 255, 0.25) 0%, transparent 70%);
	top: -15%;
	right: -10%;
	filter: blur(50px);
	animation: drift-1 30s ease-in-out infinite;
	pointer-events: none;
	z-index: 0;
}

/* Ambient blob 2 - medium, counter-drift */
.auth::after {
	content: '';
	position: absolute;
	width: 45vw;
	height: 45vw;
	max-width: 550px;
	max-height: 550px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 86, 179, 0.2) 0%, transparent 70%);
	bottom: -10%;
	left: -8%;
	filter: blur(40px);
	animation: drift-2 22s ease-in-out infinite;
	pointer-events: none;
	z-index: 0;
}

@keyframes drift-1 {
	0%, 100% {
		transform: translate(0, 0);
	}
	25% {
		transform: translate(-15vw, 20vh);
	}
	50% {
		transform: translate(10vw, 10vh);
	}
	75% {
		transform: translate(-8vw, -15vh);
	}
}

@keyframes drift-2 {
	0%, 100% {
		transform: translate(0, 0);
	}
	25% {
		transform: translate(18vw, -12vh);
	}
	50% {
		transform: translate(-12vw, -20vh);
	}
	75% {
		transform: translate(8vw, 15vh);
	}
}

.auth .login-container {
	position: relative;
	z-index: 1;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow:
		0 4px 24px rgba(0, 0, 0, 0.06),
		0 1px 4px rgba(0, 0, 0, 0.03);
}

.auth .logo {
	margin-bottom: 32px;
}

.auth .logo h1 {
	font-size: 22px;
	font-weight: 700;
	color: var(--dark);
	letter-spacing: -0.3px;
}

.auth .logo h1 i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--primary);
	color: #fff;
	border-radius: 12px;
	font-size: 20px;
	margin-right: 6px;
	vertical-align: middle;
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.auth .logo p {
	font-size: 13px;
	color: var(--gray);
	margin-top: 8px;
	letter-spacing: 0.2px;
}

.auth .form-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--gray);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.auth .form-control {
	padding: 12px 14px;
	font-size: 15px;
	border: 2px solid var(--border);
	border-radius: 10px;
	background-color: var(--light-gray);
	transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}

.auth .form-control:focus {
	border-color: var(--primary);
	background-color: var(--light);
	box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.auth .form-control::placeholder {
	color: #a0aec0;
}

.auth .btn-primary {
	padding: 13px 20px;
	font-size: 15px;
	font-weight: 700;
	border-radius: 10px;
	background: var(--primary);
	border: none;
	letter-spacing: 0.3px;
	box-shadow: 0 4px 14px rgba(0, 123, 255, 0.35);
	transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.auth .btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 123, 255, 0.45);
	background: var(--primary-dark);
}

.auth .btn-primary:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.auth .step.show {
	display: block;
	animation: step-show 0.4s ease-out forwards;
}

@keyframes step-show {
	0% {
		opacity: 0;
		transform: translateY(10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.auth .step.hide {
	display: none;
	animation: step-hide 0.3s ease-in forwards;
}

@keyframes step-hide {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: 0;
		transform: translateY(-10px);
	}
}

/* Auth responsive */
@media (max-width: 480px) {
	.auth .login-container {
		margin: 16px;
		padding: 28px 24px 24px;
	}
	.auth .logo h1 {
		font-size: 19px;
	}
	.auth .logo h1 i {
		width: 38px;
		height: 38px;
		font-size: 17px;
	}
}
