/* =========================================================
   NPN Member Login / Register Page
========================================================= */

body.npn-member-auth-body {
	min-height: 100vh;
	margin: 0;
	background: #020817;
	color: #ffffff;
	font-family: 'Manrope-Re', Arial, sans-serif;
	overflow-x: hidden;
}

body.npn-member-auth-body a {
	color: inherit;
	text-decoration: none;
}

.npn-member-auth-page {
	position: relative;
	isolation: isolate;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 34px 20px;
	background:
		radial-gradient(circle at 12% 8%, rgba(8, 213, 255, 0.18), transparent 30%),
		radial-gradient(circle at 88% 16%, rgba(59, 130, 246, 0.18), transparent 28%),
		radial-gradient(circle at 50% 110%, rgba(18, 216, 208, 0.12), transparent 34%),
		linear-gradient(180deg, #08101f 0%, #030713 100%);
	overflow: hidden;
}

.npn-member-auth-page::before,
.npn-member-auth-page::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 999px;
	pointer-events: none;
	filter: blur(8px);
}

.npn-member-auth-page::before {
	width: 460px;
	height: 460px;
	left: -180px;
	top: 80px;
	background: radial-gradient(circle, rgba(8, 213, 255, 0.18), transparent 64%);
}

.npn-member-auth-page::after {
	width: 520px;
	height: 520px;
	right: -210px;
	bottom: -150px;
	background: radial-gradient(circle, rgba(18, 216, 208, 0.15), transparent 66%);
}

.npn-member-card {
	position: relative;
	width: min(1080px, 100%);
	display: grid;
	grid-template-columns: minmax(0, 1fr) 460px;
	border-radius: 30px;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(17, 34, 70, 0.76), rgba(7, 18, 42, 0.9));
	border: 1px solid rgba(126, 243, 255, 0.22);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.04),
		0 0 46px rgba(8, 213, 255, 0.16),
		0 34px 110px rgba(0, 0, 0, 0.48);
	backdrop-filter: blur(16px);
}

.npn-member-card::before {
	content: "";
	position: absolute;
	inset: -2px;
	z-index: 0;
	border-radius: inherit;
	background:
		linear-gradient(
			135deg,
			rgba(126, 243, 255, 0.36),
			transparent 26%,
			transparent 62%,
			rgba(59, 130, 246, 0.38)
		);
	opacity: 0.72;
	pointer-events: none;
}

.npn-member-info,
.npn-member-form-wrap {
	position: relative;
	z-index: 1;
}

