/* Modern auth pages (forgot / confirm OTP / reset password) */
:root {
	--auth-primary: #4f46e5;
	--auth-primary-2: #7c3aed;
	--auth-text: #1e293b;
	--auth-muted: #64748b;
	--auth-border: #e2e8f0;
}

body.auth-modern {
	font-family: 'Prompt', 'Roboto', sans-serif;
	color: var(--auth-text);
	min-height: 100vh;
	background:
		radial-gradient(900px 500px at 10% 0%, rgba(124, 58, 237, .18), transparent 60%),
		radial-gradient(800px 500px at 100% 100%, rgba(79, 70, 229, .18), transparent 60%),
		#f5f6fb;
}

.auth-modern .auth-shell {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}

.auth-modern .auth-wrap {
	width: 100%;
	max-width: 1020px;
	display: grid;
	grid-template-columns: 1fr;
	background: #fff;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 25px 60px -15px rgba(30, 41, 59, .25);
}

@media (min-width: 992px) {
	.auth-modern .auth-wrap.has-art {
		grid-template-columns: 1.1fr 1fr;
	}
}

.auth-modern .auth-art {
	display: none;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-2));
	position: relative;
	overflow: hidden;
}

.auth-modern .auth-art::before,
.auth-modern .auth-art::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
}

.auth-modern .auth-art::before {
	width: 280px;
	height: 280px;
	top: -90px;
	right: -90px;
}

.auth-modern .auth-art::after {
	width: 200px;
	height: 200px;
	bottom: -70px;
	left: -60px;
}

.auth-modern .auth-art img {
	position: relative;
	z-index: 1;
	max-width: 100%;
	height: auto;
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .2));
}

@media (min-width: 992px) {
	.auth-modern .auth-art {
		display: flex;
	}
}

.auth-modern .auth-panel {
	padding: 40px 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (min-width: 576px) {
	.auth-modern .auth-panel {
		padding: 56px 52px;
	}
}

.auth-modern .auth-icon {
	width: 84px;
	height: 84px;
	margin: 0 auto 22px;
	border-radius: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(79, 70, 229, .12), rgba(124, 58, 237, .12));
}

.auth-modern .auth-icon img {
	width: 52px;
	height: 52px;
	object-fit: contain;
}

.auth-modern .auth-icon.success {
	background: rgba(22, 163, 74, .12);
	color: #16a34a;
	font-size: 44px;
}

.auth-modern .auth-title {
	font-weight: 600;
	font-size: 1.6rem;
	text-align: center;
	margin-bottom: 8px;
}

.auth-modern .auth-sub {
	color: var(--auth-muted);
	text-align: center;
	line-height: 1.7;
	margin-bottom: 26px;
}

.auth-modern .form-label {
	font-weight: 500;
	font-size: .9rem;
	margin-bottom: 6px;
}

.auth-modern .input-icon {
	position: relative;
}

.auth-modern .input-icon>i {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	color: var(--auth-muted);
	pointer-events: none;
}

.auth-modern .input-icon .form-control {
	padding-left: 44px;
}

.auth-modern .form-control {
	height: 48px;
	border-radius: 12px;
	border: 1.5px solid var(--auth-border);
	background: #f8fafc;
	transition: all .2s;
}

.auth-modern .form-control:focus {
	background: #fff;
	border-color: var(--auth-primary);
	box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
}

.auth-modern .otp-input {
	text-align: center;
	font-size: 1.8rem;
	font-weight: 600;
	letter-spacing: .6em;
	padding-left: .6em;
	height: 60px;
}

.auth-modern .btn {
	height: 48px;
	border-radius: 12px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.auth-modern .btn-primary {
	border: 0;
	background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-2));
	box-shadow: 0 8px 20px -6px rgba(79, 70, 229, .55);
	transition: transform .15s, box-shadow .15s;
}

.auth-modern .btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px -6px rgba(79, 70, 229, .6);
}

.auth-modern .btn-back {
	background: transparent;
	color: var(--auth-muted);
}

.auth-modern .btn-back:hover {
	color: var(--auth-primary);
	background: rgba(79, 70, 229, .06);
}

/* art panel caption + polish */
.auth-modern .auth-art { flex-direction: column; gap: 24px; text-align: center; color: #fff; }
.auth-modern .auth-art .art-caption { position: relative; z-index: 1; }
.auth-modern .auth-art .art-caption h5 { font-weight: 600; margin-bottom: 6px; color: #fff; }
.auth-modern .auth-art .art-caption p { margin: 0; opacity: .85; font-size: .95rem; }
.auth-modern .auth-art img { background: rgba(255,255,255,.95); border-radius: 20px; padding: 16px; }
.auth-modern .auth-icon { box-shadow: 0 10px 24px -10px rgba(79,70,229,.45); }
.auth-modern .btn-back, .auth-modern .btn-back:hover { text-decoration: none; }
