body.auth-page {
	min-height: 100vh;
	background:
		linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.92) 38%, rgba(241, 245, 249, 1) 38%, rgba(241, 245, 249, 1) 100%);
}

.auth-container {
	width: min(1180px, calc(100vw - 40px));
	min-height: 100vh;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 0;
}

.auth-row {
	width: 100%;
	min-height: 650px;
	background: #fff;
	border: 1px solid rgba(226, 232, 240, 0.9);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.auth-cover-wrapper {
	height: 100%;
	background:
		linear-gradient(145deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 64, 175, 0.9) 100%);
	color: #fff;
}

.auth-cover {
	height: 100%;
	min-height: 650px;
	padding: 46px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	overflow: hidden;
}

.auth-cover::before {
	content: "";
	position: absolute;
	inset: 34px;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 22px;
	pointer-events: none;
}

.auth-brand {
	display: flex;
	align-items: center;
	gap: 16px;
	position: relative;
	z-index: 1;
}

.auth-brand img {
	width: 132px;
	height: auto;
	padding: 7px 10px;
	border-radius: 10px;
	object-fit: contain;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.auth-brand strong {
	font-size: 2rem;
	line-height: 1;
	color: #fff;
	letter-spacing: 0;
}

.auth-cover-main {
	position: relative;
	z-index: 1;
	max-width: 430px;
}

.auth-cover-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	color: #dbeafe;
	font-size: 12px;
	font-weight: 800;
	margin-bottom: 18px;
	background: rgba(255, 255, 255, 0.08);
}

.auth-cover h1 {
	color: #fff;
	font-size: 2.55rem;
	line-height: 1.1;
	font-weight: 800;
	margin-bottom: 16px;
}

.auth-cover p {
	color: #dbeafe;
	line-height: 1.75;
	margin-bottom: 0;
}

.auth-signal-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 28px;
}

.auth-signal {
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	padding: 14px;
	background: rgba(255, 255, 255, 0.08);
}

.auth-signal i {
	color: #93c5fd;
	margin-bottom: 8px;
}

.auth-signal strong {
	display: block;
	color: #fff;
	font-size: 13px;
	margin-bottom: 4px;
}

.auth-signal span {
	color: #c7d2fe;
	font-size: 12px;
	line-height: 1.45;
}

