@font-face {
	font-family: "Poppins";
	src: url("/login/fonts/poppins/Poppins-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("/login/fonts/poppins/Poppins-Medium.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("/login/fonts/poppins/Poppins-SemiBold.ttf") format("truetype");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("/login/fonts/poppins/Poppins-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("/login/fonts/poppins/Poppins-ExtraBold.ttf") format("truetype");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--auth-bg: #061116;
	--auth-bg-2: #0a1c21;
	--auth-ink: #f1fbf9;
	--auth-muted: #92adaf;
	--auth-soft: #c6dfdf;
	--auth-line: rgba(210, 249, 244, .16);
	--auth-line-strong: rgba(210, 249, 244, .28);
	--auth-panel: rgba(8, 24, 29, .78);
	--auth-panel-strong: rgba(8, 22, 26, .96);
	--auth-card: rgba(245, 255, 252, .075);
	--auth-accent: #34e6bd;
	--auth-accent-soft: rgba(52, 230, 189, .14);
	--auth-danger: #ff7f97;
	--auth-warning: #ffd98c;
	--auth-radius-xl: 34px;
	--auth-radius-lg: 24px;
	--auth-radius-md: 18px;
	--auth-shadow: 0 34px 90px rgba(0, 0, 0, .46);
}

* {
	box-sizing: border-box;
}

html,
body {
	min-height: 100%;
}

body {
	margin: 0;
	color: var(--auth-ink);
	font-family: "Poppins", "Trebuchet MS", Verdana, sans-serif;
	background: var(--auth-bg);
	overflow-x: hidden;
}

button,
input {
	font: inherit;
}

button {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: inherit;
	text-decoration: none;
}

.auth-page {
	position: relative;
	min-height: 100dvh;
	display: grid;
	place-items: center;
	padding: 28px;
	isolation: isolate;
	background:
		radial-gradient(circle at 13% 18%, rgba(52, 230, 189, .22), transparent 28%),
		radial-gradient(circle at 82% 8%, rgba(115, 248, 212, .12), transparent 30%),
		radial-gradient(circle at 58% 92%, rgba(52, 230, 189, .1), transparent 36%),
		linear-gradient(135deg, #051013 0%, #0b1d21 50%, #061116 100%);
}

.auth-page::before,
.auth-page::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
}

.auth-page::before {
	background-image:
		linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
	background-size: 78px 78px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 86%);
}

.auth-page::after {
	z-index: -1;
	background:
		linear-gradient(120deg, transparent 0 28%, rgba(52, 230, 189, .13) 28% 28.3%, transparent 28.3% 100%),
		linear-gradient(62deg, transparent 0 62%, rgba(210, 249, 244, .08) 62% 62.2%, transparent 62.2% 100%);
}

.auth-orb {
	position: fixed;
	z-index: -1;
	border-radius: 999px;
	filter: blur(12px);
	opacity: .78;
	animation: authFloat 10s ease-in-out infinite;
}

.auth-orb-a {
	width: 360px;
	height: 360px;
	left: -130px;
	bottom: 4%;
	background: radial-gradient(circle, rgba(52, 230, 189, .28), transparent 68%);
}

.auth-orb-b {
	width: 430px;
	height: 430px;
	right: -170px;
	top: -140px;
	background: radial-gradient(circle, rgba(180, 255, 236, .16), transparent 70%);
	animation-delay: -4s;
}

.auth-frame {
	width: min(1220px, 100%);
	min-height: min(730px, calc(100dvh - 56px));
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
	border: 1px solid rgba(233, 255, 251, .14);
	border-radius: var(--auth-radius-xl);
	background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .032));
	box-shadow: var(--auth-shadow);
	overflow: hidden;
	backdrop-filter: blur(26px);
	animation: authRise .58s ease both;
}

.auth-frame--compact {
	width: min(1120px, 100%);
	grid-template-columns: minmax(0, .98fr) minmax(430px, .92fr);
}

.auth-story {
	position: relative;
	padding: 34px 42px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	background:
		linear-gradient(146deg, rgba(13, 50, 49, .76), rgba(7, 22, 27, .54)),
		radial-gradient(circle at 15% 20%, rgba(52, 230, 189, .18), transparent 34%);
}

.auth-story::before {
	content: "";
	position: absolute;
	inset: 28px;
	border: 1px solid rgba(255, 255, 255, .075);
	border-radius: 28px;
	pointer-events: none;
}

.auth-brand,
.auth-story-main,
.auth-story-foot {
	position: relative;
	z-index: 1;
}

.auth-logo {
	width: min(236px, 64vw);
	height: auto;
	display: block;
	filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .26));
}

