*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #000000;
  margin: 0;
}

button {
  display: flex;
  padding: 0 8px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  gap: 10px;
  align-self: stretch;
  height: 36px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  cursor: pointer;
}

input {
  border-radius: 8px;
  border: 1px solid #d0d2d8;
  background: #d0d2d8;
  color: #0a093d;
  height: 36px;
  width: 100%;
  padding: 16px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.5px;
  outline: none;
}

input:hover {
  border-color: hsl(0, 0%, 70%);
}

input:active,
input:focus {
  border: 1px solid #2688eb;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #d0d2d8 inset !important;
}

label {
  color: #7473c6;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

a,
a:visited {
  text-decoration: none;
  color: #2688eb;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.error {
  border: 1px solid rgba(255, 51, 71, 0.5);
}

.primary {
  background: #6461fd;
  color: #fff;
}

.primary:disabled {
  background: rgba(100, 97, 253, 0.5);
  color: #fff;
  cursor: default;
}

.secondary {
  background: #e5eaf1;
  color: #373a36;
}

.wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  padding: 35px 0;
}

.wrapperBg {
  position: absolute;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: -1;
}

.wrapperBg--dark {
  display: none;
}

.container,
.forgetPasswordInfo,
.connectionInfo {
  position: relative;
  padding: 90px 67px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 437px;
  height: auto;
  border-radius: 60px;
  background: rgba(239, 241, 245, 0.66);
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.04), 0 4px 8px 0 rgba(0, 0, 0, 0.04),
    0 16px 24px 0 rgba(0, 0, 0, 0.04), 0 24px 32px 0 rgba(0, 0, 0, 0.04);
  margin-bottom: auto;
}

.forgetPasswordInfo,
.connectionInfo {
  width: 348px;
}

.logoLight {
  display: flex;
}

.logoDark {
  display: none;
}

.group {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

.group label {
  padding-bottom: 8px;
}

.group svg {
  position: absolute;
  bottom: 5px;
  right: 12px;
  cursor: pointer;
}

.group svg path {
  pointer-events: none;
}

.question {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #000;
}

.answer {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.1px;
  color: #000;
  opacity: 0.6;
}

.message {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #000;
}

.activeLangItem svg {
  fill: #99a2ad;
}

#languageChangerWrapper {
  position: relative;
  margin: 0 auto;
  color: #0a093e;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;

  width: 149px;
  height: 36px;
  border: 1px solid #e5e5e5;
  background: #f4f6f8;
  border-radius: 12px;
  padding: 0 16px;
}

#languageChangerWrapper svg {
  fill: #0a093e;
  margin-left: auto;
}

#connectionInfo {
  display: none;
}

#forgetPasswordInfo {
  display: none;
}

#form {
  display: flex;
  margin-top: 32px;
  margin-bottom: auto;
}

.languageWrapper {
  position: absolute;
  top: 35px;
  right: 35px;
}

#languagePopup {
  display: none;
  position: absolute;
  width: 149px;
  background: #fff;
  bottom: -86px;
  padding: 4px 0;
  margin: 0 auto;
  border-radius: 8px;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.06), 0 4px 8px 0 rgba(0, 0, 0, 0.04);
}

#languagePopup li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 12px;
  height: 36px;
  width: 100%;
  cursor: pointer;
}

#languagePopup li:hover {
  background: #f9f9f9;
}

#messageError {
  color: red;
  margin-top: -20px;
  align-self: center;
  display: none;
}

#messageError.show {
  display: block;
}

.themes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: auto;
}

.themesItem {
  border-radius: 8px;
  height: 28px;
  padding: 0 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 2px;
}

.themesItem svg {
  pointer-events: none;
}

.themesItemActive {
  background-color: #d0d2d8;
}

#resetPassword {
  color: #7473C6;
}

html.dark body {
  background-color: #141823;
}

html.dark #showPassword path {
  fill: #fff
}

html.dark #hidePassword path {
  stroke: #fff;
}

html.dark #resetPassword {
  color: #D4D4D4;
}

html.dark label {
  color: #D4D4D4;
}

html.dark .wrapperBg--light {
  display: none;
}

html.dark .wrapperBg--dark {
  display: flex;
}

html.dark input {
  background-color: #676b75;
  border-color: #676b75;
  color: #f5f5f5;
}

html.dark input:-webkit-autofill,
html.dark input:-webkit-autofill:hover,
html.dark input:-webkit-autofill:focus,
html.dark input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #676b75 inset !important;
}

html.dark input::-webkit-input-placeholder {
  color: #f5f5f540;
}

html.dark input:-moz-placeholder {
  color: #f5f5f540;
  opacity: 1;
}

html.dark input::-moz-placeholder {
  color: #f5f5f540;
  opacity: 1;
}

html.dark input:-ms-input-placeholder {
  color: #f5f5f540;
}

html.dark input::-ms-input-placeholder {
  color: #f5f5f540;
}

html.dark input::placeholder {
  color: #f5f5f540;
}

html.dark .themesItem {
  color: #7473c6;
}

html.dark .themesItemActive {
  color: #fff;
  background-color: #676b75;
}
html.dark .primary {
  color: #20242f;
}

html.dark .container,
html.dark .forgetPasswordInfo,
html.dark .connectionInfo {
  background-color: #191c2699;
}

html.dark .message {
  color: #fff;
}

html.dark .logoLight {
  display: none;
}

html.dark .logoDark {
  display: flex;
}

html.dark #languageChangerWrapper {
  color: #fff;
  background-color: #676b75;
  border-color: #676b75;
}

html.dark #languageChangerWrapper svg {
  fill: #fff;
}

#howTo {
  display: none;
}

#hidePassword {
  display: none;
}
