@charset "UTF-8";

/* Только переменные, которые реально есть в правилах ниже */
:root {
  --text-color: #000;
  --bg-color: #fff;
  --bg-color-sec: #fff;
  --border-color: #ebebeb;
  --svg-color: #000;
  --btn-bg-dark: #000;
  --btn-bg-dark-hover: #000;
}

html {
  height: 100%;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html,
body {
  scrollbar-gutter: stable;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  background: var(--bg-color);
  color: var(--text-color);
}

a {
  color: var(--text-color);
  background-color: transparent;
}

img {
  border-style: none;
}

button,
input {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  padding: 0;
  outline: none;
  -webkit-appearance: none;
  transition: 0.2s all;
  overflow: visible;
}

input {
  background-color: var(--bg-color-sec);
  border-color: var(--border-color);
  color: var(--text-color);
}

button {
  border: none;
  background: transparent;
  cursor: pointer;
  text-transform: none;
}

button,
[type="button"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

svg,
svg path {
  transition: 0.2s all;
}

[hidden] {
  display: none;
}

::-moz-placeholder {
  opacity: 1;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  display: none;
  -webkit-appearance: none;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
  padding: 0 10px;
}

.login-wrapper {
  min-height: calc(100vh - 20px);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  background: var(--bg-color-sec);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 14px 26px;
  max-width: 430px;
  width: 100%;
}

@media (max-width: 834px) {
  .login-container {
    padding: 15px 15px 20px;
  }
}

.login-container .logo {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  height: 36px;
}

.login-container .logo svg {
  height: 36px;
}

.login-container .logo svg path[fill="black"] {
  fill: var(--svg-color);
}

.login-container .logo-login {
  height: 60px;
}

.login-container .logo-login svg {
  height: 60px;
}

.login-container .authorization-block .input-group {
  position: relative;
}

.login-container .authorization-block .login-input {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-color);
  padding: 0 16px;
  height: 58px;
  width: 100%;
  display: flex;
  box-sizing: border-box;
  margin-bottom: 16px;
}

.login-container .authorization-block .captcha {
  background: #ededed;
  border-radius: 10px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container .authorization-block .captcha img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.login-container .authorization-block input:not(:placeholder-shown) ~ .floating-label,
.login-container .authorization-block input:focus ~ .floating-label {
  top: 5px;
  bottom: 10px;
  left: 16px;
  opacity: 1;
  font-size: 14px;
}

.login-container .authorization-block input:not(:placeholder-shown) {
  padding: 22px 16px 6px;
}

.login-container .authorization-block input:focus {
  border: 1px solid #262626;
  padding-top: 22px;
}

.login-container .authorization-block input::placeholder {
  color: #fff;
  opacity: 0;
}

.login-container .authorization-block input:-ms-input-placeholder {
  color: #fff;
}

.login-container .authorization-block input::-ms-input-placeholder {
  color: #fff;
}

.login-container .authorization-block .floating-label {
  position: absolute;
  pointer-events: none;
  left: 16px;
  top: 17px;
  transition: 0.2s ease all;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #b7b7b7;
}

.login-container .authorization-block button,
.login-container .authorization-block a.button {
  background: var(--btn-bg-dark);
  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;
  width: 100%;
  cursor: pointer;
  transition: 0.3s;
}

.login-container .authorization-block button:hover,
.login-container .authorization-block a.button:hover {
  background: var(--btn-bg-dark-hover);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.login-container .tabbed [type="radio"] {
  display: none;
}

.login-container .tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  list-style: none;
  padding: 0;
}

.login-container .tab > label {
  display: block;
  margin-bottom: -1px;
  padding: 12px 0;
  font-size: 18px;
  line-height: 22px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: 0.3s;
  color: #b7b7b7;
}

.login-container .tab > label:hover {
  color: var(--text-color);
}

.login-container .tab-content {
  display: none;
  color: #777;
}

.login-container .tab-content__invalid {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #ff4a4e;
  margin: 14px 0;
  display: none;
}

.login-container .tabbed [type="radio"]:nth-of-type(1):checked ~ .tabs .tab:nth-of-type(1) label,
.login-container .tabbed [type="radio"]:nth-of-type(2):checked ~ .tabs .tab:nth-of-type(2) label {
  color: var(--text-color);
}

.login-container .tabbed [type="radio"]:nth-of-type(1):checked ~ .tab-content:nth-of-type(1),
.login-container .tabbed [type="radio"]:nth-of-type(2):checked ~ .tab-content:nth-of-type(2) {
  display: block;
}
