.auth-page,
.auth-page *,
.auth-page *::before,
.auth-page *::after {
	box-sizing: border-box;
}

.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;
	justify-content: space-between;
	gap: 24px;
}

.auth-header__brand {
	color: #cfd8dc;
	font-size: 13px;
	font-weight: 500;
	line-height: 19.5px;
	letter-spacing: 0.39px;
	text-transform: uppercase;
	text-decoration: none;
}

.auth-header__brand:hover {
	color: #fff;
}

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

.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__body {
	display: flex;
	padding: 24px 36px 56px;
	flex-direction: column;
	align-items: flex-start;
	align-self: stretch;
	background: #fff;
}

.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-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-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;
	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-start;
	align-items: center;
	width: 100%;
	margin-top: -2px;
	margin-bottom: 18px;
}

.auth-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: #546e7a;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 19.5px;
	cursor: pointer;
}

.auth-checkbox input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: #003e7e;
}

.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-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;
}

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

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

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

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

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

	.auth-input,
	.auth-submit-button {
		font-size: 13px;
	}

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

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