/* =====================================================================
 * Committee sign-in (newsberg/template-secure-login.php).
 * Uses the --sc-* tokens from site-chrome.css.
 * ===================================================================== */
#content.nsl { padding: 0 !important; }
.nsl {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 77px);
	padding: 56px 24px;
	background: linear-gradient(180deg, #fff 0%, #f6f0fc 100%);
}
.nsl::before {
	content: "";
	position: absolute;
	inset: -30%;
	z-index: -1;
	background:
		radial-gradient(30% 40% at 15% 25%, rgba(168, 85, 247, .16), transparent 70%),
		radial-gradient(28% 38% at 85% 75%, rgba(245, 196, 81, .12), transparent 70%);
}
.nsl a { text-decoration: none; }

.nsl-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	width: 100%;
	max-width: 980px;
	overflow: hidden;
	border-radius: 28px;
	background: #fff;
	border: 1px solid var(--sc-line);
	box-shadow: 0 30px 70px rgba(31, 18, 51, .14);
}

/* ---------- Brand panel ---------- */
.nsl-brand {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding: 40px;
	background: linear-gradient(150deg, #3a0766 0%, #4b0880 45%, var(--sc-purple) 100%);
	color: #fff;
}
.nsl-brand::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(50% 50% at 100% 0%, rgba(214, 140, 255, .45), transparent 70%),
		radial-gradient(40% 40% at 0% 100%, rgba(245, 196, 81, .2), transparent 70%);
}
.nsl-brand::after {
	content: "\f3ed";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	right: -40px;
	bottom: -50px;
	z-index: -1;
	font-size: 260px;
	line-height: 1;
	color: rgba(255, 255, 255, .06);
	transform: rotate(-12deg);
}
.nsl-brand-top { display: flex; align-items: center; gap: 12px; }
.nsl .nsl-brand-logo { width: 52px !important; height: 52px !important; padding: 4px; border-radius: 50%; background: #fff; object-fit: contain; }
.nsl-brand-top strong { display: block; font-size: 18px !important; font-weight: 800; letter-spacing: .02em; }
.nsl-brand-top span { display: block; font-size: 11px !important; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.nsl-brand-body { margin-top: auto; }
.nsl .nsl-brand-kicker { margin: 0 0 8px; font-size: 12.5px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f5c451; }
.nsl .nsl-brand h2 { margin: 0 0 22px; font-size: 28px !important; font-weight: 800; line-height: 1.35; color: #fff; }
.nsl-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.nsl-features li { display: flex; align-items: center; gap: 12px; font-size: 15px !important; color: rgba(255, 255, 255, .9); }
.nsl-features i { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: rgba(255, 255, 255, .14); font-size: 14px !important; }
.nsl .nsl-brand-foot { margin: 0; font-size: 13px !important; color: rgba(255, 255, 255, .7); }
.nsl-brand-foot i { color: #f5c451; margin-right: 6px; }

/* ---------- Card ---------- */
.nsl-card { display: flex; flex-direction: column; justify-content: center; padding: 48px 44px; }
.nsl-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--sc-lavender); color: var(--sc-purple); font-size: 20px; }
.nsl .nsl-card h1 { margin: 0 0 6px; font-size: 32px !important; font-weight: 800; line-height: 1.25; color: var(--sc-ink); }
.nsl .nsl-sub { margin: 0 0 26px; font-size: 15px !important; color: var(--sc-muted); }
.nsl-error { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 20px; padding: 12px 14px; border-radius: 14px; background: #fdecec; color: #b42318; font-size: 14.5px !important; font-weight: 600; line-height: 1.55; }
.nsl-error i { margin-top: 3px; }

.nsl-form { display: flex; flex-direction: column; gap: 18px; }
.nsl-field label { display: block; margin-bottom: 8px; font-size: 14px !important; font-weight: 700; color: var(--sc-ink); }
.nsl-input { position: relative; display: flex; align-items: center; }
.nsl .nsl-input > i,
.nsl .nsl-input > i::before { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.nsl-input > i { position: absolute; z-index: 2; left: 16px; color: #a99cbb; font-size: 14px !important; pointer-events: none; transition: color .2s ease; }
.nsl .nsl-input input {
	width: 100%;
	height: 52px;
	padding: 0 48px 0 44px !important;
	border-radius: 14px !important;
	border: 1.5px solid #e6dcf2 !important;
	background: #fcfaff !important;
	font-size: 16px !important;
	color: var(--sc-ink);
	box-shadow: none !important;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.nsl .nsl-input input:hover { border-color: #d3bfee !important; }
.nsl .nsl-input input:focus { outline: none; border-color: var(--sc-purple) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(106, 13, 173, .12) !important; }
.nsl-input:focus-within > i { color: var(--sc-purple); }
.nsl .nsl-eye {
	position: absolute;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: transparent !important;
	color: #a99cbb !important;
	box-shadow: none !important;
	cursor: pointer;
}
.nsl .nsl-eye:hover { background: var(--sc-lavender) !important; color: var(--sc-purple) !important; }
.nsl .nsl-eye:focus-visible { outline: 2px solid var(--sc-purple); outline-offset: 1px; }
.nsl-remember { display: inline-flex; align-items: center; gap: 10px; font-size: 14px !important; color: var(--sc-text); cursor: pointer; }
.nsl-remember input { width: 18px; height: 18px; accent-color: var(--sc-purple); }
.nsl .nsl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 54px;
	margin-top: 4px;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(120deg, #7b1fd1, var(--sc-purple) 50%, #4b0880) !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 700;
	box-shadow: 0 12px 26px rgba(106, 13, 173, .3) !important;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}
.nsl .nsl-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(106, 13, 173, .38) !important; }
.nsl .nsl-btn i { font-size: 13px !important; transition: transform .2s ease; }
.nsl .nsl-btn:hover i { transform: translateX(4px); }
.nsl .nsl-btn:focus-visible { outline: 2px solid var(--sc-purple); outline-offset: 3px; }
.nsl .nsl-help { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--sc-line); font-size: 14px !important; color: var(--sc-muted); }
.nsl-help a { font-weight: 700; color: var(--sc-purple) !important; }
.nsl-help a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
	.nsl { padding: 32px 16px; align-items: flex-start; }
	.nsl-shell { grid-template-columns: 1fr; border-radius: 22px; }
	.nsl-brand { gap: 18px; padding: 24px; }
	.nsl-features, .nsl-brand-foot, .nsl-brand-body h2 { display: none; }
	.nsl-brand-body { margin-top: 0; }
	.nsl .nsl-brand-kicker { margin: 0; }
	.nsl-card { padding: 32px 24px 28px; }
	.nsl .nsl-card h1 { font-size: 28px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.nsl *, .nsl *::before, .nsl *::after { transition: none !important; }
}
