@charset "utf-8";
/* CSS Document */

@font-face {
	font-family: 'Exo 2';
	src: url('fonts/Exo2-VariableFont_wght.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Exo 2';
	src: url('fonts/Exo2-Italic-VariableFont_wght.woff2') format('woff2');
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('fonts/Inter-Italic-VariableFont_opsz,wght.woff2') format('woff2');
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

* {
	font-size: 100%;
}

html, body, ul, ol, li, dl, dt, dd, p, h1, h2, h3, h4, h5, h6, blockquote, form, fieldset, legend, table, td, th, div, p {
	margin: 0;
	padding: 0;
}

html, body {
	width: 100%;
	height: 100%;
}

li {
	list-style-type: none;
}

body {
	font: 14px 'Exo 2', sans-serif;
	font-weight: 400;

	background-color: #000;
	background-image: url('pics/bg-auth.png');
	background-repeat: no-repeat;
    background-position: center;
	background-size: cover;
}

.body {
	position: relative;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

form {
	position: fixed;
	z-index: 31;
	top: 50%;
	left: 50%;
	display: flex;
	flex-flow: column;
	width: 300px;
	padding: 25px 30px;
	overflow: auto !important;

	color: #9f9f9f;

	background: #1d1d1d;
	border-radius: 16px;

	transform: translate(-50%, -50%);
}

@media (min-width: 992px) {
	form {
		top: min(408px, 25%);
		max-height: 80%;
		margin-inline: auto;
		padding-inline: 40px;
		inset-inline: 0;

		transform: translate(0px, 0px);
	}
}

.error {
	margin-bottom: 25px;

	font-size: 16px;
	font-weight: normal;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.25;
	letter-spacing: normal;
	text-align: start;
	color: #fff;
}

.wrapper {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.submit {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.input_wrapper {
	position: relative;
	display: flex;
	align-items: center;
	flex-grow: 1;
	width: fit-content;
	height: 24px;
	padding: 0 4px;

	background-color: #262626;
	border: 1px solid transparent;
	border-radius: 21px;
}

.input_wrapper input {
	width: 100%;
	max-width: 200px;
	height: 100%;
	padding-left: 12px;
	outline: none;

	font-size: 14px;
	line-height: 1.11;
	color: #9f9f9f;

	background-color: transparent;
	border: none;
	border-radius: 21px;
}

input:focus-visible {
	outline: none;
}

.password_control {
	position: absolute;
	right: 7px;

	display: inline-block;
	width: 17px;
	height: 17px;

	background-image: url('i/view.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.password_control.view {
	background-image: url('i/no-view.svg');
}

.check label {
	display: flex;
	align-items: center;
	gap: 4px;

	cursor: pointer;
}

.check span {
	line-height: 1.25;
}

.submit input {
	display: block;
	justify-content: center;
	align-items: center;
	flex: 1 1 0;
	min-width: min-content;
	height: 26px;
	padding: 0 8px;

	font-size: 12px;
	font-weight: 500;
	letter-spacing: normal;
	text-align: center;
	white-space: nowrap;
	color: #222;

	background-color: #fff;
	border: 1px solid transparent;
	border-radius: 22px;
	cursor: pointer;
}

@media (min-width: 769px) {
	.submit input {
		flex: initial;
		width: auto;
		padding: 0 16px;

		font-size: 14px;
	}
}

.submit input:focus,
.submit input:hover {
	opacity: 0.8;
}

a {
	padding: 0;
	outline: none;

	font-weight: 200;
	text-decoration: underline;
	color: #9f9f9f;

	background: 0;
	border: 0;
	cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
	a:hover,
	a:focus-visible {
		text-decoration: none;
	}
}

.row.help {
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	gap: 8px;

	font-size: 12px;
	line-height: 1.36;
}