:root {
	--sx-red: #163765;
	--sx-red-600: #10294F;
	--sx-red-700: #0A1A33;
	--sx-red-ring: rgba(22, 55, 101, 0.16);
	--sx-red-rgb: 22, 55, 101;
	--sx-ink-rgb: 10, 26, 51;
	--sx-ink: #0A1A33;
	--sx-page: #F6F7F8;
	--sx-line: #E3E5E8;
	--sx-control-line: #D5D9DE;
	--sx-text: #1F2328;
	--sx-text-2: #3D434C;
	--sx-muted: #5B6370;
	--sx-brand-width: min(46vw, 680px);
}

:root,
html[data-theme="light"] {
	--primary: #163765;
	--primary-color: #163765;
	--brand-color: #163765;
	--btn-primary: #163765;
	--border-primary: #163765;
}

html body .btn.btn-primary,
html body .btn-primary {
	background-color: var(--sx-red);
	border-color: var(--sx-red);
	color: #FFFFFF;
}

html body .btn.btn-primary:hover,
html body .btn-primary:hover {
	background-color: var(--sx-red-600);
	border-color: var(--sx-red-600);
}

html body .es-button {
	--bt-solid-bg: var(--sx-red);
	--bt-solid-bg-hover: var(--sx-red-600);
	--bt-solid-bg-active: var(--sx-red-700);
	--bt-solid-fg: #FFFFFF;
	--bt-focus: 0 0 0 3px rgba(var(--sx-red-rgb), 0.16);
}

