/* Login and registration UI. Loaded for guests because the mobile header owns the bottom sheet. */
.ut-auth-page {
	margin: 0;
	background: #f1f3ff;
	color: #17191f;
	overflow: hidden;
}

.ut-auth-page.admin-bar .ut-auth-layout {
	min-height: calc(100vh - 32px);
}

.ut-auth-layout,
.ut-auth-layout *,
.ut-auth-sheet,
.ut-auth-sheet * {
	box-sizing: border-box;
}

.ut-auth-layout button,
.ut-auth-sheet button,
.ut-auth-layout input,
.ut-auth-sheet input {
	font-family: inherit;
}

.ut-auth-layout {
	display: grid;
	min-height: 100vh;
	grid-template-columns: minmax(0, 1.54fr) minmax(520px, .98fr);
	background: #f2f4ff;
	direction: rtl;
}

.ut-auth-layout__form-side {
	position: relative;
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: center;
	background: #f4f6ff;
}

.ut-auth-logo {
	position: absolute;
	top: 51px;
	right: 72px;
	display: block;
	width: 58px;
	height: 48px;
	color: #00438d;
	text-decoration: none;
}

.ut-auth-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ut-auth-logo > span {
	display: flex;
	flex-direction: column;
	font-family: Arial, sans-serif;
	font-size: 31px;
	line-height: .75;
}

.ut-auth-logo small {
	align-self: flex-end;
	color: #008dce;
	font-size: 15px;
}

.ut-auth-form-wrap {
	width: min(100% - 48px, 316px);
	margin-top: 8px;
}

.ut-auth-step__title {
	margin: 0 0 32px;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.8;
	text-align: right;
}

.ut-auth-step[hidden] {
	display: none;
}

.ut-auth-step__back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #6f7481;
	cursor: pointer;
	font-size: 12px;
}

.ut-auth-step__back span {
	font-size: 20px;
	line-height: 1;
}

.ut-auth-step__lead {
	margin: -21px 0 23px;
	color: #727784;
	font-size: 12px;
	line-height: 2;
}

.ut-auth-step__lead b {
	color: #30343e;
	direction: ltr;
	font-weight: 600;
	unicode-bidi: isolate;
}

.ut-auth-field {
	display: block;
	font-size: 13px;
	line-height: 1.8;
}

.ut-auth-field > span {
	display: block;
	margin-bottom: 7px;
}