.auth-kicker,
.auth-chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	border: 1px solid rgba(195, 255, 244, .22);
	border-radius: 999px;
	color: #dcfff7;
	background: rgba(4, 23, 26, .62);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.auth-kicker {
	margin: 24px 0 16px;
	padding: 9px 13px;
}

.auth-chip {
	margin-bottom: 18px;
	padding: 8px 12px;
	letter-spacing: .08em;
}

.auth-kicker i,
.auth-chip i {
	color: var(--auth-accent);
}

.auth-title {
	max-width: 710px;
	margin: 0;
	font-size: clamp(38px, 4.7vw, 64px);
	line-height: .98;
	letter-spacing: -.065em;
	font-weight: 800;
}

.auth-title span {
	display: block;
	color: transparent;
	background: linear-gradient(92deg, #f8ffff 10%, #9ef8e3 48%, #d8fff2 90%);
	-webkit-background-clip: text;
	background-clip: text;
}

.auth-copy {
	max-width: 640px;
	margin: 18px 0 0;
	color: var(--auth-soft);
	font-size: 15px;
	line-height: 1.76;
}

.auth-system-map {
	position: relative;
	margin-top: 24px;
	padding: 16px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	border: 1px solid rgba(229, 255, 250, .15);
	border-radius: 28px;
	background: rgba(3, 17, 20, .46);
	box-shadow: 0 26px 68px rgba(0, 0, 0, .22);
	overflow: hidden;
}

.auth-system-map::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(52, 230, 189, .9), transparent);
	animation: authScan 4s ease-in-out infinite;
}

