:root {
	--aurora-bg: #07111f;
	--aurora-bg-deep: #040a12;
	--aurora-surface: rgba(13, 26, 43, 0.88);
	--aurora-surface-strong: #0d1a2b;
	--aurora-border: rgba(255, 255, 255, 0.1);
	--aurora-border-hover: rgba(255, 255, 255, 0.18);
	--aurora-text: #f4f7fb;
	--aurora-muted: #98a7b8;
	--aurora-muted-light: #c6d0db;
	--aurora-accent: #55c8ff;
	--aurora-accent-strong: #249ee4;
	--aurora-accent-soft: rgba(85, 200, 255, 0.12);
	--aurora-success: #59d6a0;
	--aurora-danger: #ff7b82;
	--aurora-radius-lg: 28px;
	--aurora-radius-md: 14px;
	--aurora-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
	background: var(--aurora-bg-deep);
}

body {
	overflow: hidden;
}

.navbar,
.web-footer {
	display: none !important;
}

#page-login,
#page-login > .page-content-wrapper,
#page-login > .page-content-wrapper > main.container,
#page-login .page_content {
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	background: transparent !important;
	overflow: hidden;
}

#page-login .page-breadcrumbs,
#page-login .page-header-wrapper {
	display: none;
}

.aurora-login-page {
	position: relative;
	display: grid;
	grid-template-columns: minmax(320px, 0.75fr) minmax(440px, 1.25fr);
	width: 100%;
	height: 100vh;
	height: 100dvh;
	min-height: 0;
	color: var(--aurora-text);
	background: radial-gradient(circle at 18% 18%, rgba(40, 158, 228, 0.2), transparent 34%),
		radial-gradient(circle at 72% 85%, rgba(50, 197, 176, 0.1), transparent 32%),
		linear-gradient(145deg, #071321 0%, #081727 48%, #040a12 100%);
	isolation: isolate;
}

.aurora-login-page::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	opacity: 0.36;
	pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: linear-gradient(to right, black, rgba(0, 0, 0, 0.5), transparent);
}

.aurora-login-page::after {
	content: "";
	position: absolute;
	width: 540px;
	height: 540px;
	left: -210px;
	bottom: -260px;
	z-index: -1;
	border: 1px solid rgba(85, 200, 255, 0.13);
	border-radius: 50%;
	box-shadow: 0 0 0 80px rgba(85, 200, 255, 0.025), 0 0 0 160px rgba(85, 200, 255, 0.018);
	pointer-events: none;
}

.aurora-brand-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	min-height: 0;
	padding: clamp(38px, 5vw, 76px);
	overflow: hidden;
	box-sizing: border-box;
}

.aurora-brand-panel::after {
	content: "";
	position: absolute;
	top: 10%;
	right: -160px;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(85, 200, 255, 0.1);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(85, 200, 255, 0.06), transparent 68%);
	pointer-events: none;
}

.aurora-brand-header {
	position: relative;
	z-index: 2;
}

.aurora-brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	min-height: 92px;
	color: inherit;
	text-decoration: none;
	transition: opacity 160ms ease, transform 160ms ease;
}

.aurora-brand-lockup:hover {
	color: inherit;
	text-decoration: none;
	opacity: 0.9;
	transform: translateY(-1px);
}

.aurora-brand-lockup:focus-visible,
.aurora-mobile-logo a:focus-visible {
	border-radius: 10px;
	outline: 2px solid var(--aurora-accent);
	outline-offset: 5px;
}

.aurora-brand-logo {
	display: block;
	width: 292px;
	height: 92px;
	flex: 0 0 auto;
	object-fit: cover;
	object-position: center;
}

.aurora-brand-product {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-left: 20px;
	border-left: 1px solid var(--aurora-border-hover);
	white-space: nowrap;
}