body[data-path="login"],
body.sx-auth {
	background: var(--sx-page);
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

body[data-path="login"] .navbar,
body[data-path="login"] .web-footer,
body[data-path="login"] footer,
body[data-path="login"] .page-footer,
body.sx-auth .navbar,
body.sx-auth .web-footer,
body.sx-auth footer,
body.sx-auth .page-footer {
	display: none;
}

.sx-auth-brand {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	width: var(--sx-brand-width);
	background-color: var(--sx-ink);
	color: #FFFFFF;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 40px;
	padding: 56px 64px;
	box-sizing: border-box;
	overflow: hidden;
	z-index: 2;
	font-family: Inter, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sx-auth-brand__logo img {
	width: 250px;
	max-width: 70%;
	height: auto;
	display: block;
}

.sx-auth-brand__body {
	max-width: 470px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.sx-auth-brand__title {
	margin: 0;
	font-size: 40px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #FFFFFF;
}

.sx-auth-brand__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #C9CDD3;
}

.sx-auth-brand__chips {
	list-style: none;
	margin: 6px 0 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sx-auth-brand__chips li {
	border: 1px solid #3A3F47;
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 13px;
	color: #E6E8EB;
}

.sx-auth-brand__foot {
	font-size: 13px;
	color: #9EA4AD;
}

body.sx-auth main {
	margin-left: var(--sx-brand-width);
	max-width: none;
	width: auto;
	min-height: 100vh;
	padding: 48px 24px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.sx-auth main > .page_content,
body.sx-auth main .page_content,
body[data-path="login"] main .page_content {
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
}

body.sx-auth .page-card,
body[data-path="login"] .page-card {
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

body.sx-auth .page-card-head,
body[data-path="login"] .page-card-head {
	text-align: left;
	align-items: flex-start;
	padding: 0;
	margin-bottom: 26px;
}

body.sx-auth .page-card-head .app-logo {
	display: none;
}

body[data-path="login"] .page-card-head .app-logo {
	height: 44px;
	width: auto;
	max-width: 220px;
	margin: 0 0 22px 0;
	object-fit: contain;
}

body.sx-auth .page-card-head h4,
body[data-path="login"] .page-card-head h4 {
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--sx-ink);
	letter-spacing: -0.01em;
	text-align: left;
	margin: 0;
}

body.sx-auth .page-card-head p,
body.sx-auth .page-card-subtitle,
body[data-path="login"] .page-card-subtitle {
	color: var(--sx-muted);
	font-size: 15px;
	margin-top: 6px;
}

body.sx-auth .page-card-body,
body[data-path="login"] .page-card-body {
	padding: 0;
}

body.sx-auth .form-group label,
body[data-path="login"] .form-group label {
	font-size: 13px;
	font-weight: 600;
	color: #2B3038;
}

body.sx-auth .form-signin .form-control,
body.sx-auth .page-card .form-control,
body[data-path="login"] .page-card .form-control {
	height: 46px;
	border: 1px solid var(--sx-control-line);
	border-radius: 10px;
	background: #FFFFFF;
	color: var(--sx-ink);
	font-size: 15px;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.sx-auth .page-card .form-control:focus,
body[data-path="login"] .page-card .form-control:focus {
	border-color: var(--sx-red);
	box-shadow: 0 0 0 3px var(--sx-red-ring);
	outline: none;
}

body.sx-auth .page-card .toggle-password,
body[data-path="login"] .page-card .toggle-password {
	color: var(--sx-muted);
}

body.sx-auth .page-card a[href="#forgot"],
body.sx-auth .page-card .forgot-password-message a,
body[data-path="login"] .page-card a[href="#forgot"] {
	color: var(--sx-red-600);
	font-weight: 500;
	font-size: 13px;
	text-decoration: none;
}

body.sx-auth .page-card a[href="#forgot"]:hover,
body[data-path="login"] .page-card a[href="#forgot"]:hover {
	color: var(--sx-red-700);
	text-decoration: underline;
}

body.sx-auth .page-card .page-card-actions > .btn,
body.sx-auth .page-card .page-card-actions > .es-button,
body.sx-auth .page-card .page-card-actions a.btn,
body.sx-auth .page-card .page-card-actions a.es-button {
	width: 100%;
	box-sizing: border-box;
	text-decoration: none;
}

body.sx-auth .page-card .btn-login,
body.sx-auth .page-card .btn-forgot,
body.sx-auth .page-card .btn.btn-primary,
body.sx-auth .page-card .es-button[data-variant="solid"],
body[data-path="login"] .page-card .btn.btn-primary,
body[data-path="login"] .page-card .es-button[data-variant="solid"] {
	height: 48px;
	border-radius: 10px;
	background: var(--sx-red);
	border: 1px solid var(--sx-red);
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 6px 16px rgba(var(--sx-red-rgb), 0.25);
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

body.sx-auth .page-card .btn.btn-primary:hover,
body.sx-auth .page-card .es-button[data-variant="solid"]:hover,
body[data-path="login"] .page-card .btn.btn-primary:hover,
body[data-path="login"] .page-card .es-button[data-variant="solid"]:hover {
	background: var(--sx-red-600);
	border-color: var(--sx-red-600);
}

body.sx-auth .page-card .btn.btn-primary:active,
body.sx-auth .page-card .es-button[data-variant="solid"]:active {
	background: var(--sx-red-700);
	border-color: var(--sx-red-700);
	box-shadow: none;
}

body.sx-auth .page-card .btn-login-option,
body.sx-auth .page-card .btn.btn-default,
body.sx-auth .page-card .es-button:not([data-variant="solid"]),
body[data-path="login"] .page-card .btn-login-option {
	height: 46px;
	border-radius: 10px;
	background: #FFFFFF;
	border: 1px solid var(--sx-control-line);
	color: var(--sx-ink);
	font-size: 14px;
	font-weight: 600;
	box-shadow: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

body.sx-auth .page-card .btn-login-option:hover,
body.sx-auth .page-card .es-button:not([data-variant="solid"]):hover {
	background: #FAFAFB;
	border-color: #9EA4AD;
}

body.sx-auth .page-card .login-divider,
body[data-path="login"] .page-card .login-divider {
	color: #8A919B;
	font-size: 12px;
}

body.sx-auth .sign-up-message,
body.sx-auth .sign-up-message a {
	color: var(--sx-muted);
}

body.sx-auth .sign-up-message a {
	color: var(--sx-red-600);
	font-weight: 600;
}

body.sx-auth .alert,
body.sx-auth .page-card .alert {
	border-radius: 10px;
}

.sx-auth-foot {
	margin-top: 26px;
	font-size: 12px;
	color: #6B727C;
	text-align: center;
}

@media (max-width: 900px) {
	:root {
		--sx-brand-width: 100%;
	}

	.sx-auth-brand {
		position: relative;
		width: 100%;
		min-height: 210px;
		padding: 36px 24px 30px;
		gap: 18px;
	}

	body.sx-auth .page-card-head .app-logo {
		display: none;
	}

	.sx-auth-brand__logo img {
		width: 190px;
	}

	.sx-auth-brand__title {
		font-size: 24px;
	}

	.sx-auth-brand__text,
	.sx-auth-brand__chips,
	.sx-auth-brand__foot {
		display: none;
	}

	body.sx-auth main {
		margin-left: 0;
		min-height: auto;
		padding: 28px 20px 40px;
		align-items: flex-start;
	}
}

.sx-auth-brand > :not(.sx-auth-scene) {
	position: relative;
	z-index: 1;
}

.sx-auth-scene {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.sx-auth-rings-wrap {
	position: absolute;
	width: 900px;
	height: 900px;
	right: -330px;
	bottom: -450px;
	transform: translate3d(calc(var(--sx-px, 0) * -26px), calc(var(--sx-py, 0) * -26px), 0);
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sx-auth-rings {
	width: 100%;
	height: 100%;
	animation: sxAuthSpin 90s linear infinite;
	transform-origin: 50% 50%;
}

.sx-ring {
	transform-origin: 450px 450px;
	animation: sxAuthRingIn 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.sx-ring--red {
	stroke: var(--sx-red);
	opacity: 0.55;
}

.sx-ring--white {
	stroke: #FFFFFF;
	opacity: 0.12;
}

.sx-ring--soft {
	opacity: 0.32;
	animation-delay: 0.15s;
}

.sx-ring--white.sx-ring--soft {
	opacity: 0.08;
	animation-delay: 0.3s;
}

.sx-ring-dot {
	fill: var(--sx-red);
	filter: drop-shadow(0 0 6px var(--sx-red));
}

.sx-auth-circuit {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: translate3d(calc(var(--sx-px, 0) * 12px), calc(var(--sx-py, 0) * 12px), 0);
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sx-trace {
	stroke: rgba(255, 255, 255, 0.07);
	stroke-width: 1.5;
	stroke-dasharray: 1000;
	stroke-dashoffset: 1000;
	animation: sxAuthDraw 2.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.sx-pulse {
	stroke: var(--sx-red);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-dasharray: 70 930;
	stroke-dashoffset: 1070;
	opacity: 0;
	filter: drop-shadow(0 0 5px var(--sx-red)) drop-shadow(0 0 12px rgba(var(--sx-red-rgb), 0.6));
	animation: sxAuthPulse var(--d, 4s) cubic-bezier(0.45, 0, 0.55, 1) calc(1.6s + var(--delay, 0s)) infinite;
}

.sx-node {
	fill: var(--sx-ink);
	stroke: var(--sx-red);
	stroke-width: 1.5;
	animation: sxAuthNode 2.8s ease-in-out calc(1.8s + var(--delay, 0s)) infinite;
}

.sx-auth-glow {
	position: absolute;
	width: 520px;
	height: 520px;
	left: -180px;
	top: -200px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(var(--sx-red-rgb), 0.22), transparent);
	transform: translate3d(calc(var(--sx-px, 0) * 40px), calc(var(--sx-py, 0) * 40px), 0);
	transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
	animation: sxAuthBreathe 7s ease-in-out infinite;
}

.sx-auth-brand__logo {
	animation: sxAuthUp 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
}

.sx-auth-brand__title .sx-w {
	display: inline-block;
	animation: sxAuthWord 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.35s + var(--i) * 0.07s) both;
}

.sx-auth-brand__text {
	animation: sxAuthUp 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.85s both;
}

.sx-auth-brand__chips li {
	position: relative;
	overflow: hidden;
	backdrop-filter: blur(4px);
	background: rgba(255, 255, 255, 0.03);
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
	animation: sxAuthUp 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) calc(1.05s + var(--i) * 0.1s) both;
}

.sx-auth-brand__chips li::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-inline-end: 8px;
	border-radius: 50%;
	background: var(--sx-red);
	box-shadow: 0 0 8px var(--sx-red);
	vertical-align: 1px;
}

.sx-auth-brand__chips li:hover {
	border-color: rgba(var(--sx-red-rgb), 0.7);
	background: rgba(var(--sx-red-rgb), 0.1);
	transform: translateY(-2px);
}

.sx-auth-brand__foot {
	display: flex;
	align-items: center;
	gap: 10px;
	animation: sxAuthUp 0.6s ease 1.4s both;
}

.sx-auth-live {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2F9E6B;
}

.sx-auth-live::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #2F9E6B;
	animation: sxAuthPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

body.sx-auth {
	background:
		radial-gradient(600px circle at 85% 10%, rgba(var(--sx-red-rgb), 0.06), transparent 60%),
		radial-gradient(circle, rgba(var(--sx-ink-rgb), 0.06) 1px, transparent 1.2px) 0 0 / 22px 22px,
		var(--sx-page);
}

body.sx-auth .page-card .page-card-head,
body.sx-auth .page-card .page-card-body > *,
body.sx-auth .page-card .page-card-actions,
body.sx-auth .page-card .sign-up-message,
body.sx-auth .page-card .sx-auth-foot {
	animation: sxAuthUp 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

body.sx-auth .page-card .page-card-head { animation-delay: 0.2s; }
body.sx-auth .page-card .page-card-body > :nth-child(2) { animation-delay: 0.32s; }
body.sx-auth .page-card .page-card-body > :nth-child(3) { animation-delay: 0.42s; }
body.sx-auth .page-card .page-card-actions { animation-delay: 0.52s; }
body.sx-auth .page-card .sign-up-message { animation-delay: 0.62s; }
body.sx-auth .page-card .sx-auth-foot { animation-delay: 0.7s; }

.sx-auth-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sx-muted);
}

.sx-auth-eyebrow__bar {
	position: relative;
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: var(--sx-red);
	overflow: hidden;
}

.sx-auth-eyebrow__bar::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 10px;
	background: linear-gradient(90deg, transparent, #a9b6c8, transparent);
	animation: sxAuthSpark 2.4s ease-in-out 1s infinite;
}

body.sx-auth .page-card-head h4 {
	font-size: 32px;
	letter-spacing: -0.02em;
}

body.sx-auth .page-card .form-group label {
	transition: color 0.15s ease;
}

body.sx-auth .page-card .form-group:focus-within label {
	color: var(--sx-red-600);
}

body.sx-auth .page-card .sx-field .sx-field-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	color: #9EA4AD;
	pointer-events: none;
	transition: color 0.15s ease, transform 0.2s ease;
	z-index: 1;
}

body.sx-auth .page-card .sx-field .sx-field-icon svg {
	width: 18px;
	height: 18px;
	display: block;
}

body.sx-auth .page-card .sx-field:focus-within .sx-field-icon {
	color: var(--sx-red);
	transform: translateY(-50%) scale(1.08);
}

body.sx-auth .page-card .sx-field input.form-control {
	height: 50px;
	padding: 0 16px 0 44px;
	border: 1px solid var(--sx-control-line);
	border-radius: 12px;
	background: #FFFFFF;
	font-size: 15px;
	color: var(--sx-ink);
	box-shadow: 0 1px 2px rgba(var(--sx-ink-rgb), 0.04);
	transition: border-color 0.15s ease, box-shadow 0.2s ease, background-color 0.15s ease;
}

body.sx-auth .page-card .sx-field.password-field input.form-control {
	padding-right: 44px;
}

body.sx-auth .page-card .sx-field input.form-control:hover {
	border-color: #B8BDC4;
}

body.sx-auth .page-card .sx-field input.form-control:focus {
	border-color: var(--sx-red);
	box-shadow: 0 0 0 4px var(--sx-red-ring), 0 6px 18px rgba(var(--sx-red-rgb), 0.08);
	outline: none;
}

body.sx-auth .page-card .sx-field .toggle-password {
	right: 14px;
	cursor: pointer;
	transition: color 0.15s ease;
}

body.sx-auth .page-card .sx-field .toggle-password:hover {
	color: var(--sx-ink);
}

body.sx-auth .page-card .form-group.invalid .sx-field input.form-control,
body.sx-auth .page-card .has-error .sx-field input.form-control {
	border-color: var(--sx-red);
}

.sx-caps {
	display: flex;
	align-items: center;
	gap: 6px;
	max-height: 0;
	margin: 0;
	overflow: hidden;
	font-size: 12px;
	font-weight: 600;
	color: #8A4B00;
	opacity: 0;
	transition: max-height 0.2s ease, opacity 0.2s ease, margin 0.2s ease;
}

.sx-caps::before {
	content: "⇪";
	font-size: 13px;
}

.sx-caps.is-on {
	max-height: 24px;
	margin-top: 6px;
	opacity: 1;
}

body.sx-auth .page-card .sx-btn-go {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	border-radius: 12px;
	font-size: 15.5px;
	transition: background-color 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

body.sx-auth .page-card .sx-btn-go::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
	transform: skewX(-18deg);
	animation: sxAuthShine 4.5s ease-in-out 2s infinite;
	pointer-events: none;
}

body.sx-auth .page-card .sx-btn-go:hover {
	box-shadow: 0 10px 24px rgba(var(--sx-red-rgb), 0.32);
	transform: translateY(-1px);
}

body.sx-auth .page-card .sx-btn-go:active {
	transform: translateY(0);
}

body.sx-auth .page-card .sx-btn-go:disabled,
body.sx-auth .page-card .sx-btn-go[disabled] {
	opacity: 0.85;
	cursor: progress;
}

.sx-btn-arrow {
	display: inline-flex;
	width: 18px;
	height: 18px;
	transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sx-btn-arrow svg {
	width: 18px;
	height: 18px;
}

body.sx-auth .page-card .sx-btn-go:hover .sx-btn-arrow {
	transform: translateX(4px);
}

body.sx-auth .page-card.sx-shake {
	animation: sxShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

body.sx-auth .page-card .login-error-banner:not(.hidden) {
	border-radius: 12px;
	animation: sxAuthUp 0.3s ease both;
}

@keyframes sxAuthSpin {
	to { transform: rotate(360deg); }
}

@keyframes sxAuthRingIn {
	from { transform: scale(0.85); opacity: 0; }
}

@keyframes sxAuthDraw {
	to { stroke-dashoffset: 0; }
}

@keyframes sxAuthPulse {
	0% { stroke-dashoffset: 1070; opacity: 0; }
	8% { opacity: 1; }
	85% { opacity: 1; }
	100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes sxAuthNode {
	0%, 100% { fill: var(--sx-ink); }
	50% { fill: var(--sx-red); }
}

@keyframes sxAuthBreathe {
	0%, 100% { opacity: 0.7; }
	50% { opacity: 1; }
}

@keyframes sxAuthUp {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes sxAuthWord {
	from { opacity: 0; transform: translateY(0.5em); filter: blur(6px); }
	to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes sxAuthPing {
	75%, 100% { transform: scale(2.4); opacity: 0; }
}

@keyframes sxAuthSpark {
	0% { left: -12px; }
	45%, 100% { left: 32px; }
}

@keyframes sxAuthShine {
	0% { left: -60%; }
	30%, 100% { left: 130%; }
}

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

@media (max-width: 900px) {
	.sx-auth-rings-wrap {
		width: 520px;
		height: 520px;
		right: -250px;
		bottom: auto;
		top: -330px;
	}

	.sx-auth-circuit {
		opacity: 0.6;
	}

	.sx-auth-brand__title,
	.sx-auth-brand__foot {
		display: none;
	}

	body.sx-auth .page-card-head h4 {
		font-size: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sx-auth-brand *,
	.sx-auth-brand *::before,
	.sx-auth-brand *::after,
	body.sx-auth .page-card *,
	body.sx-auth .page-card *::before,
	body.sx-auth .page-card *::after {
		animation: none !important;
		transition: none !important;
	}

	.sx-trace {
		stroke-dashoffset: 0;
	}

	.sx-pulse {
		display: none;
	}
}

.sx-auth-brand__foot {
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px 24px;
}

.sx-auth-copy {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sx-auth-dev {
	--it-main: #FFFFFF;
	--it-accent: var(--sx-red);
	--it-sub: #9EA4AD;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 8px 14px 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: #9EA4AD;
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.sx-auth-dev:hover {
	border-color: rgba(var(--sx-red-rgb), 0.6);
	background: rgba(var(--sx-red-rgb), 0.08);
	transform: translateY(-1px);
	text-decoration: none;
}

.sx-auth-dev__by {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sx-auth-dev img {
	height: 22px;
	width: auto;
	display: block;
}

.sx-auth-foot__dot {
	margin: 0 8px;
	color: #B8BDC4;
}

.sx-auth-foot__dev {
	color: var(--sx-ink);
	font-weight: 700;
	text-decoration: none;
}

.sx-auth-foot__dev:hover {
	color: var(--sx-red);
	text-decoration: none;
}

/* اللوحة الكحلي في صفحة الدخول: الدواير والخطوط فضي بدل الكحلي عشان تبان */
.sx-auth-brand {
	--sx-red: #c9ced6;
	--sx-red-600: #e5e8ed;
	--sx-red-700: #ffffff;
	--sx-red-rgb: 201, 206, 214;
}

/* لوجو شركة العميل فوق كارت الدخول */
.sx-auth-company {
	display: flex;
	align-items: center;
	margin-bottom: 22px;
	animation: sxAuthUp 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
}
.sx-auth-company__logo {
	display: block;
	height: 52px;
	max-width: 240px;
}

/* الدواير: موجات بتطلع من المركز ورا بعض لحد حدود الدايرة الكبيرة، وكل دايرة بتنوّر لما الموجة توصلها */
.sx-ring-wave {
	stroke: var(--sx-red);
	fill: none;
	opacity: 0;
	transform-origin: 450px 450px;
	transform: scale(0.08);
	animation: sxRingWave 8s cubic-bezier(0.25, 0.6, 0.35, 1) infinite;
	animation-delay: calc(var(--w) * 2s);
	filter: drop-shadow(0 0 6px rgba(var(--sx-red-rgb), 0.55));
}
@keyframes sxRingWave {
	0% { transform: scale(0.08); opacity: 0; }
	12% { opacity: 0.75; }
	70% { opacity: 0.3; }
	100% { transform: scale(1); opacity: 0; }
}
.sx-ring {
	animation: sxAuthRingIn 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both, sxRingBeam 8s ease-in-out 1.4s infinite;
}
.sx-ring--white.sx-ring--soft { animation-delay: 0.3s, 1.4s; }
.sx-ring--white:not(.sx-ring--soft) { animation-delay: 0s, 2.4s; }
.sx-ring--red.sx-ring--soft { animation-delay: 0.15s, 3.6s; }
.sx-ring--red:not(.sx-ring--soft) { animation-delay: 0s, 4.6s; }
@keyframes sxRingBeam {
	0%, 100% { filter: none; stroke-width: inherit; }
	8% { filter: drop-shadow(0 0 8px rgba(var(--sx-red-rgb), 0.8)); }
	18% { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
	.sx-ring-wave { display: none; }
	.sx-ring { animation: none; }
}

/* صفحة الدخول الأصلية ماتظهرش قبل ما شكل Shift يتبني: المحتوى مخفي لحد ما shift_web.js يحط sx-auth،
   ولو السكربت ماشتغلش لأي سبب الصفحة بتظهر بعد ثانية ونص عشان الدخول مايقفش */
body[data-path="login"]:not(.sx-auth) > *,
body[data-path="update-password"]:not(.sx-auth) > * {
	opacity: 0;
	animation: sxAuthFallback 0.3s ease 1.5s forwards;
}
body[data-path="login"]:not(.sx-auth),
body[data-path="update-password"]:not(.sx-auth) {
	background: linear-gradient(90deg, #0A1A33 0 46%, #F4F6F9 46%);
}
@keyframes sxAuthFallback { to { opacity: 1; } }