.npn-member-info {
	padding: 54px 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background:
		radial-gradient(circle at 20% 0%, rgba(8, 213, 255, 0.18), transparent 42%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.npn-member-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 34px;
	color: #ffffff;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.npn-member-brand .npn-logo-mark {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	display: inline-block;
	background: linear-gradient(135deg, #6ee7ff, #7c72ff);
	box-shadow:
		0 0 16px rgba(103, 232, 255, 0.9),
		0 0 34px rgba(8, 213, 255, 0.45);
}

.npn-member-info h1 {
	margin: 0 0 20px;
	font-size: clamp(40px, 5vw, 68px);
	line-height: 0.98;
	letter-spacing: -0.065em;
	font-family: 'Manrope-Extra', 'Manrope-Bold', Arial, sans-serif;
	font-weight: 900;
	background:
		linear-gradient(
			90deg,
			#ffffff 0%,
			#9ff8ff 28%,
			#52d8ff 56%,
			#7b8cff 82%,
			#ffffff 100%
		);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	text-shadow:
		0 0 22px rgba(82, 216, 255, 0.26),
		0 0 46px rgba(8, 213, 255, 0.14);
	animation: npnMemberTitleGradient 5s ease-in-out infinite;
}

.npn-member-info p {
	max-width: 520px;
	margin: 0 0 16px;
	color: #cfe0f6;
	font-size: 16px;
	line-height: 1.72;
}

.npn-member-points {
	display: grid;
	gap: 12px;
	margin-top: 28px;
	max-width: 520px;
}

.npn-member-points span {
	position: relative;
	overflow: hidden;
	min-height: 46px;
	display: flex;
	align-items: center;
	padding: 12px 16px;
	border-radius: 14px;
	border: 1px solid rgba(103, 232, 249, 0.22);
	background:
		linear-gradient(135deg, rgba(22, 35, 69, 0.78), rgba(11, 26, 58, 0.66));
	color: #eaf7ff;
	font-weight: 800;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.035),
		0 10px 26px rgba(0, 0, 0, 0.16);
}

.npn-member-form-wrap {
	padding: 42px 38px;
	background:
		radial-gradient(circle at 50% 0%, rgba(8, 213, 255, 0.09), transparent 42%),
		linear-gradient(180deg, rgba(4, 13, 31, 0.96), rgba(3, 9, 22, 0.98));
	border-left: 1px solid rgba(126, 243, 255, 0.14);
}

.npn-member-form-title {
	margin-bottom: 22px;
}

.npn-member-form-title h2 {
	margin: 0 0 8px;
	font-size: 26px;
	line-height: 1.15;
	letter-spacing: -0.04em;
	font-family: 'Manrope-Extra', 'Manrope-Bold', Arial, sans-serif;
	color: #ffffff;
}

.npn-member-form-title p {
	margin: 0;
	color: #9fb5d4;
	font-size: 14px;
	line-height: 1.55;
}

.npn-member-tabs {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 6px;
	margin-bottom: 18px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(126, 243, 255, 0.14);
}

.npn-member-tabs a {
	min-height: 46px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #cde0ff;
	font-weight: 900;
	transition:
		color 0.24s ease,
		background 0.24s ease,
		box-shadow 0.24s ease,
		transform 0.24s ease;
}

.npn-member-tabs a:hover {
	color: #ffffff;
	background: rgba(126, 243, 255, 0.08);
}

.npn-member-tabs a.is-active {
	color: #ffffff;
	background:
		linear-gradient(135deg, #18fff0 0%, #13c9ee 42%, #4b8dff 100%);
	box-shadow:
		0 0 22px rgba(18, 216, 208, 0.44),
		0 12px 26px rgba(0, 0, 0, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.npn-member-alert {
	padding: 13px 14px;
	border-radius: 14px;
	font-weight: 800;
	font-size: 14px;
	line-height: 1.45;
	margin-bottom: 16px;
}

.npn-member-alert-danger {
	background: rgba(239, 68, 68, 0.12);
	color: #fecaca;
	border: 1px solid rgba(248, 113, 113, 0.32);
	box-shadow: 0 0 22px rgba(239, 68, 68, 0.08);
}

.npn-member-alert-success {
	background: rgba(16, 185, 129, 0.12);
	color: #bbf7d0;
	border: 1px solid rgba(52, 211, 153, 0.32);
	box-shadow: 0 0 22px rgba(16, 185, 129, 0.08);
}

.npn-member-form {
	display: grid;
	gap: 14px;
}

.npn-member-field {
	display: grid;
	gap: 8px;
}

.npn-member-field label {
	color: #eaf7ff;
	font-size: 14px;
	font-weight: 900;
}

.npn-member-field input {
	width: 100%;
	height: 52px;
	border-radius: 15px;
	border: 1px solid rgba(126, 243, 255, 0.16);
	background: rgba(255, 255, 255, 0.055);
	color: #ffffff;
	padding: 0 15px;
	font-size: 15px;
	font-weight: 750;
	outline: none;
	transition:
		border-color 0.22s ease,
		box-shadow 0.22s ease,
		background 0.22s ease;
}

.npn-member-field input::placeholder {
	color: rgba(207, 224, 246, 0.52);
}

.npn-member-field input:focus {
	border-color: rgba(126, 243, 255, 0.78);
	background: rgba(255, 255, 255, 0.075);
	box-shadow:
		0 0 0 4px rgba(8, 213, 255, 0.12),
		0 0 24px rgba(8, 213, 255, 0.18);
}

.npn-member-submit {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	height: 56px;
	margin-top: 4px;
	border: 0;
	border-radius: 16px;
	background:
		linear-gradient(135deg, #18fff0 0%, #13c9ee 42%, #4b8dff 100%);
	color: #ffffff;
	font-size: 15px;
	font-weight: 950;
	cursor: pointer;
	box-shadow:
		0 0 0 6px rgba(18, 216, 208, 0.08),
		0 0 26px rgba(18, 216, 208, 0.58),
		0 18px 34px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.38);
	transition:
		transform 0.24s ease,
		box-shadow 0.24s ease,
		filter 0.24s ease;
}

.npn-member-submit::after {
	content: "";
	position: absolute;
	top: -70%;
	left: -80%;
	z-index: -1;
	width: 44%;
	height: 240%;
	background:
		linear-gradient(
			90deg,
			transparent,
			rgba(255, 255, 255, 0.16),
			rgba(255, 255, 255, 0.58),
			rgba(126, 243, 255, 0.28),
			transparent
		);
	transform: skewX(-18deg);
	animation: npnMemberButtonShine 2.9s ease-in-out infinite;
}

.npn-member-submit:hover {
	transform: translateY(-3px);
	filter: brightness(1.08);
	box-shadow:
		0 0 0 9px rgba(18, 216, 208, 0.11),
		0 0 38px rgba(18, 216, 208, 0.88),
		0 24px 44px rgba(0, 0, 0, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.npn-member-social {
	display: grid;
	gap: 10px;
	margin-top: 16px;
}

.npn-member-social a {
	min-height: 46px;
	border-radius: 15px;
	border: 1px solid rgba(126, 243, 255, 0.16);
	background: rgba(255, 255, 255, 0.045);
	color: #eaf7ff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	transition:
		transform 0.22s ease,
		border-color 0.22s ease,
		background 0.22s ease,
		box-shadow 0.22s ease;
}

.npn-member-social a:hover {
	transform: translateY(-2px);
	border-color: rgba(126, 243, 255, 0.58);
	background: rgba(126, 243, 255, 0.08);
	box-shadow: 0 0 24px rgba(8, 213, 255, 0.16);
}

.npn-member-foot {
	margin-top: 18px;
	text-align: center;
}

.npn-member-foot a {
	color: #8eabd2;
	font-weight: 850;
	transition: color 0.22s ease, text-shadow 0.22s ease;
}

.npn-member-foot a:hover {
	color: #7ef3ff;
	text-shadow: 0 0 14px rgba(126, 243, 255, 0.42);
}

@keyframes npnMemberTitleGradient {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

@keyframes npnMemberButtonShine {
	0% {
		left: -82%;
		opacity: 0;
	}

	16% {
		opacity: 1;
	}

	44% {
		left: 138%;
		opacity: 0;
	}

	100% {
		left: 138%;
		opacity: 0;
	}
}

@media (max-width: 980px) {
	.npn-member-card {
		grid-template-columns: 1fr;
		max-width: 560px;
	}

	.npn-member-info {
		padding: 36px 30px 26px;
		text-align: center;
		align-items: center;
	}

	.npn-member-info h1 {
		font-size: clamp(36px, 9vw, 54px);
	}

	.npn-member-points {
		display: none;
	}

	.npn-member-form-wrap {
		border-left: 0;
		border-top: 1px solid rgba(126, 243, 255, 0.14);
		padding: 30px 24px;
	}
}

@media (max-width: 560px) {
	.npn-member-auth-page {
		padding: 18px 14px;
		align-items: flex-start;
	}

	.npn-member-card {
		border-radius: 24px;
	}

	.npn-member-info {
		padding: 30px 22px 22px;
	}

	.npn-member-info p {
		font-size: 14px;
	}

	.npn-member-form-wrap {
		padding: 24px 18px;
	}

	.npn-member-tabs a {
		min-height: 42px;
		font-size: 14px;
	}

	.npn-member-field input,
	.npn-member-submit {
		height: 52px;
	}
}