.auth-node {
	min-height: 98px;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 21px;
	background: linear-gradient(155deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
}

.auth-node i {
	display: inline-grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 14px;
	color: #041314;
	background: linear-gradient(135deg, #c8fff0, var(--auth-accent));
	box-shadow: 0 13px 26px rgba(52, 230, 189, .2);
}

.auth-node b {
	display: block;
	margin-top: 10px;
	color: #f6fffd;
	font-size: 13px;
	line-height: 1.35;
}

.auth-node span {
	display: block;
	margin-top: 5px;
	color: #9dbcbc;
	font-size: 11px;
	line-height: 1.48;
}

.auth-story-foot {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 24px;
}

.auth-mini-stat {
	padding: 13px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 18px;
	background: rgba(255, 255, 255, .05);
}

.auth-mini-stat b {
	display: block;
	color: #f4fffc;
	font-size: 17px;
	line-height: 1;
}

.auth-mini-stat span {
	display: block;
	margin-top: 6px;
	color: #8fb1b1;
	font-size: 11px;
	line-height: 1.35;
}

.auth-workspace {
	position: relative;
	padding: 36px 42px;
	display: grid;
	place-items: center;
	background:
		linear-gradient(145deg, rgba(7, 18, 22, .94), rgba(4, 14, 17, .98)),
		radial-gradient(circle at 50% 0%, rgba(52, 230, 189, .12), transparent 34%);
}

.auth-card {
	width: min(455px, 100%);
}

.auth-card--wide {
	width: min(535px, 100%);
}

.auth-mobile-logo {
	display: none;
	width: 165px;
	margin: 0 auto 22px;
}

.auth-heading {
	margin: 0 0 10px;
	color: #f7fffd;
	font-size: clamp(31px, 3.4vw, 45px);
	line-height: 1.04;
	letter-spacing: -.052em;
	font-weight: 800;
}

.auth-subtitle {
	margin: 0 0 26px;
	color: var(--auth-muted);
	font-size: 14px;
	line-height: 1.7;
}

.auth-form,
.flow-form {
	display: grid;
	gap: 16px;
}

.field,
.wrap-input100 {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}

.field label,
.label-input100 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 9px;
	color: #d8f2ee;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.label-input100 i,
.field label i {
	color: var(--auth-accent);
}

.field-shell {
	position: relative;
}

.field-shell > i {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #8df2dc;
	font-size: 15px;
	pointer-events: none;
}

.field input,
.input100 {
	width: 100%;
	height: 58px;
	border: 1px solid rgba(214, 255, 248, .14);
	border-radius: var(--auth-radius-md);
	outline: none;
	color: #f5fffd;
	background: rgba(255, 255, 255, .062);
	padding: 0 16px;
	font-size: 14px;
	font-weight: 600;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}

.field-shell > i + input {
	padding-left: 46px;
}

.field-shell input[type="password"],
.field-shell input[autocomplete="current-password"],
.field-shell input[autocomplete="new-password"] {
	padding-right: 48px;
}

.field input::placeholder,
.input100::placeholder {
	color: #6f8c8c;
	font-weight: 400;
	opacity: 1;
}

.field input:focus,
.input100:focus {
	border-color: rgba(52, 230, 189, .72);
	background: rgba(255, 255, 255, .09);
	box-shadow: 0 0 0 4px rgba(52, 230, 189, .1), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.password-toggle,
.auth-password-toggle {
	position: absolute;
	right: 10px;
	top: 50%;
	width: 38px;
	height: 38px;
	transform: translateY(-50%);
	border: 0;
	border-radius: 13px;
	color: #bdd9d5;
	background: rgba(255, 255, 255, .07);
	cursor: pointer;
	transition: color .2s ease, background .2s ease;
}

.password-toggle:hover,
.auth-password-toggle:hover {
	color: #ffffff;
	background: var(--auth-accent-soft);
}

.form-row,
.auth-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.remember-option {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #a9c3c2;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	user-select: none;
}

.remember-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.remember-check {
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(184, 245, 238, .35);
	border-radius: 7px;
	color: #041314;
	background: rgba(255, 255, 255, .07);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.remember-check i {
	font-size: 11px;
	opacity: 0;
	transform: scale(.65);
	transition: opacity .2s ease, transform .2s ease;
}

.remember-option input:checked + .remember-check {
	border-color: rgba(52, 230, 189, .82);
	background: linear-gradient(135deg, #d6fff3, var(--auth-accent));
}

.remember-option input:checked + .remember-check i {
	opacity: 1;
	transform: scale(1);
}

.forgot-link,
.auth-inline-link,
.auth-switch a,
.legal-links a {
	color: #c9fff2;
	font-weight: 700;
}

.forgot-link {
	font-size: 12px;
	white-space: nowrap;
}

.forgot-link:hover,
.auth-inline-link:hover,
.auth-switch a:hover,
.legal-links a:hover {
	color: #ffffff;
}

.login-button,
.reg-btn,
.auth-primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	border: 0;
	border-radius: 18px;
	overflow: hidden;
	color: #031314;
	cursor: pointer;
	background: linear-gradient(105deg, #caffef, var(--auth-accent) 62%, #8ef8dc);
	box-shadow: 0 20px 42px rgba(52, 230, 189, .2);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .01em;
	transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, background .2s ease;
}

.login-button {
	width: 100%;
	height: 60px;
	margin-top: 8px;
}

.login-button::before,
.reg-btn::before,
.auth-primary::before {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: 17px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .36), transparent 58%);
	pointer-events: none;
}

.login-button span,
.reg-btn span,
.auth-primary span {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.login-button:hover,
.reg-btn:hover,
.auth-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 26px 56px rgba(52, 230, 189, .28);
}

.login-button:disabled,
.reg-btn:disabled,
.auth-primary:disabled {
	cursor: wait;
	opacity: .62;
	transform: none;
	box-shadow: none;
}

.reg-btn-secondary,
.auth-secondary {
	color: #d9f4f0;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(214, 255, 248, .17);
	box-shadow: none;
}

.reg-btn-secondary::before,
.auth-secondary::before {
	display: none;
}

.reg-btn-secondary:hover,
.auth-secondary:hover {
	background: rgba(255, 255, 255, .1);
	box-shadow: none;
}

.auth-switch {
	margin: 22px 0 0;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 20px;
	color: #a9c5c4;
	background: rgba(255, 255, 255, .045);
	text-align: center;
	font-size: 13px;
}

.legal-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
	color: #779697;
	font-size: 11px;
	line-height: 1.5;
}

.legal-links span {
	opacity: .55;
}

.animation {
	display: block;
	margin: 0 0 16px;
	padding: 13px 14px;
	border: 1px solid rgba(255, 127, 151, .34);
	border-radius: 18px;
	color: #ffe6eb;
	background: linear-gradient(135deg, rgba(255, 127, 151, .16), rgba(255, 127, 151, .06));
	font-size: 13px;
	line-height: 1.55;
	font-weight: 700;
	animation: alertShake .62s ease both;
}

.animation.ok {
	border-color: rgba(52, 230, 189, .38);
	color: #ddfff5;
	background: linear-gradient(135deg, rgba(52, 230, 189, .16), rgba(52, 230, 189, .06));
	animation: none;
}

.flow-progress {
	display: grid;
	gap: 8px;
	margin: 0 0 24px;
}

.flow-progress--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-progress--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reg-progress-item,
.flow-progress-item {
	position: relative;
	min-height: 63px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border: 1px solid var(--auth-line);
	border-radius: 16px;
	padding: 9px 10px;
	color: #8ca9a9;
	background: rgba(255, 255, 255, .045);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.reg-progress-item span,
.flow-progress-item span {
	display: block;
	margin-bottom: 3px;
	color: #6f8d8d;
	font-size: 10px;
	font-weight: 700;
}

.reg-progress-item.is-active,
.flow-progress-item.is-active {
	color: #f6fffd;
	border-color: rgba(52, 230, 189, .64);
	background: linear-gradient(135deg, rgba(52, 230, 189, .16), rgba(255, 255, 255, .055));
	transform: translateY(-1px);
}

.reg-page,
.step-box {
	display: none;
	animation: authFade .24s ease both;
}

.reg-page.is-active,
.step-box:not(.hidden-step) {
	display: block;
}

.reg-page-title,
.flow-title {
	margin: 0 0 7px;
	color: #f3fffc;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
}

.reg-page-desc,
.flow-desc {
	margin: 0 0 17px;
	color: #a5c0bf;
	font-size: 13px;
	line-height: 1.62;
}

.reg-note,
.flow-note {
	margin: 13px 0 16px;
	padding: 13px;
	border: 1px solid rgba(214, 255, 248, .16);
	border-radius: 17px;
	color: #c7dfdd;
	background: rgba(255, 255, 255, .055);
	font-size: 12px;
	line-height: 1.6;
}

.reg-note b,
.flow-note b {
	color: #f3fffc;
}

.reg-summary,
.flow-summary {
	display: grid;
	gap: 8px;
	margin: 0 0 15px;
	padding: 13px;
	border: 1px solid rgba(214, 255, 248, .16);
	border-radius: 18px;
	background: rgba(2, 16, 18, .42);
}

.reg-summary div,
.flow-summary div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: #9cb8b8;
	font-size: 12px;
	line-height: 1.45;
}

.reg-summary b,
.flow-summary b {
	color: #f4fffd;
	font-weight: 800;
	text-align: right;
	word-break: break-word;
}

.reg-actions,
.flow-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.reg-hint,
.flow-hint,
.reg-countdown {
	margin-top: 11px;
	color: #88aaa9;
	font-size: 12px;
	line-height: 1.52;
}

.reg-countdown {
	color: #befbef;
	font-weight: 800;
}

.auth-check-list {
	display: grid;
	gap: 10px;
	margin: 24px 0 0;
}

.auth-check-list div {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #bad3d1;
	font-size: 12px;
	line-height: 1.55;
}

.auth-check-list i {
	width: 22px;
	height: 22px;
	display: inline-grid;
	place-items: center;
	flex: 0 0 22px;
	border-radius: 9px;
	color: #041314;
	background: var(--auth-accent);
}

@keyframes authRise {
	from {
		opacity: 0;
		transform: translate3d(0, 24px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes authFade {
	from {
		opacity: 0;
		transform: translate3d(0, 9px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes authFloat {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(0, -20px, 0) scale(1.05);
	}
}

@keyframes authScan {
	0% {
		transform: translateX(-120%);
	}
	100% {
		transform: translateX(120%);
	}
}

@keyframes alertShake {
	10%,
	90% {
		transform: translateX(-1px);
	}
	20%,
	80% {
		transform: translateX(2px);
	}
	30%,
	50%,
	70% {
		transform: translateX(-4px);
	}
	40%,
	60% {
		transform: translateX(4px);
	}
}

@media (max-width: 1100px) {
	.auth-frame,
	.auth-frame--compact {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.auth-story {
		min-height: 520px;
		padding: 32px;
	}

	.auth-title {
		font-size: clamp(38px, 8vw, 62px);
	}

	.auth-workspace {
		padding: 34px 32px 38px;
	}
}

@media (max-width: 760px) {
	.auth-page {
		display: block;
		padding: 14px;
	}

	.auth-frame,
	.auth-frame--compact {
		border-radius: 26px;
	}

	.auth-story {
		display: none;
	}

	.auth-workspace {
		min-height: calc(100dvh - 28px);
		padding: 30px 20px;
	}

	.auth-mobile-logo {
		display: block;
	}

	.auth-heading {
		font-size: 34px;
	}

	.form-row,
	.auth-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.flow-progress--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.auth-workspace {
		padding: 26px 16px;
	}

	.auth-card,
	.auth-card--wide {
		width: 100%;
	}

	.auth-heading {
		font-size: 31px;
	}

	.field input,
	.input100 {
		height: 56px;
	}

	.flow-progress--three {
		grid-template-columns: 1fr;
	}

	.reg-actions,
	.flow-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.reg-btn,
	.auth-primary,
	.auth-secondary {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}