.signin-wrapper,
.signup-wrapper {
	min-height: 650px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.form-wrapper {
	width: min(100%, 430px);
}

.auth-form-heading {
	margin-bottom: 26px;
}

.auth-form-heading h2 {
	color: #17213f;
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 8px;
}

.auth-form-heading p {
	color: #64708f;
	line-height: 1.6;
}

.auth-form-heading .auth-trial-note {
	margin-top: 12px;
	padding: 10px 12px;
	border: 1px solid #dbe7ff;
	border-radius: 12px;
	background: #f7faff;
	color: #465575;
	font-size: 13px;
}

.auth-input {
	position: relative;
	margin-bottom: 18px;
}

.auth-input .input-icon {
	position: absolute;
	left: 14px;
	top: 42px;
	color: #7c8aa6;
	z-index: 2;
}

.auth-input input {
	width: 100%;
	height: 52px;
	border: 1px solid #d8e0ef;
	border-radius: 12px;
	padding: 0 44px;
	font-size: 16.5px;
	font-weight: 700;
	color: #101a35;
	background: #eef4ff;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.auth-input input[type="password"] {
	font-size: 18px;
	letter-spacing: 0.14em;
}

.auth-input input:focus,
.auth-input input.auth-filled,
.auth-input input:not(:placeholder-shown),
.auth-input input:autofill,
.auth-input input:-webkit-autofill,
.auth-input input:-webkit-autofill:hover,
.auth-input input:-webkit-autofill:focus,
.auth-input input:-webkit-autofill:active {
	border-color: #4f46e5;
	background: #eef4ff;
	-webkit-text-fill-color: #101a35;
	-webkit-box-shadow: 0 0 0 1000px #eef4ff inset, 0 0 0 4px rgba(79, 70, 229, 0.12);
	box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.auth-input.has-error input {
	border-color: #ef4444;
	background: #fff7f7;
	box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.auth-input.has-error .input-icon {
	color: #ef4444;
}

.auth-field-error {
	display: none;
	align-items: center;
	gap: 7px;
	margin-top: 8px;
	color: #b42318;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.auth-field-error.show {
	display: flex;
}

.auth-field-error i {
	font-size: 14px;
}

.password-toggle {
	position: absolute;
	right: 10px;
	top: 35px;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #64708f;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.password-toggle:hover {
	background: #f1f5ff;
	color: #2f4de0;
}

.auth-submit {
	height: 52px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
	box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
	color: #fff;
	font-weight: 800;
}

.auth-submit:hover {
	transform: translateY(-1px);
	color: #fff;
	box-shadow: 0 18px 34px rgba(37, 99, 235, 0.3);
}

.auth-secondary-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 4px 0 24px;
}

.auth-security-note {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #64708f;
	font-size: 13px;
	font-weight: 700;
}

.auth-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px;
	margin: 0 0 22px;
	border: 1px solid #d8e0ef;
	border-radius: 12px;
	background: #f8fbff;
	color: #44506d;
	font-weight: 700;
	cursor: pointer;
}

.auth-check input {
	width: 20px;
	height: 20px;
	margin-top: 1px;
	border-color: #b8c4d8;
	cursor: pointer;
}

.auth-check:has(input:checked) {
	border-color: #4f46e5;
	background: #eef4ff;
	color: #17213f;
}

.auth-check.has-error {
	border-color: #ef4444;
	background: #fff7f7;
}

.signin-option,
.signup-option {
	border-top: 1px solid #edf2fb;
	margin-top: 28px;
	padding-top: 22px !important;
}

.lang-switcher {
	position: fixed !important;
	top: 18px !important;
	right: 22px !important;
	z-index: 1000;
	padding: 8px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(226, 232, 240, 0.9);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.auth-home-link {
	position: fixed;
	top: 18px;
	left: 22px;
	z-index: 1000;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 9px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(226, 232, 240, 0.9);
	color: #17213f;
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.auth-home-link:hover {
	color: #2563eb;
}

.cover-image,
.shape-image {
	display: none;
}

@media (max-width: 991.98px) {
	body.auth-page {
		background: #f1f5f9;
	}

	.auth-container {
		width: min(100vw - 24px, 620px);
		padding: 72px 0 30px;
	}

	.auth-row,
	.auth-cover,
	.signin-wrapper,
	.signup-wrapper {
		min-height: auto;
	}

	.auth-cover {
		padding: 32px;
	}

	.signin-wrapper,
	.signup-wrapper {
		padding: 32px;
	}
}

@media (max-width: 575.98px) {
	.auth-home-link {
		top: 12px;
		left: 12px;
		min-height: 36px;
		max-width: calc(100vw - 116px);
		padding: 7px 10px;
		font-size: 12px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.lang-switcher {
		top: 12px !important;
		right: 12px !important;
		padding: 7px 8px;
	}

	body.auth-page {
		background: #eef3fa;
	}

	.auth-container {
		width: 100%;
		min-height: 100vh;
		padding: 64px 12px 24px;
		align-items: flex-start;
	}

	.auth-row {
		border-radius: 22px;
		box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
	}

	.auth-row > [class*="col-"]:first-child {
		display: none;
	}

	.auth-row > [class*="col-"]:last-child {
		width: 100%;
	}

	.signin-wrapper,
	.signup-wrapper {
		padding: 26px 20px 24px;
	}

	.form-wrapper {
		width: 100%;
	}

	.auth-form-heading {
		margin-bottom: 20px;
	}

	.auth-form-heading h2 {
		font-size: 1.75rem;
		line-height: 1.15;
	}

	.auth-form-heading p {
		font-size: 14px;
		line-height: 1.55;
	}

	.auth-cover-wrapper {
		border-radius: 0 0 22px 22px;
	}

	.auth-cover {
		min-height: auto;
		padding: 22px 20px;
		gap: 18px;
	}

	.auth-cover::before {
		inset: 12px;
		border-radius: 18px;
	}

	.auth-brand {
		gap: 12px;
	}

	.auth-brand img {
		width: 112px;
		padding: 6px 8px;
		border-radius: 9px;
	}

	.auth-brand strong {
		font-size: 1.7rem;
	}

	.auth-cover-main {
		max-width: none;
	}

	.auth-cover-kicker {
		margin-bottom: 10px;
		font-size: 11px;
	}

	.auth-cover h1 {
		font-size: 1.65rem;
		line-height: 1.15;
		margin-bottom: 8px;
	}

	.auth-cover p {
		font-size: 13px;
		line-height: 1.55;
	}

	.auth-signal-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-top: 0;
	}

	.auth-signal {
		padding: 11px;
		border-radius: 12px;
	}

	.auth-signal strong {
		font-size: 12px;
	}

	.auth-signal span {
		font-size: 11px;
		line-height: 1.35;
	}

	.auth-input {
		margin-bottom: 16px;
	}

	.auth-input .input-icon {
		top: 41px;
	}

	.auth-input input {
		height: 54px;
		font-size: 16px;
	}

	.auth-secondary-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
		margin-bottom: 20px;
	}

	.signin-option,
	.signup-option {
		margin-top: 22px;
		padding-top: 18px !important;
	}
}

@media (max-width: 390px) {
	.auth-signal-grid {
		grid-template-columns: 1fr;
	}
}