.aurora-brand-product span {
	color: var(--aurora-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.aurora-brand-product strong {
	color: var(--aurora-text);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.aurora-brand-emblem {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	width: min(320px, 68%);
	color: var(--aurora-accent);
	text-align: center;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.aurora-brand-emblem::before,
.aurora-brand-emblem::after {
	content: "";
	position: absolute;
	top: 72px;
	left: 50%;
	border: 1px solid rgba(85, 200, 255, 0.1);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.aurora-brand-emblem::before {
	width: 260px;
	height: 260px;
}

.aurora-brand-emblem::after {
	width: 330px;
	height: 330px;
	border-color: rgba(85, 200, 255, 0.05);
}

.aurora-brand-emblem svg {
	position: relative;
	z-index: 1;
	width: 116px;
	height: auto;
	filter: drop-shadow(0 16px 34px rgba(36, 158, 228, 0.18));
	opacity: 0.82;
}

.aurora-brand-emblem-copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.aurora-brand-emblem-copy span {
	color: var(--aurora-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.aurora-brand-emblem-copy strong {
	color: var(--aurora-muted-light);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.aurora-brand-footer {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	color: var(--aurora-muted);
	font-size: 12px;
}

.aurora-brand-footer a {
	color: var(--aurora-muted-light);
	text-decoration: none;
	transition: color 160ms ease;
}

.aurora-brand-footer a:hover {
	color: var(--aurora-accent);
}

.aurora-status {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	white-space: nowrap;
}

.aurora-status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--aurora-success);
	box-shadow: 0 0 0 5px rgba(89, 214, 160, 0.1);
}

.aurora-auth-panel {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 0;
	padding: clamp(36px, 4vw, 72px);
	border-left: 1px solid var(--aurora-border);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008)),
		rgba(3, 9, 16, 0.52);
	backdrop-filter: blur(18px);
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
}

.aurora-auth-wrapper {
	width: 100%;
	max-width: 490px;
}

.aurora-mobile-logo {
	display: none;
	margin-bottom: 34px;
	text-align: center;
}

.aurora-mobile-logo a {
	display: inline-block;
}

.aurora-mobile-logo img {
	width: 250px;
	height: 78px;
	object-fit: cover;
	object-position: center;
}

.aurora-auth-intro {
	margin-bottom: 30px;
}

.aurora-auth-label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 14px;
	color: var(--aurora-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.aurora-auth-label::before {
	content: "";
	width: 18px;
	height: 1px;
	background: currentColor;
}

.aurora-auth-heading {
	margin: 0;
	color: var(--aurora-text);
	font-size: clamp(31px, 3vw, 42px);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.aurora-auth-copy {
	margin: 13px 0 0;
	color: var(--aurora-muted);
	font-size: 15px;
	line-height: 1.65;
}

.aurora-auth-wrapper .page-card {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.aurora-auth-wrapper .page-card-head {
	display: none;
}

.aurora-auth-wrapper form {
	margin: 0;
}

.aurora-auth-wrapper .form-group {
	margin-bottom: 18px;
}

.aurora-auth-wrapper label,
.aurora-auth-wrapper .form-label {
	display: block;
	margin-bottom: 8px;
	color: var(--aurora-muted-light);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.aurora-auth-wrapper .form-control {
	width: 100%;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid var(--aurora-border) !important;
	border-radius: var(--aurora-radius-md);
	outline: none;
	color: var(--aurora-text) !important;
	background-color: rgba(255, 255, 255, 0.045) !important;
	box-shadow: none !important;
	font-size: 14px;
	transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.aurora-auth-wrapper .form-control::placeholder {
	color: #75879a;
	opacity: 1;
}

.aurora-auth-wrapper .form-control:hover {
	border-color: var(--aurora-border-hover) !important;
	background-color: rgba(255, 255, 255, 0.06) !important;
}

.aurora-auth-wrapper .form-control:focus {
	border-color: var(--aurora-accent) !important;
	background-color: rgba(255, 255, 255, 0.07) !important;
	box-shadow: 0 0 0 4px rgba(85, 200, 255, 0.1) !important;
}

.aurora-auth-wrapper input:-webkit-autofill,
.aurora-auth-wrapper input:-webkit-autofill:hover,
.aurora-auth-wrapper input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--aurora-text);
	box-shadow: 0 0 0 1000px #102033 inset;
	transition: background-color 9999s ease-in-out 0s;
}

.aurora-auth-wrapper .email-field,
.aurora-auth-wrapper .password-field {
	position: relative;
}

.aurora-auth-wrapper .toggle-password {
	color: var(--aurora-muted);
}

.aurora-auth-wrapper .btn,
.aurora-auth-wrapper .es-button {
	min-height: 52px;
	border-radius: var(--aurora-radius-md);
	font-size: 14px;
	font-weight: 700;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease,
		border-color 160ms ease;
}

.aurora-auth-wrapper .btn-primary,
.aurora-auth-wrapper .es-button--variant-primary {
	border: 1px solid var(--aurora-accent) !important;
	color: #03101a !important;
	background-color: var(--aurora-accent) !important;
	box-shadow: 0 14px 34px rgba(36, 158, 228, 0.2) !important;
}

.aurora-auth-wrapper .btn-primary:hover,
.aurora-auth-wrapper .es-button--variant-primary:hover {
	border-color: #78d5ff !important;
	background-color: #78d5ff !important;
	box-shadow: 0 17px 38px rgba(36, 158, 228, 0.28) !important;
	transform: translateY(-1px);
}

.aurora-auth-wrapper .btn-default,
.aurora-auth-wrapper .btn-secondary {
	border: 1px solid var(--aurora-border) !important;
	color: var(--aurora-muted-light) !important;
	background-color: rgba(255, 255, 255, 0.035) !important;
}

.aurora-auth-wrapper .btn-default:hover,
.aurora-auth-wrapper .btn-secondary:hover {
	border-color: var(--aurora-border-hover) !important;
	color: var(--aurora-text) !important;
	background-color: rgba(255, 255, 255, 0.065) !important;
}

.aurora-auth-wrapper .btn-block {
	width: 100%;
}

.aurora-auth-wrapper a {
	color: var(--aurora-accent);
	text-decoration: none;
}

.aurora-auth-wrapper a:hover {
	color: #8dddff;
	text-decoration: none;
}

.aurora-auth-wrapper .forgot-password-message {
	margin-top: 12px;
	text-align: right;
	font-size: 12px;
}

.aurora-auth-wrapper .page-card-actions {
	margin-top: 24px;
}

.aurora-auth-wrapper .page-card-actions .btn {
	width: 100%;
}

.aurora-auth-wrapper .social-logins {
	margin-top: 22px;
}

.aurora-auth-wrapper .social-login-buttons {
	display: grid;
	gap: 10px;
}

.aurora-auth-wrapper .social-login-buttons img,
.aurora-auth-wrapper .social-login-buttons svg {
	width: 18px;
	height: 18px;
	margin-right: 8px;
	object-fit: contain;
}

.aurora-auth-wrapper .login-divider {
	position: relative;
	margin: 24px 0;
	color: var(--aurora-muted);
	text-align: center;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.aurora-auth-wrapper .login-divider::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--aurora-border);
}

.aurora-auth-wrapper .login-divider span {
	position: relative;
	padding: 0 12px;
	background: #07111d;
}

.aurora-secondary-action {
	margin-top: 20px;
	text-align: center;
}

.aurora-secondary-action .btn {
	width: 100%;
}

.aurora-security-note {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--aurora-border);
	color: var(--aurora-muted);
	font-size: 11px;
	line-height: 1.55;
}

.aurora-security-icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	color: var(--aurora-accent);
}

.aurora-auth-wrapper .alert {
	margin-bottom: 18px;
	border: 1px solid rgba(255, 123, 130, 0.28);
	border-radius: 12px;
	color: #ffd4d7;
	background: rgba(255, 123, 130, 0.08);
}

.aurora-auth-wrapper .indicator {
	color: var(--aurora-muted-light);
}

.aurora-auth-wrapper .for-login,
.aurora-auth-wrapper .for-email-login,
.aurora-auth-wrapper .for-forgot,
.aurora-auth-wrapper .for-login-with-email-link,
.aurora-auth-wrapper .for-signup {
	width: 100%;
}

@media (max-width: 1100px) {
	.aurora-login-page {
		grid-template-columns: minmax(300px, 0.7fr) minmax(420px, 1.3fr);
	}

	.aurora-brand-lockup {
		gap: 14px;
	}

	.aurora-brand-logo {
		width: 240px;
		height: 76px;
	}

	.aurora-brand-product {
		display: none;
	}

	.aurora-brand-emblem {
		transform: translate(-50%, -50%) scale(0.86);
	}
}

@media (max-width: 1400px) {
	.aurora-brand-product {
		display: none;
	}

	.aurora-brand-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

@media (max-width: 820px) {
	html,
	body {
		height: auto;
		min-height: 100%;
		overflow-x: hidden;
		overflow-y: auto;
	}

	#page-login,
	#page-login > .page-content-wrapper,
	#page-login > .page-content-wrapper > main.container,
	#page-login .page_content {
		height: auto;
		min-height: 100%;
		overflow: visible;
	}

	.aurora-login-page {
		display: block;
		height: auto;
		min-height: 100vh;
		min-height: 100dvh;
	}

	.aurora-brand-panel {
		display: none;
	}

	.aurora-auth-panel {
		height: auto;
		min-height: 100vh;
		min-height: 100dvh;
		padding: 34px 22px;
		border-left: 0;
		background: radial-gradient(circle at 50% 0%, rgba(40, 158, 228, 0.17), transparent 42%),
			linear-gradient(145deg, #071321, #040a12);
	}

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

	.aurora-auth-wrapper {
		max-width: 480px;
	}

	.aurora-auth-intro {
		text-align: center;
	}

	.aurora-auth-label {
		justify-content: center;
	}

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

@media (max-width: 480px) {
	.aurora-auth-panel {
		align-items: flex-start;
		padding: 28px 18px;
	}

	.aurora-mobile-logo {
		margin-bottom: 28px;
	}

	.aurora-mobile-logo img {
		width: 220px;
		height: 70px;
	}

	.aurora-auth-heading {
		font-size: 30px;
	}

	.aurora-auth-copy {
		font-size: 14px;
	}
}
