/*-------------------------------------------------------------------------*/
/* Auth
/*-------------------------------------------------------------------------*/
.page-auth .page-head {
	text-align: center;
	margin-bottom: 1.3rem;
}

.page-auth .page-subbody {
	max-width: 1220px;
	margin: 0 auto;
}

.page-auth .page-subbody > .col-12,
.page-auth .page_form {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.page-auth .auth-login-shell {
	display: grid;
	grid-template-columns: minmax(280px, 0.92fr) minmax(420px, 1.18fr);
	border: 1px solid rgba(255, 166, 77, 0.12);
	border-radius: 28px;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(15, 21, 35, 0.96) 0%, rgba(10, 14, 24, 0.99) 100%),
		radial-gradient(circle at top, rgba(255, 160, 64, 0.08), transparent 42%);
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
}

.page-auth .auth-login-panel {
	position: relative;
}

.page-auth .auth-login-panel--art {
	min-height: 640px;
	padding: 28px;
	background:
		linear-gradient(180deg, rgba(4, 7, 14, 0.18), rgba(4, 7, 14, 0.82)),
		url('https://aeternumwow.servegame.com/application/themes/aeternum/assets/images/banners/banner-register.png') center/cover no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.page-auth .auth-login-panel--art::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 9, 16, 0.08), rgba(6, 9, 16, 0.68));
	pointer-events: none;
}

.page-auth .auth-login-badge,
.page-auth .auth-login-artcopy {
	position: relative;
	z-index: 1;
}

.page-auth .auth-login-badge {
	display: inline-flex;
	align-self: flex-start;
	padding: 11px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 166, 77, 0.16);
	background: rgba(15, 19, 32, 0.48);
	backdrop-filter: blur(10px);
	color: #ffd39d;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.page-auth .auth-login-artcopy {
	max-width: 360px;
}

.page-auth .auth-login-kicker {
	display: inline-flex;
	margin-bottom: 12px;
	color: #ffb86e;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.page-auth .auth-login-artcopy h3 {
	margin: 0 0 14px;
	color: #fff4e8;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.02;
}

.page-auth .auth-login-artcopy p {
	margin: 0;
	color: rgba(244, 246, 251, 0.84);
	font-size: 1rem;
	line-height: 1.75;
}

.page-auth .auth-login-panel--form {
	padding: 34px 38px;
	background: linear-gradient(180deg, rgba(14, 19, 31, 0.84), rgba(10, 14, 24, 0.96));
}

.page-auth .auth-login-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 18px;
	margin-bottom: 24px;
}

.page-auth .auth-login-overline {
	display: inline-flex;
	margin-bottom: 8px;
	color: #ffb86e;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.page-auth .auth-login-head h3 {
	margin: 0 0 10px;
	color: #fff6ec;
	font-size: clamp(2rem, 2.7vw, 3rem);
	line-height: 1.02;
}

.page-auth .auth-login-head p {
	max-width: 520px;
	margin: 0;
	color: rgba(244, 246, 251, 0.78);
	font-size: 1rem;
	line-height: 1.75;
}

.page-auth .auth-login-register-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 18px;
	border-radius: 999px;
	border: 1px solid rgba(255, 166, 77, 0.14);
	background: rgba(255, 255, 255, 0.03);
	color: #ffcb8f;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.page-auth .auth-login-register-link:hover {
	color: #ffe0bb;
	border-color: rgba(255, 166, 77, 0.24);
}

.page-auth .auth-login-form .card-body {
	padding: 0;
}

.page-auth .auth-login-form .error-feedback,
.page-auth .page_form .error-feedback {
	margin-bottom: 1rem;
	padding: 12px 14px;
	border: 1px solid rgba(255, 90, 90, 0.2);
	border-radius: 14px;
	background: rgba(255, 90, 90, 0.08);
	color: #ffd1d1;
}

.page-auth .auth-login-fields {
	display: grid;
}

.page-auth .auth-login-form .input-group {
	border-radius: 18px;
	border: 1px solid rgba(255, 166, 77, 0.12);
	background: linear-gradient(180deg, rgba(9, 12, 22, 0.92), rgba(12, 16, 28, 0.97));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 10px 24px rgba(0, 0, 0, 0.18);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-auth .auth-login-form .input-group:focus-within {
	border-color: rgba(255, 166, 77, 0.34);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 0 4px rgba(255, 141, 46, 0.08), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.page-auth .auth-login-form .input-group .input-group-text {
	width: 56px !important;
	padding: 0;
	border: 0;
	justify-content: center;
	background: linear-gradient(180deg, rgba(255, 145, 61, 0.18), rgba(255, 110, 21, 0.1));
	color: #ffc17e;
	border-radius: 18px 0 0 18px !important;
}

.page-auth .auth-login-form .input-group .form-control {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #f4f6fb !important;
	min-height: 58px;
	padding: 0 18px !important;
	font-size: 0.98rem !important;
	box-shadow: none !important;
}

.page-auth .auth-login-form .input-group .form-control::placeholder {
	color: rgba(244, 246, 251, 0.44) !important;
}

.page-auth .auth-login-form .input-group #captcha[for='floatingCaptcha'] {
	width: 150px !important;
	height: 100% !important;
	top: 0;
	right: 0;
	filter: grayscale(0.35);
	padding: 0;
	z-index: 9;
	opacity: 0.65;
	overflow: hidden;
	position: absolute;
	border-radius: 18px;
}

.page-auth .auth-login-form .input-group #captcha[for='floatingCaptcha'] img {
	width: 100%;
	height: 100%;
	border-radius: 18px;
}

