#__replain_widget, #__replain_widget_iframe, #__replain_widget_iframe_embedded {
	display: none !important;
}

body.auth-body {
	background: var(--white);
	min-height: 100%;
}

.auth {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: var(--white);
	color: var(--gray-800);
}

.auth-brand {
	display: none;
}

.auth-top {
	background: var(--primary-50);
	padding: 1rem 1.25rem 2.6rem;
	text-align: center;
}

.auth-top img {
	height: 2rem;
}

.auth-sheet {
	position: relative;
	flex: 1;
	margin-top: -1.6rem;
	padding: 1.4rem 1.25rem 2rem;
	background: var(--white);
	border-radius: 1.4rem 1.4rem 0 0;
}

.auth-sheet-inner {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	width: 100%;
	max-width: 25rem;
	margin: 0 auto;
}

.auth-sheet-inner > * {
	margin-top: 0;
	margin-bottom: 0;
}

.auth-stack {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--gray-100);
	border-radius: .7rem;
	padding: 4px;
}

.auth-tabs a {
	padding: .55rem 0;
	border-radius: .5rem;
	text-align: center;
	font-weight: 600;
	font-size: .95rem;
	color: var(--gray-600);
	text-decoration: none;
}

.auth-tabs a:hover {
	color: var(--gray-900);
	text-decoration: none;
}

.auth-tabs a.active {
	background: var(--white);
	color: var(--gray-900);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.auth-head h1 {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--gray-900);
	text-wrap: balance;
}

.auth-head p {
	margin: .4rem 0 0;
	font-size: .95rem;
	line-height: 1.45;
	color: var(--gray-600);
}

.auth-head-icon {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	margin: 0 auto .75rem;
	border-radius: 50%;
	background: var(--primary-50);
	color: var(--primary-600);
	font-size: 1.6rem;
}

.auth-head.text-center h1 {
	margin-left: auto;
	margin-right: auto;
}

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.auth-form .form-group {
	margin: 0;
}

.auth-form label {
	margin-bottom: .35rem;
	font-weight: 600;
	font-size: .9rem;
	color: var(--gray-800);
}

.auth-label-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.auth-label-row a {
	padding: .25rem 0;
	font-size: .88rem;
	font-weight: 500;
}

.auth .form-control {
	height: 3rem;
	padding: .5rem .9rem;
	font-size: 1rem;
	border-color: var(--gray-300);
	border-radius: .6rem;
}

.auth .form-control:focus {
	border-color: var(--primary-400);
	box-shadow: 0 0 0 3px var(--primary-100);
}

.auth .form-control[readonly],
.auth .form-control:disabled {
	background: var(--gray-100);
	color: var(--gray-600);
}

.auth .form-control.is-invalid {
	border-color: var(--danger);
	background-image: none;
}

.auth .invalid-feedback {
	font-size: .87rem;
	line-height: 1.4;
}

.auth .invalid-feedback a {
	font-weight: 600;
}

.auth .form-text {
	margin-top: .35rem;
	font-size: .84rem;
	line-height: 1.4;
	color: var(--gray-500);
}

.auth-pw {
	position: relative;
}

.auth-pw .form-control {
	padding-right: 3rem;
}

.auth-pw-toggle {
	position: absolute;
	top: 2px;
	right: 2px;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: .5rem;
	background: transparent;
	color: var(--gray-500);
}

.auth-pw-toggle:hover,
.auth-pw-toggle:focus {
	color: var(--gray-800);
	outline: none;
}

.auth-pw-toggle[aria-pressed="true"] .auth-pw-show,
.auth-pw-toggle:not([aria-pressed="true"]) .auth-pw-hide {
	display: none;
}

.auth-pw-toggle:focus-visible {
	box-shadow: 0 0 0 2px var(--primary-200);
}

.auth-code {
	height: 3.5rem !important;
	text-align: center;
	font-size: 1.4rem !important;
	font-weight: 600;
	letter-spacing: .5em;
}

.auth-check {
	display: flex;
	gap: .6rem;
	align-items: flex-start;
	margin: 0;
	font-size: .86rem !important;
	font-weight: 400 !important;
	line-height: 1.45;
	color: var(--gray-600) !important;
	cursor: pointer;
}

.auth-check input {
	flex: none;
	width: 1.2rem;
	height: 1.2rem;
	margin-top: .05rem;
	accent-color: var(--primary);
}

.auth-remember {
	font-size: .9rem !important;
	align-items: center;
}

.auth-submit {
	width: 100%;
	height: 3.1rem;
	border-radius: .6rem;
	font-weight: 600;
	font-size: 1rem;
}

.auth-submit:disabled {
	opacity: .45;
}

.auth-or {
	display: flex;
	align-items: center;
	gap: .75rem;
	font-size: .85rem;
	color: var(--gray-500);
}

.auth-or::before,
.auth-or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--gray-200);
}

.auth-social {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
	gap: .6rem;
}

.auth-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	height: 3.25rem;
	border: 1px solid var(--gray-300);
	border-radius: .6rem;
	background: var(--white);
	color: var(--gray-900);
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
}

.auth-social a:hover {
	background: var(--gray-50);
	color: var(--gray-900);
	text-decoration: none;
}