.ut-auth-field input {
	width: 100%;
	height: 45px;
	padding: 0 14px;
	border: 1px solid #d5daea;
	border-radius: 0;
	outline: 0;
	background: transparent;
	color: #1c1f28;
	font-size: 13px;
	text-align: right;
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.ut-auth-field input::placeholder {
	color: #a9adbb;
	opacity: 1;
}

.ut-auth-field input:focus {
	border-color: #004487;
	background: rgba(255, 255, 255, .45);
	box-shadow: 0 0 0 3px rgba(0, 68, 135, .08);
}

.ut-auth-field.has-error input {
	border-color: #cf3e4f;
}

.ut-auth-field small {
	display: block;
	min-height: 17px;
	margin-top: 3px;
	color: #b82e42;
	font-size: 10px;
}

.ut-auth-terms {
	margin: 0 0 24px;
	color: #5d6270;
	font-size: 12px;
	line-height: 2;
}

.ut-auth-terms > :first-child {
	margin-top: 0;
}

.ut-auth-terms > :last-child {
	margin-bottom: 0;
}

.ut-auth-terms a {
	color: #00458e;
	font-weight: 700;
	text-decoration: none;
}

.ut-auth-notice {
	margin: -17px 0 20px;
	padding: 9px 11px;
	border: 1px solid #efcbd0;
	background: #fff4f5;
	color: #a52d3d;
	font-size: 11px;
	line-height: 1.9;
}

.ut-auth-submit,
.ut-auth-google,
.ut-auth-mode {
	display: flex;
	width: 100%;
	height: 41px;
	align-items: center;
	justify-content: center;
	border-radius: 1px;
	cursor: pointer;
	font-size: 13px;
	transition: opacity .18s ease, background-color .18s ease, transform .18s ease;
}

.ut-auth-submit {
	border: 0;
	background: #00448a;
	color: #fff;
}

.ut-auth-submit:hover {
	background: #00386f;
}

.ut-auth-submit:disabled {
	cursor: wait;
	opacity: .68;
}

.ut-auth-forgot {
	display: table;
	margin: -8px 0 21px auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #00458e;
	cursor: pointer;
	font-size: 11px;
}

.ut-auth-forgot:disabled {
	cursor: wait;
	opacity: .6;
}

.ut-auth-submit:active,
.ut-auth-google:active,
.ut-auth-mode:active {
	transform: translateY(1px);
}

.ut-auth-divider {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 12px;
	align-items: center;
	margin: 25px 0 21px;
	color: #858995;
	font-size: 12px;
}

.ut-auth-divider::before,
.ut-auth-divider::after {
	height: 1px;
	background: #dfe3ef;
	content: '';
}

.ut-auth-google {
	gap: 7px;
	border: 0;
	background: #17171a;
	color: #fff;
	text-decoration: none;
}

.ut-auth-google:hover {
	background: #252529;
	color: #fff;
}

.ut-auth-google.is-disabled {
	cursor: not-allowed;
	opacity: .55;
}

.ut-auth-google__mark {
	font-family: Arial, sans-serif;
	font-size: 19px;
	font-weight: 700;
	background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 45%, #fbbc05 0 65%, #ea4335 0 85%, #4285f4 0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ut-auth-mode {
	gap: 8px;
	margin-top: 15px;
	border: 1px solid #d6dbea;
	background: transparent;
	color: #20232b;
}

.ut-auth-mode:hover {
	border-color: #aeb6cb;
	background: rgba(255, 255, 255, .4);
}

.ut-auth-mode svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.ut-auth-field--confirmation {
	margin-top: 15px;
}

.ut-auth-otp {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 7px;
	margin: 0 0 5px;
}

.ut-auth-otp input {
	width: 100%;
	height: 47px;
	padding: 0;
	border: 1px solid #d5daea;
	border-radius: 2px;
	outline: 0;
	background: rgba(255, 255, 255, .35);
	color: #1d2028;
	font: inherit;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
}

.ut-auth-otp input:focus {
	border-color: #004487;
	box-shadow: 0 0 0 3px rgba(0, 68, 135, .08);
}

.ut-auth-stage-error {
	display: block;
	min-height: 27px;
	color: #b82e42;
	font-size: 10px;
	line-height: 1.8;
}

.ut-auth-resend {
	display: flex;
	min-height: 45px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #858995;
	font-size: 11px;
}

.ut-auth-resend button {
	padding: 0;
	border: 0;
	background: transparent;
	color: #00458e;
	cursor: pointer;
	font-size: inherit;
}

.ut-auth-resend button:disabled {
	color: #9b9eaa;
	cursor: default;
}

.ut-auth-layout__slider-side {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: center;
	background: #e9edff;
}

.ut-auth-slider {
	width: min(100% - 80px, 430px);
	text-align: center;
}

.ut-auth-slider__viewport {
	position: relative;
	min-height: 525px;
}

.ut-auth-slide {
	position: absolute;
	inset: 0;
	display: flex;
	visibility: hidden;
	flex-direction: column;
	align-items: center;
	opacity: 0;
	transform: translateX(-12px);
	transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}

.ut-auth-slide.is-active {
	visibility: visible;
	opacity: 1;
	transform: translateX(0);
}

.ut-auth-slide__visual {
	display: flex;
	width: 100%;
	height: 360px;
	align-items: center;
	justify-content: center;
}

.ut-auth-slide__visual > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ut-auth-slide h2 {
	margin: 29px 0 12px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.8;
}

.ut-auth-slide p {
	max-width: 380px;
	margin: 0;
	color: #676c7c;
	font-size: 14px;
	line-height: 2.25;
}

.ut-auth-slider__dots {
	display: flex;
	height: 12px;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 5px;
	direction: ltr;
}

.ut-auth-slider__dots button,
.ut-auth-slider__dots i {
	display: block;
	width: 24px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 1px;
	background: #ccd5ec;
}

.ut-auth-slider__dots button {
	cursor: pointer;
}

.ut-auth-slider__dots .is-active {
	width: 22px;
	background: #00458e;
}

.ut-auth-market-card {
	position: relative;
	width: 325px;
	height: 305px;
}

.ut-auth-market-card__back {
	position: absolute;
	top: 18px;
	left: 8px;
	width: 286px;
	height: 276px;
	border-radius: 5px;
	background: linear-gradient(130deg, #4c81b6 0%, #00428c 58%, #003270 100%);
}

.ut-auth-market-card__front {
	position: absolute;
	top: 47px;
	right: 0;
	width: 290px;
	height: 278px;
	padding: 15px 24px;
	border: 3px solid #d9deec;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 2px 3px rgba(30, 45, 83, .04);
}

.ut-auth-market-card__tabs {
	display: flex;
	height: 31px;
	align-items: center;
	justify-content: flex-start;
	gap: 19px;
	color: #8a98aa;
	font-size: 9px;
}

.ut-auth-market-card__tabs b {
	order: -1;
	padding: 7px 12px;
	border-radius: 4px;
	background: #eef1f5;
	color: #242b35;
	font-weight: 500;
}

.ut-auth-gauge {
	position: relative;
	width: 166px;
	height: 113px;
	margin: 25px auto 0;
	border-radius: 90px 90px 0 0;
	background: conic-gradient(from 270deg at 50% 100%, #ff596d 0 24%, #eff0f3 24% 43%, #0d94ef 43% 50%, transparent 50%);
}

.ut-auth-gauge::after {
	position: absolute;
	inset: 6px 7px 0;
	border-radius: 80px 80px 0 0;
	background: #fff;
	content: '';
}

.ut-auth-gauge i {
	position: absolute;
	z-index: 2;
	bottom: 1px;
	left: calc(50% - 2px);
	width: 3px;
	height: 75px;
	background: #0e1118;
	transform: rotate(20deg);
	transform-origin: 50% 100%;
}

.ut-auth-gauge i::after {
	position: absolute;
	bottom: -5px;
	left: -4px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #0e1118;
	content: '';
}

.ut-auth-gauge > b {
	position: absolute;
	z-index: 3;
	bottom: -28px;
	left: 0;
	width: 100%;
	color: #088ae5;
	font-size: 11px;
}

.ut-auth-market-card__stats {
	display: flex;
	justify-content: center;
	gap: 36px;
	margin-top: 37px;
	font-size: 9px;
}

.ut-auth-market-card__stats span {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ut-auth-market-card__stats b {
	font-size: 15px;
}

.ut-auth-market-card__stats span:first-child b { color: #098ce7; }
.ut-auth-market-card__stats span:last-child b { color: #ef3f45; }

.ut-auth-mobile-head,
.ut-auth-mobile-slider,
.ut-auth-sheet {
	display: none;
}

body.ut-auth-sheet-is-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.ut-auth-page {
		padding-top: 22px;
		background: #b8b8b8;
		overflow: auto;
	}

	.ut-auth-page.admin-bar {
		padding-top: 0;
	}

	.ut-auth-page.admin-bar .ut-auth-layout {
		min-height: calc(100vh - 46px);
	}

	.ut-auth-layout {
		display: block;
		min-height: calc(100vh - 22px);
		background: #fff;
	}

	.ut-auth-layout__form-side {
		display: block;
		min-height: calc(100vh - 22px);
		padding: 0 12px 29px;
		background: #fff;
	}

	.ut-auth-logo,
	.ut-auth-layout__slider-side {
		display: none;
	}

	.ut-auth-mobile-head {
		position: relative;
		display: flex;
		height: 73px;
		align-items: center;
		justify-content: center;
		margin: 0 -12px;
		border-bottom: 1px solid #ececf0;
		background: #fff;
	}

	.ut-auth-mobile-handle {
		position: absolute;
		top: 14px;
		left: calc(50% - 24px);
		width: 48px;
		height: 4px;
		border-radius: 4px;
		background: #d6d6d6;
	}

	.ut-auth-mobile-head > a,
	.ut-auth-mobile-head > button:not(.ut-auth-mobile-handle) {
		position: absolute;
		left: 0;
		bottom: 9px;
		display: flex;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
		border: 0;
		background: transparent;
		color: #777;
		cursor: pointer;
	}

	.ut-auth-mobile-head > a span,
	.ut-auth-mobile-head > button span {
		position: relative;
		display: block;
		width: 17px;
		height: 17px;
	}

	.ut-auth-mobile-head > a span::before,
	.ut-auth-mobile-head > a span::after,
	.ut-auth-mobile-head > button span::before,
	.ut-auth-mobile-head > button span::after {
		position: absolute;
		top: 8px;
		left: 0;
		width: 17px;
		height: 1px;
		background: currentColor;
		content: '';
	}

	.ut-auth-mobile-head > a span::before,
	.ut-auth-mobile-head > button span::before { transform: rotate(45deg); }
	.ut-auth-mobile-head > a span::after,
	.ut-auth-mobile-head > button span::after { transform: rotate(-45deg); }

	.ut-auth-mobile-head strong {
		padding-top: 15px;
		font-size: 14px;
		font-weight: 600;
	}

	.ut-auth-mobile-slider {
		display: block;
	}

	.ut-auth-slider--mobile {
		width: 100%;
		padding-top: 13px;
	}

	.ut-auth-slider--mobile .ut-auth-slider__viewport {
		min-height: 323px;
	}

	.ut-auth-slider--mobile .ut-auth-slide__visual {
		height: 205px;
	}

	.ut-auth-slider--mobile .ut-auth-market-card {
		width: 325px;
		height: 190px;
		transform: scale(.58);
		transform-origin: 50% 0;
	}

	.ut-auth-slider--mobile .ut-auth-slide h2 {
		margin: 1px 0 6px;
		font-size: 17px;
		line-height: 1.8;
	}

	.ut-auth-slider--mobile .ut-auth-slide p {
		max-width: 335px;
		font-size: 13px;
		line-height: 2.05;
	}

	.ut-auth-slider--mobile .ut-auth-slider__dots {
		margin-top: 4px;
	}

	.ut-auth-slider--mobile .ut-auth-slider__dots button,
	.ut-auth-slider--mobile .ut-auth-slider__dots i {
		width: 21px;
		height: 5px;
	}

	.ut-auth-slider--mobile .ut-auth-slider__dots .is-active {
		width: 22px;
	}

	.ut-auth-form-wrap {
		width: 100%;
		margin: 26px 0 0;
	}

	.ut-auth-step[data-ut-auth-step="identifier"] .ut-auth-step__title {
		display: none;
	}

	.ut-auth-step__title {
		margin-bottom: 19px;
		font-size: 17px;
		line-height: 1.8;
	}

	.ut-auth-step__back {
		margin-bottom: 12px;
	}

	.ut-auth-step__lead {
		margin: -12px 0 18px;
	}

	.ut-auth-otp {
		gap: 8px;
	}

	.ut-auth-otp input {
		height: 48px;
	}

	.ut-auth-field {
		font-size: 13px;
	}

	.ut-auth-field input {
		height: 44px;
		font-size: 13px;
	}

	.ut-auth-field small {
		min-height: 12px;
	}

	.ut-auth-terms {
		margin-bottom: 19px;
		font-size: 12px;
		line-height: 2;
	}

	.ut-auth-submit,
	.ut-auth-google,
	.ut-auth-mode {
		height: 44px;
		font-size: 13px;
	}

	.ut-auth-divider {
		margin: 20px 0 18px;
	}

	.ut-auth-mode {
		margin-top: 16px;
	}

	.ut-auth-sheet {
		position: fixed;
		z-index: 100000;
		inset: 0;
		display: block;
	}

	.ut-auth-sheet[hidden] {
		display: none;
	}

	.ut-auth-sheet__backdrop {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		padding: 0;
		border: 0;
		background: rgba(0, 0, 0, .38);
		opacity: 0;
		transition: opacity .25s ease;
	}

	.ut-auth-sheet__panel {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		max-height: calc(100dvh - 22px);
		flex-direction: column;
		background: #fff;
		transform: translateY(100%);
		transition: transform .28s ease;
	}

	.ut-auth-sheet.is-open .ut-auth-sheet__backdrop {
		opacity: 1;
	}

	.ut-auth-sheet.is-open .ut-auth-sheet__panel {
		transform: translateY(0);
	}

	.ut-auth-sheet .ut-auth-mobile-head {
		flex: 0 0 73px;
		margin: 0;
	}

	.ut-auth-sheet .ut-auth-mobile-head > button {
		left: 8px;
	}

	.ut-auth-sheet__scroll {
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 0 12px 29px;
	}

	.ut-auth-sheet .ut-auth-form-wrap {
		margin-top: 26px;
	}
}

@media (max-width: 420px) and (max-height: 760px) {
	.ut-auth-slider--mobile .ut-auth-slider__viewport {
		min-height: 285px;
	}

	.ut-auth-slider--mobile .ut-auth-slide__visual {
		height: 178px;
	}

	.ut-auth-slider--mobile .ut-auth-slide p {
		font-size: 12px;
	}

	.ut-auth-form-wrap,
	.ut-auth-sheet .ut-auth-form-wrap {
		margin-top: 16px;
	}
}

@media (min-width: 768px) and (max-width: 1050px) {
	.ut-auth-layout {
		grid-template-columns: 1fr 1fr;
	}

	.ut-auth-slider {
		width: calc(100% - 40px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ut-auth-slide,
	.ut-auth-sheet__panel,
	.ut-auth-sheet__backdrop {
		transition: none;
	}
}