.page-auth .auth-login-form .input-group .captcha-input {
	height: auto;
	min-height: auto;
	line-height: 1.5;
}

.page-auth .auth-login-form .input-group .captcha-input + label {
	display: none;
}

.page-auth .auth-login-actions {
	gap: 14px;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 16px !important;
}

.page-auth .auth-remember-wrap {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 166, 77, 0.1);
	cursor: pointer;
}

.page-auth .auth-remember-wrap .form-check-input {
	position: relative;
	flex: 0 0 auto;
	margin: 0 !important;
	width: 3rem !important;
	height: 1.7rem !important;
	appearance: none;
	-webkit-appearance: none;
	background: rgba(255, 255, 255, 0.12) !important;
	border: 1px solid rgba(255, 166, 77, 0.18) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	outline: none;
	cursor: pointer;
	padding: 0 !important;
}

.page-auth .auth-remember-wrap .form-check-input::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 4px;
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 50%;
	background: #fff7eb;
	transform: translateY(-50%);
	transition: left 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

.page-auth .auth-remember-wrap .form-check-input:checked {
	background: linear-gradient(135deg, #ff8b17 0%, #ffbc2c 100%) !important;
	border-color: #ff9d3f !important;
}

.page-auth .auth-remember-wrap .form-check-input:checked::after {
	left: calc(100% - 1.15rem - 4px);
	background: #10151f;
}

.page-auth .auth-remember-wrap .form-check-input:focus {
	box-shadow: 0 0 0 4px rgba(255, 141, 46, 0.12) !important;
}

.page-auth .auth-remember-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.page-auth .auth-remember-copy strong {
	color: rgba(244, 246, 251, 0.9);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.page-auth .auth-remember-copy small {
	color: rgba(244, 246, 251, 0.58);
	font-size: 0.8rem;
	line-height: 1.4;
}

.page-auth .auth-login-forgot,
.page-auth .card-link {
	color: #ffcb8f;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.page-auth .auth-login-forgot:hover,
.page-auth .card-link:hover {
	color: #ffe3bf;
}

.page-auth .auth-login-submit-wrap {
	margin-top: 22px !important;
}

.page-auth .auth-login-submit,
.page-auth .page_form .nice_button,
.page-auth .auth-login-form .nice_button,
.page-auth .auth-login-form .card-footer {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 58px;
	padding: 0 18px;
	border: 1px solid rgba(255, 183, 94, 0.3) !important;
	border-radius: 18px !important;
	background: linear-gradient(135deg, #ff8b17 0%, #ffbc2c 100%) !important;
	color: #10151f !important;
	font-weight: 900 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase;
	box-shadow: 0 14px 30px rgba(255, 141, 46, 0.18) !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.page-auth .auth-login-submit:hover,
.page-auth .page_form .nice_button:hover,
.page-auth .auth-login-form .nice_button:hover,
.page-auth .auth-login-form .card-footer:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 34px rgba(255, 141, 46, 0.22) !important;
	filter: brightness(1.02);
}

.page-auth .otp {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.page-auth .otp > input {
	--otp-size: 46px;
	width: var(--otp-size);
	height: var(--otp-size);
	margin: 0;
	padding: 0 !important;
	border: 1px solid rgba(255, 166, 77, 0.16) !important;
	border-radius: 12px !important;
	background: rgba(255, 255, 255, 0.04) !important;
	color: #fff !important;
	text-align: center;
	font-size: 1.3rem !important;
	line-height: var(--otp-size);
}

@media (max-width: 991px) {
	.page-auth .auth-login-shell {
		grid-template-columns: 1fr;
	}

	.page-auth .auth-login-panel--art {
		min-height: 320px;
	}

	.page-auth .auth-login-panel--form {
		padding: 26px 22px;
	}
}

@media (max-width: 767px) {
	.page-auth .page-subbody {
		max-width: 100%;
	}

	.page-auth .auth-login-panel--art {
		min-height: 260px;
		padding: 20px;
	}

	.page-auth .auth-login-head {
		flex-direction: column;
	}

	.page-auth .auth-login-head h3 {
		font-size: 2rem;
	}

	.page-auth .auth-remember-wrap {
		width: 100%;
	}
}
