* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "golos", "Overpass", overpass, helvetica, arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  background-color: #fff;
  color: #333333;
}

.root {
  height: 100%;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
}

button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/*----------------шрифты---------*/

@font-face {
  font-family: "golos";
  src: url("../fonts/GolosText-Regular.woff2") format("woff2"),
    url("../fonts/GolosText-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "goloso";
  src: url("../fonts/GolosText-Medium.woff") format("woff2"),
    url("../fonts/GolosText-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "golos";
  src: url("../fonts/GolosText-Bold.woff") format("woff2"),
    url("../fonts/GolosText-Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "golos";
  src: url("../fonts/GolosText-Black.woff") format("woff2"),
    url("../fonts/GolosText-Black.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/*-------------------------------*/

.center-container {
  display: flex;
  flex-direction: column;
  padding: 50px 50px;
}

.form-block {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.form-header {
  flex: 0 0 auto;
}

.form-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
}

.form-footer {
  flex: 0 0 auto;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #76767a;
}

.form-logo {
  max-width: 100%;
  height: auto;
}

.form-wrapper-login {
  max-width: 360px;
  width: 100%;
}

.form-wrapper-2fa-login {
  max-width: 360px;
  width: 100%;
}

.form-wrapper-register {
  margin-top: 30px;
  max-width: 744px;
  width: 100%;
}

.form-wrapper-verify-email {
  width: 487px;
  margin-bottom: 36px;
}

.form-title {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  width: 100%;
  padding: 8px 8px 16px;
  border-bottom: 2px solid #000;
  margin-bottom: 26px;
}

.form-row {
  display: block;
  margin-bottom: 40px;
  position: relative;
}

.form-label-label {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 8px;
}

.form-label-label.row {
  justify-content: space-between;
  align-items: baseline;
}

.form-label-input {
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #a7a7ab;
  padding: 8px 16px;
  height: 52px;
  width: 100%;
  outline: none;
}

.form-label-input.password {
  padding-right: 48px;
}

.form-label-input.error {
  border: 1px solid #ff2e56;
}

.form-label-label.required:after {
  content: "*";
  color: #e00000;
  margin-top: -8px;
  margin-left: 6px;
}

.form-link {
  color: #0061d9;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  transition: color 0.3s;
  cursor: pointer;
}

.form-link--big {
  font-size: 16px;
}

.form-link:hover {
  color: #0050b2;
}

.form-link:active {
  color: #003980;
}

.showpass,
.showpass_no {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.showpass {
  background-image: url("../img/icons/eye-crossed.svg");
}

.showpass_no {
  background-image: url("../img/icons/eye.svg");
}

.form-label-wrapper {
  position: relative;
}

.form-label-additional {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #76787a;
}

.form-label-additional.error {
  color: #ff2e56;
}
.form-label-additional.hidden {
  display: none;
}

.form-label-additional.titre {
  margin-bottom: 8px;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0061d9;
  padding: 8px 24px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
  height: 52px;
  transition: background-color 0.3s;
  outline: none;
  border: 0px;
  cursor: pointer;
}

.button:hover {
  background-color: #0050b2;
}

.button:active {
  background-color: #003980;
}

.button--wide {
  width: 100%;
}

.button.disabled,
.button.disabled:hover,
.button.disabled:active {
  background: #76787a;
  cursor: default;
}

.form-buttons {
  margin-bottom: 10px;
}

.form-buttons.align-right {
  display: flex;
  justify-content: flex-end;
}

.form-registration-link {
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.alert-text {
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: #ff2e56;
  margin-bottom: 40px;
}

.alert-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  margin-bottom: 32px;
}
.checkbox {
  line-height: 0;
}

.checkbox-item {
  position: absolute;
  visibility: hidden;
}

.checkbox-content {
  display: flex;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
}

.checkbox-button {
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../img/icons/checkbox-off.svg");
  cursor: pointer;
  margin-right: 8px;
}

.checkbox-item:checked + .checkbox-content .checkbox-button {
  background-image: url("../img/icons/checkbox-on.svg");
}

.agree-list {
  width: 100%;
}

.agree-list-item {
  display: flex;
  margin-bottom: 8px;
}

.agree-list-item .checkbox {
  margin-top: 4px;
}

.agree-list-link {
  color: #0061d9;
}

.form-register-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, 1fr);
  gap: 24px;
  grid-auto-flow: column;
  padding: 0px;
}

/* .form-register-body > .form-row {
	margin-bottom: 30px;
} */

.form-row__double {
  grid-row: 4 / span 2;
}

.agree-item {
  display: flex;
  align-items: baseline;
}

.agree-item > label {
  margin-top: 2px;
}

.login-link-wrapper {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.form-instruction {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #76787a;
  margin-bottom: 24px;
}

h2 {
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  color: #333333;
  margin-bottom: 40px;
}

.form-action {
  display: flex;
  justify-content: flex-end;
}

.system-header {
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  margin-bottom: 32px;
}

.agreements-label {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 32px;
}

.form-wrapper-agreements {
  min-width: 700px;
}

.two-fa-input-wrapper {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.two-fa-form-control {
  display: block;
  height: 52px;
  width: 36px;
  text-align: center;
  font-size: 1.25rem;
  min-width: 0;
  border: 1.5px solid #a7a7ab;
  border-radius: 4px;
}

.two-fa-input-wrapper.error .two-fa-form-control {
  border: 1.5px solid #ff2e56;
}

.tooltip {
  display: none;
  position: absolute;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  isolation: isolate;
  width: 256px;
  left: calc(100% + 16px);
  top: 32px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 15%);
  border-radius: 8px;
  z-index: 1;
}

.form-label-wrapper:hover + .tooltip {
  display: flex;
}

.tooltip:before {
  content: "";
  background-image: url("../img/icons/tooltip-pointer.svg");
  position: absolute;
  left: -8px;
  width: 8px;
  height: 17px;
}

.form-row > a {
  color: #0061d9;
}

/* Media */
@media (max-width: 768px) {
}

@media (max-width: 576px) {
  .form-register-body {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(10, 0.5fr);
  }

  .form-row:nth-child(5) {
    order: 1;
  }

  .form-row:nth-child(10) {
    order: 2;
  }

  .center-container {
    padding: 50px 24px;
  }
}

@media (max-height: 500px) {
  .center-container {
    padding: 20px 24px;
  }

  .form-wrapper-login .form-row {
    margin-bottom: 25px;
  }

  .form-wrapper-login .form-title {
    margin-bottom: 20px;
  }
}