.auth-social a.disabled {
	opacity: .4;
	pointer-events: none;
}

.auth-social img {
	width: 1.5rem;
	height: 1.5rem;
}

.auth-alt {
	text-align: center;
	font-size: .95rem;
	color: var(--gray-600);
}

.auth-alt a {
	font-weight: 600;
}

.auth-back {
	display: inline-flex;
	gap: .4rem;
	align-items: center;
}

.auth-note {
	text-align: center;
	font-size: .85rem;
	line-height: 1.5;
	color: var(--gray-500);
}

.auth-chip {
	display: flex;
	gap: .75rem;
	align-items: center;
	padding: .75rem;
	border: 1px solid var(--gray-200);
	border-radius: .7rem;
	background: var(--gray-50);
	font-size: .88rem;
	line-height: 1.4;
	color: var(--gray-600);
}

.auth-chip strong {
	display: block;
	font-size: .95rem;
	color: var(--gray-900);
}

.auth-chip-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: .6rem;
	background: var(--primary-100);
	color: var(--primary-700);
	font-weight: 700;
	font-size: 1.1rem;
}

.auth .alert {
	margin: 0;
	border-radius: .6rem;
	font-size: .92rem;
	line-height: 1.45;
}

.auth-result {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .9rem;
	text-align: center;
}

.auth-result h1 {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--gray-900);
	text-wrap: balance;
}

.auth-result p {
	margin: 0;
	line-height: 1.5;
	color: var(--gray-600);
}

.auth-result p strong {
	color: var(--gray-900);
	word-break: break-all;
}

.auth-result-icon {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background: var(--primary-50);
	color: var(--primary-600);
	font-size: 1.6rem;
}

.auth-result-icon.warning {
	background: var(--gray-100);
	color: var(--warning);
}

.auth-result-icon.danger {
	background: var(--gray-100);
	color: var(--danger);
}

.auth-result-actions {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	width: 100%;
	margin-top: .25rem;
}

.auth-result-actions .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 3rem;
	border-radius: .6rem;
	font-weight: 600;
}

.auth .auth-btn-ghost {
	border: 1px solid var(--gray-300);
	background: var(--white);
	color: var(--gray-800);
	font-weight: 500 !important;
}

.auth .auth-btn-ghost.disabled {
	color: var(--gray-400);
	pointer-events: none;
}

.auth-steps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: .4rem;
	font-size: .78rem;
	color: var(--gray-500);
}

.auth-steps span {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
}

.auth-steps i {
	display: inline-grid;
	place-items: center;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	background: var(--gray-200);
	color: var(--gray-600);
	font-style: normal;
	font-size: .7rem;
}

.auth-steps .done i {
	background: var(--success);
	color: #fff;
}

.auth-steps .current {
	font-weight: 600;
	color: var(--gray-900);
}

.auth-steps .current i {
	background: var(--primary);
	color: #fff;
}

.auth-steps em {
	width: .9rem;
	height: 1px;
	background: var(--gray-300);
}

@media (min-width: 992px) {
	.auth {
		flex-direction: row;
	}

	.auth-top {
		display: none;
	}

	.auth-brand {
		position: sticky;
		top: 0;
		display: flex;
		flex-direction: column;
		gap: 1.4rem;
		flex: 0 0 44%;
		height: 100vh;
		padding: clamp(2.75rem, 4vw, 4.5rem) clamp(2.75rem, 4vw, 4.5rem) 0;
		overflow: hidden;
		background: linear-gradient(160deg, var(--primary-50), var(--primary-100));
	}

	.auth-brand-logo img {
		height: 2.5rem;
		width: auto;
	}

	.auth-brand h2 {
		max-width: 38rem;
		margin: 0 0 .9rem;
		font-size: clamp(1.65rem, 1.9vw, 2.2rem);
		font-weight: 700;
		line-height: 1.25;
		color: var(--gray-900);
		text-wrap: balance;
	}

	.auth-brand ul {
		display: grid;
		gap: .6rem;
		margin: 0;
		padding: 0;
		list-style: none;
		color: var(--gray-700);
	}

	.auth-brand li {
		display: flex;
		gap: .6rem;
		align-items: baseline;
	}

	.auth-brand li i,
	.auth-brand li svg {
		color: var(--primary-600);
	}

	.auth-brand-stat {
		font-size: .85rem;
		color: var(--gray-600);
	}

	.auth-brand-phone {
		align-self: center;
		width: min(24rem, 37vh, 65%);
		margin-top: auto;
		margin-bottom: -8vh;
		border: 9px solid #1d2230;
		border-bottom: 0;
		border-radius: 2.25rem 2.25rem 0 0;
		background: #1d2230;
		overflow: hidden;
		box-shadow: 0 30px 60px -30px rgba(120, 20, 70, .55);
	}

	.auth-brand-phone img {
		display: block;
		width: 100%;
		height: auto;
		border-radius: 1.7rem 1.7rem 0 0;
	}

	.auth-sheet {
		display: flex;
		align-items: center;
		margin: 0;
		padding: 3.5rem;
		border-radius: 0;
	}
}

@media (min-width: 992px) and (max-height: 600px) {
	.auth-brand-phone {
		display: none;
	}
}
