.auth-page {
	margin: 0;
	background: #f0f2f5;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	color: #0a1b2b;
}

html,
body.auth-page {
	min-width: 100%;
}

.auth-layout {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.auth-header {
	height: 68px;
	padding: 0 42px;
	background: #003e7e;
	border-bottom: 2px solid #f47920;
	display: flex;
	align-items: center;
}

.auth-header__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #cfd8dc;
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	line-height: 19.5px;
	letter-spacing: 0.39px;
	text-transform: uppercase;
	text-decoration: none;
}

.auth-header__back:hover {
	color: #cfd8dc;
	opacity: 0.85;
}

.auth-header__back-icon {
	display: block;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}

.auth-main {
	flex: 1;
	padding: 54px 20px 40px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.auth-page_restore .auth-main {
	background: rgba(0, 0, 0, 0.25);
}

.auth-shell {
	width: 100%;
	max-width: 512px;
	position: relative;
}

.auth-card {
	position: relative;
	background: #fff;
	padding: 0;
	border: none;
	display: block;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 4px 16px 0 rgba(0, 0, 0, 0.08);
}

.auth-card_login {
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

.auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-bottom: 1px solid #cfd8dc;
	background: transparent;
}

.auth-tab {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 58px;
	color: #546e7a;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 21px;
	letter-spacing: 0.84px;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.auth-tab_active {
	color: #003e7e;
	border-bottom-color: #f47920;
}

.auth-card__body {
	display: flex;
	padding: 24px 36px 56px;
	flex-direction: column;
	align-items: flex-start;
	align-self: stretch;
	border-radius: 0 0 4px 4px;
	background: #fff;
}

.auth-card_login .auth-card__body {
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 4px 16px 0 rgba(0, 0, 0, 0.08);
}

.auth-title-block {
	padding-left: 14px;
	border-left: 4px solid #f47920;
	margin-bottom: 24px;
}

.auth-title-block__title {
	margin: 0;
	color: #003e7e;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 27px;
	letter-spacing: -0.18px;
}

.auth-title-block__subtitle {
	margin: 2px 0 0;
	color: #546e7a;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: 19.5px;
}

.auth-form {
	margin: 0;
	width: 100%;
	display: block;
}

.auth-form .help-block {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.3;
	color: #d9534f;
}

.auth-form .has-error .auth-input {
	border-bottom-color: #d9534f;
}

.auth-field {
	margin-bottom: 20px;
	width: 100%;
}

.auth-field__control {
	position: relative;
	display: flex;
	height: 44px;
	align-items: flex-start;
	gap: 8px;
	flex: 1 0 0;
}

.auth-field__control:before {
	content: "";
	position: absolute;
	left: 12px;
	top: 13px;
	width: 18px;
	height: 18px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px 18px;
	opacity: 0.85;
	pointer-events: none;
}

.auth-field_icon-user .auth-field__control:before {
	background-image: url("/img/auth/login.svg");
}

.auth-field_icon-lock .auth-field__control:before {
	background-image: url("/img/auth/password.svg");
}

.auth-field_icon-email .auth-field__control:before {
	background-image: url("/img/auth/email.svg");
}

.auth-input {
	display: flex;
	align-items: flex-start;
	width: 100%;
	height: 44px;
	padding: 13px 12px 13px 40px;
	border: none;
	border-bottom: 1px solid #cfd8dc;
	background: #fafbfc;
	color: #003e7e;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 120%;
	outline: none;
	border-radius: 4px 4px 0 0;
	flex: 1 0 0;
}

.auth-input::placeholder {
	color: #90a4ae;
}

.auth-field_has-error .auth-input {
	border-bottom-color: #d9534f;
}

.auth-input:focus {
	border-bottom-color: #005baa;
}

.auth-password-toggle {
	position: absolute;
	top: 0;
	right: 0;
	width: 44px;
	height: 44px;
	padding: 13px 12px;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	flex: 1 0 0;
	border: none;
	border-radius: 4px 4px 0 0;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: right 12px top 13px;
	background-size: 18px 18px;
	background-image: url("/img/auth/password-eye.svg");
	cursor: pointer;
}

.auth-password-toggle.is-visible {
	opacity: 0.7;
}

.auth-field_icon-lock .auth-input {
	padding-right: 44px;
}

.auth-form__meta {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin-top: -2px;
	margin-bottom: 18px;
}

.auth-form__meta_between {
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.auth-link {
	color: #005baa;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	line-height: 19.5px;
	letter-spacing: 0.26px;
	text-decoration: none;
}

.auth-link_button {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.auth-link_help {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.auth-link_help:before {
	content: "?";
	width: 16px;
	height: 16px;
	box-sizing: border-box;
	border-radius: 50%;
	background: #005baa;
	color: #fff;
	display: inline-block;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 0;
	text-align: center;
}

.auth-link:hover {
	text-decoration: underline;
}

.auth-captcha {
	margin-bottom: 24px;
}

.auth-captcha__label {
	margin: 0 0 10px;
	color: #005baa;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	line-height: 19.5px;
	letter-spacing: 0.26px;
}

.auth-captcha__inner {
	display: flex;
	gap: 8px;
}

.auth-captcha__field {
	width: 100%;
	margin: 0;
}

.auth-captcha__question {
	flex: 0 0 136px;
	height: 44px;
	padding: 0 10px;
	background: #004a91;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.auth-captcha__question img {
	display: block;
	width: 100%;
	max-width: 116px;
	height: 30px;
	object-fit: contain;
}

.auth-captcha__answer {
	flex: 1 1 auto;
}

.auth-captcha .auth-input {
	padding-left: 12px;
}

.auth-submit-button {
	width: 100%;
	height: 44px;
	margin-top: 0;
	background: #f47920;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: 500;
	line-height: 100%;
	text-align: center;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
	text-decoration: none;
}

.auth-submit-button:hover {
	background: #ee6d0d;
}

.auth-submit-button_inactive:hover {
	background: #f0b082;
}

.auth-submit-button:disabled,
.auth-submit-button_inactive {
	background: #f0b082;
	color: #fff;
	cursor: default;
}

.auth-card_header .auth-card__body {
	padding-top: 0;
	border-top: 2px solid #f47920;
}

.auth-card-header {
	background: #003e7e;
	color: #fff;
	padding: 26px 36px 24px;
	position: relative;
}

.auth-card-header__title {
	margin: 0;
	align-self: stretch;
	color: #fff;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 17px;
	font-style: normal;
	font-weight: 500;
	line-height: 25.5px;
	letter-spacing: 0.17px;
}

.auth-card-header__subtitle {
	margin: 2px 0 0;
	align-self: stretch;
	color: rgba(255, 255, 255, 0.65);
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px;
}

.auth-card-header__close {
	position: absolute;
	right: 22px;
	top: 23px;
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 50%;
	background: #2a66a8;
	background-image: url("/img/auth/close.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px 16px;
	color: #d6e4f4;
	font-size: 0;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.auth-card-header__close:hover {
	background-color: #336fae;
}

.auth-note {
	padding: 10px 12px;
	margin: 24px 0;
	background: #d9e1ee;
	border-left: 4px solid #2f6ab0;
	color: #5f798e;
	font-size: 16px;
	line-height: 1.45;
}

.auth-card__body_restore {
	padding: 24px 36px 56px;
	border-top: 2px solid #f47920;
}

.auth-card_header .auth-card__body_restore {
	padding-top: 24px;
}

.auth-restore-note {
	width: 100%;
	margin: 0 0 24px;
	padding: 10px 12px;
	background: #e7eef8;
	border-left: 4px solid #2f6ab0;
	color: #546e7a;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 22px;
}

.auth-form__meta_restore {
	margin-top: -2px;
	margin-bottom: 26px;
}

.auth-modal {
	display: none;
	position: fixed;
	inset: 0;
	padding: 96px 20px 40px;
	justify-content: center;
	align-items: flex-start;
	z-index: 20;
	overflow-y: auto;
}

.auth-modal--open {
	display: flex;
}

.auth-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
}

.auth-modal__dialog {
	width: 100%;
	max-width: 512px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.auth-modal-card {
	position: relative;
	background: #f3f5f7;
	border-radius: 4px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

.auth-modal-card__body {
	border-top: 2px solid #f47a20;
}

.auth-video-area {
	position: relative;
	display: flex;
	height: 240px;
	padding: 24px 36px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 16px;
	align-self: stretch;
	background: #1565c0;
	text-align: center;
	color: #fff;
	overflow: hidden;
}

.auth-video-area__caption {
	flex: 0 0 auto;
	margin: 0 auto;
	max-width: 270px;
	color: #fff;
	text-align: center;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;
	letter-spacing: 0.26px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.auth-video-area__play {
	display: flex;
	width: 64px;
	height: 64px;
	flex: 0 0 64px;
	padding: 0 8px;
	justify-content: center;
	align-items: center;
	aspect-ratio: 1 / 1;
	border-radius: 100px;
	border: none;
	background: #fff;
	text-decoration: none;
	cursor: pointer;
}

.auth-video-area__play img {
	display: block;
	transform: translate(2px, 1px);
}

.auth-video-area__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

.auth-video-area__iframe[hidden] {
	display: none;
}

.auth-video-area_playing {
	padding: 0;
}

.auth-video-area_playing .auth-video-area__caption,
.auth-video-area_playing .auth-video-area__play {
	display: none;
}

.auth-video-foot {
	padding: 18px 34px 20px;
	color: #546e7a;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 13.5px;
	font-style: normal;
	font-weight: 400;
	line-height: 120%;
	background: #fff;
}

.auth-video-foot .auth-link {
	font-size: inherit;
	font-weight: 400;
	line-height: 120%;
	color: #003e7e;
}

.auth-instruction-body {
	padding: 24px 36px 56px;
	border-top: 2px solid #f47a20;
	background: #fff;
}

.auth-step {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 12px;
	margin-bottom: 20px;
}

.auth-step:last-child {
	margin-bottom: 0;
}

.auth-step__num {
	width: 28px;
	height: 28px;
	padding: 8px;
	border-radius: 100px;
	background: #f47920;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	line-height: 100%;
	letter-spacing: 0.26px;
}

.auth-step__title {
	margin: 0 0 2px;
	color: #005baa;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	line-height: 19.5px;
	letter-spacing: 0.26px;
}

.auth-step__text {
	margin: 0;
	align-self: stretch;
	color: #000;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px;
}

.auth-step__actions {
	margin-top: 8px;
}

.auth-step-btn {
	display: inline-flex;
	padding: 7.5px 12px;
	justify-content: center;
	align-items: center;
	border-radius: 4px;
	background: #003e7e;
	color: #fff;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	line-height: 100%;
	letter-spacing: 0.26px;
	text-decoration: none;
}

.auth-step-btn:hover {
	background: #003e7e;
	opacity: 0.9;
}

.auth-footer {
	height: 68px;
	background: #003e7e;
	border-top: 2px solid #f47920;
	color: #cfd8dc;
}

.auth-footer__inner {
	max-width: 1840px;
	height: 100%;
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px;
	letter-spacing: 0.24px;
}

.auth-footer__link {
	color: #cfd8dc;
	text-decoration: none;
}

.auth-footer__link:hover {
	color: #cfd8dc;
	opacity: 0.9;
}

body.auth-modal-open {
	overflow: hidden;
}

@media (max-width: 1024px) {
	.auth-header {
		padding: 0 16px;
	}

	.auth-footer__inner {
		padding: 0 16px;
		font-size: 12px;
	}

	.auth-tab {
		font-size: 13px;
		letter-spacing: 0.39px;
	}

	.auth-card__body {
		padding: 20px 16px 28px;
	}

	.auth-card__body_restore {
		padding: 20px 16px 28px;
	}

	.auth-card_header .auth-card__body_restore {
		padding-top: 20px;
	}

	.auth-title-block__title {
		font-size: 18px;
		line-height: 27px;
	}

	.auth-title-block__subtitle {
		font-size: 13px;
		line-height: 19.5px;
	}

	.auth-link,
	.auth-captcha__label,
	.auth-input,
	.auth-submit-button,
	.auth-note,
	.auth-step__title,
	.auth-step__text,
	.auth-step-btn,
	.auth-video-area__caption,
	.auth-video-foot,
	.auth-card-header__title,
	.auth-card-header__subtitle {
		font-size: 13px;
	}

	.auth-card-header {
		padding: 18px 16px 18px;
	}

	.auth-card-header__close {
		right: 12px;
		top: 14px;
		font-size: 0;
		width: 28px;
		height: 28px;
	}

	.auth-modal {
		padding: 88px 12px 24px;
	}

	.auth-captcha__question {
		flex-basis: 120px;
	}

	.auth-video-area {
		padding: 32px 16px;
	}

	.auth-video-foot,
	.auth-instruction-body {
		padding: 16px;
	}

	.auth-step {
		gap: 10px;
	}

	.auth-footer {
		height: auto;
		min-height: 68px;
		padding: 10px 0;
	}

	.auth-footer__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}
