/* Reset и базовые стили */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  padding: 0;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body, html {
  margin: 0;
}

/* Типографика */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

small {
  font-size: 80%;
}

b, strong {
  font-weight: bolder;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline dotted;
}

code, kbd, pre, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Текстовые элементы */
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Ссылки */
a {
  background-color: transparent;
}

/* Изображения */
img {
  border-style: none;
}

/* Горизонтальная линия */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/* Формы */
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  padding: 0;
  outline: 0;
  -webkit-appearance: none;
  transition: 0.2s;
}

/* Кнопки */
button {
  border: none;
  background: none;
  cursor: pointer;
  overflow: visible;
  text-transform: none;
}

button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring {
  outline: ButtonText dotted 1px;
}

/* Поля ввода */
input {
  padding: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* Чекбоксы и радио */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/* Поиск */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* Текстовые области */
textarea {
  overflow: auto;
}

/* Загрузка файлов */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Списки */
summary {
  display: list-item;
}

/* Скрытые элементы */
[hidden],
template {
  display: none;
}

/* Прогресс */
progress {
  vertical-align: baseline;
}

/* Плейсхолдеры */
:-moz-placeholder,
::-moz-placeholder {
  opacity: 1;
}

input::placeholder {
  color: #fff;
  opacity: 0;
}

input::-ms-input-placeholder {
  color: #fff;
}

/* SVG */
svg, svg path {
  transition: 0.2s;
}

/* Контейнеры */
.container {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

details, main {
  display: block;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/* Стили для форм входа */
.login-wrapper {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 14px 26px;
  max-width: 430px;
  width: 100%;
}

.input-group {
  position: relative;
}

.login-input {
  display: flex;
  margin-bottom: 16px;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  color: #0f0f0f;
  padding: 0 16px;
  height: 58px;
  width: 100%;
  box-sizing: border-box;
}

/* Плавающие метки */
.floating-label {
  position: absolute;
  pointer-events: none;
  left: 16px;
  top: 17px;
  transition: 0.2s;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #b7b7b7;
}

input:not(:placeholder-shown) {
  padding: 22px 16px 6px;
}

input:focus {
  border: 1px solid #262626;
  padding-top: 22px;
}

input:focus ~ .floating-label,
input:not(:placeholder-shown) ~ .floating-label {
  top: 5px;
  left: 16px;
  opacity: 1;
  font-size: 14px;
}

/* Кнопка отправки */
.button-submit {
  background: #0e0e0e;
  border-radius: 10px;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #fff;
  padding: 17px 0;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 30px;
}

/* Капча */
.captcha {
  display: flex;
  margin-bottom: 16px;
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  background: #ffffff;
  border-radius: 10px;
  color: #717171;
  justify-content: center;
  align-items: center;
}

.captcha img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

/* Ховер-эффекты */
header .header-container-child .account-block .account-money:hover {
  color: #b7b7b7;
}

/* Кнопки формы */
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: ButtonText dotted 1px;
}

