@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-ultralight.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-ultralightitalic.woff2")
    format("woff2");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-thin.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-thinitalic.woff2") format("woff2");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-lightitalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-regularitalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-mediumitalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-semibolditalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-bolditalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-heavy.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-heavyitalic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("/fonts/display/sf-pro-display-blackitalic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-ultralight.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-ultralightitalic.woff2") format("woff2");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-thin.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-thinitalic.woff2") format("woff2");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-lightitalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-regularitalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-mediumitalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-semibolditalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-bolditalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-heavy.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-heavyitalic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/text/sf-pro-text-blackitalic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
img {
  max-width: 100%;
}
html,
body {
  margin: 0;
  padding: 0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "SF Pro Text", Arial, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text_color);
  font-size: 14px;
}

:root {
  --bg: #0c0d12;
  --text_color: #f1f2f6;
  --text_color_muted: #9296a3;
  --block: #17191f;
  --block_active: #222842;
  --block_2: #1b1d26;
  --border_color: #5564ff;
  --link_color: #5564ff;
  --link_color_hover: #616fff;
  --border_input_color: #3b4050;
}
main.auth_page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
main.auth_page .auth_section {
  max-width: 400px;
  width: 100%;
}
main.auth_page .auth_section .auth_logo {
  background: url(/img/monix_logo.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 200px;
  height: 60px;
  margin: 0 auto;
}

main.auth_page .auth_section .auth_block {
  background: var(--block);
  width: 100%;
  margin-top: 20px;
  border-radius: 22px;
  padding: 20px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: var(--block_2);
  border-radius: 10px;
  font-family: "SF Pro Display";
  font-size: 16px;
}
.tabs[data-tabs_count="2"] {
  grid-template-columns: 1fr 1fr;
}
.tabs[data-tabs_count="3"] {
  grid-template-columns: 1fr 1fr 1fr;
}
.tabs[data-tabs_count="4"] {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.tabs[data-tabs_count="5"] {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
.tabs[data-tabs_count="6"] {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}
.tabs[data-tabs_count="7"] {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}
.tabs[data-tabs_count="8"] {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}
.tabs .tab {
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 300ms;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
}
.tabs .tab.active {
  background: var(--block_active);
  /* border: 1px solid #5564FF; */
}
.tabs .tab .name {
  font-weight: 500;
}
.input_block {
  margin-bottom: 12px;
}
.input_block label {
  font-family: "SF Pro Display";
  color: var(--text_color_muted);
  margin: 0 0 6px;
  display: block;
}
.input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  background: #22252f;
  border: 1px solid #3b4050;
  border-radius: 12px;
  color: var(--text_color, #f1f2f6);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  caret-color: #6c63ff;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

/* Текст-подсказка внутри поля */
.input::placeholder {
  color: #9a9fb0;
  opacity: 1;
}

/* Наведение мышью */
@media (hover: hover) {
  .input:not(:disabled):not(:focus):hover {
    border-color: #555b70;
  }
}

/* Поле активно — пользователь вводит текст */
.input:focus {
  border: 1px solid var(--border_color);
  outline: 1px solid var(--border_color);
}

/* Отключённое поле */
.input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-auth {
  margin-top: 16px;
  display: none;
}
.form-auth.active {
  display: block;
}
button {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 0;
  font-size: 16px;
  font-family:
    "SF Pro Display",
    -apple-system,
    sans-serif;
  color: var(--text_color, #f1f2f6);
  background: linear-gradient(90deg, #5564ff 0%, #7540f7 100%);
  cursor: pointer;
  transition: filter 300ms ease;
  font-weight: 500;
  margin-top: 20px;
}

/* Наведение на устройствах с мышью */
@media (hover: hover) {
  button:not(:disabled):hover {
    filter: brightness(1.12);
  }
}

/* Выделение при навигации клавиатурой */
button:focus-visible {
  outline: 2px solid #9a91ff;
  outline-offset: 3px;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.back_btn,
.forgot_password_btn {
  padding: 20px 0px 0;
  text-align: center;
}
.back_btn span,
.forgot_password_btn span {
  cursor: pointer;
  color: var(--link_color);
  transition: 300ms;
  font-family:
    "SF Pro Display",
    -apple-system,
    sans-serif;
  line-height: 0;
}
.back_btn span:hover,
.forgot_password_btn span:hover {
  color: var(--link_color_hover);
}
.fast_auth_line {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  padding: 30px 0 20px 0;
  color: var(--text_color_muted);
  align-items: center;
  gap: 20px;
}
.fast_auth_line span {
  height: 1px;
  width: 100%;
  background: var(--border_input_color);
}
.telegram_btn {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  background: #22252f;
  border: 1px solid #3b4050;
  border-radius: 12px;
  color: var(--text_color, #f1f2f6);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family:
    "SF Pro Display",
    -apple-system,
    sans-serif;
  cursor: pointer;
  transition: 300ms;
}
.telegram_btn i {
  width: 22px;
  height: 22px;
  display: block;
  margin-right: 10px;
  background-image: url(/img/icon/tg.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}
.telegram_btn:hover {
  background: #2c303c;
}
.form_top_text {
  padding: 0 0 20px 0;
  text-align: center;
  color: var(--text_color_muted);
}
a {
  color: var(--link_color);
  text-decoration: none;
  transition: 300ms;
}
a:hover {
  color: var(--link_color_hover);
}
.open_bot_block {
  padding: 20px 0 0 0;
  text-align: center;
  color: var(--text_color_muted);
  display: flex;
  align-items: center;
  flex-direction: column;
}
.open_bot_block a {
  margin-top: 5px;
}
.help_block {
  color: var(--text_color_muted);
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
}
.smart-captcha {
  min-height: 123px;
}
.text-center {
  text-align: center;
}
.text-xs {
  font-size: 12px;
}
.result > div {
  margin-top: 12px;
  border-radius: 12px;
  padding: 12px 16px;
}

.result > div .title {
  margin-bottom: 5px;
  font-weight: 500;
}
.result > div .text {
  font-size: 12px;
}
.result > div.error {
  border: 1px solid #51313c;
  background: #261d24;
}
.result > div.error .title {
  color: #ffd5dd;
}
.result > div.error .text {
  color: #c4aab3;
}

.result > div.success {
  border: 1px solid #315144;
  background: #1b2823;
}
.result > div.success .title {
  color: #d5f5e3;
}
.result > div.success .text {
  color: #aac4b6;
}

.back_btn span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.back_btn span i {
  -webkit-mask-image: url(/img/icon/chevron_left_outline.svg);
  background-color: var(--link_color);
  width: 10px;
  height: 20px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  margin-right: 6px;
}
