html,
body.nk-body.auth-bg {
	background:
		radial-gradient(760px 560px at -8% 18%, rgba(63, 94, 251, 0.45), transparent 62%),
		radial-gradient(680px 520px at 6% 82%, rgba(70, 210, 210, 0.38), transparent 60%),
		radial-gradient(820px 640px at 108% 8%, rgba(139, 164, 255, 0.32), transparent 62%),
		linear-gradient(180deg, #eef2ff 0%, #f5f7ff 45%, #f7f8fb 100%) !important;
}

body.nk-body.auth-bg {
	position: relative;
	min-height: 100vh;
	background-attachment: fixed !important;
}

body.nk-body.auth-bg::before {
	content: "";
	position: fixed;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(241, 245, 249, 0.28) 100%),
		radial-gradient(640px 420px at 18% 22%, rgba(255, 255, 255, 0.3), transparent 70%),
		radial-gradient(720px 460px at 82% 14%, rgba(219, 234, 254, 0.28), transparent 72%);
	backdrop-filter: blur(18px) saturate(120%) !important;
	-webkit-backdrop-filter: blur(18px) saturate(120%) !important;
	pointer-events: none;
	z-index: 0;
}

body.nk-body.auth-bg::after {
	content: "";
	position: fixed;
	inset: 0;
	background-image:
		radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.08) 1px, transparent 0);
	background-size: 22px 22px;
	opacity: 0.18;
	pointer-events: none;
	z-index: 0;
}

body.nk-body.auth-bg .nk-app-root {
	position: relative;
	z-index: 1;
}

.nk-auth-body.wide-md {
	max-width: 980px;
}

.auth-card {
	border: 1px solid #e6e9ef;
	border-radius: 20px;
	box-shadow: none;
	overflow: hidden;
}

.auth-card .card-inner {
	padding: 0;
}

.auth-panel {
	padding: 2.5rem;
	min-height: 520px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.auth-title {
	font-weight: 700;
	color: #0f1f3f;
}

.auth-subtitle {
	color: #3b4a68;
	margin-top: 0.35rem;
}

.auth-divider {
	border-top: 1px dashed rgba(15, 31, 63, 0.12);
	margin: 0.75rem 0 1rem;
}

.auth-input .form-control {
	border-radius: .75rem !important;
	height: 48px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input .form-control:focus {
	border-color: rgba(11, 87, 208, 0.55);
	box-shadow: 0 0 0 3px rgba(11, 87, 208, 0.12);
}

.auth-action .btn {
	border-radius: .75rem !important;
	height: 48px;
	font-weight: 600;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.auth-action .btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(11, 87, 208, 0.22);
}

.auth-visual {
	background: #eef2fb;
	display: flex;
	align-items: center;
	justify-content: center;
}

.auth-visual-img {
	width: min(86%, 520px);
	height: auto;
}

@media (max-width: 767px) {
	.auth-panel {
		padding: 1.75rem 1.5rem;
	}
	.auth-input .form-control,
	.auth-action .btn {
		height: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.auth-action .btn,
	.auth-input .form-control {
		transition: none;
	}
	body.nk-body.auth-bg::before {
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
	}
}
