.app {
  width: 100vw;
  height: 100vh;
  display: flex;
  position: relative;
  font-family: "Inter", sans-serif;
  justify-content: center;
  fill: var(--white);
  stroke: var(--black1);
  margin: 0;
}
.login,
.register {
  width: 380px;
  position: absolute;
  top: 160px;
  max-height: 500px;
}
.back-btn {
  position: absolute;
  left: -92px;
  width: 52px;
  height: 52px;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey1);
  color: var(--grey1);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  stroke: var(--grey1);
}
.title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--black1);
}
.subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--grey1);
}
.subtitle a {
  color: var(--blue1);
  font-weight: 600;
  text-decoration: none;
}
.login-form,
.register-form {
  margin: 24px 0;
}
.fields {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}
.field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
}
.term-field {
  display: flex;
  flex-direction: row;
}
.field label {
  display: flex;
  height: 24px;
  align-items: center;
  align-self: stretch;
  color: var(--black2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.43;
}
.term-field label {
  display: block;
  height: auto;
  padding-left: 8px;
  font-weight: 400;
}
.term-field a {
  text-decoration: none;
  color: var(--blue1);
}
.field input {
  display: flex;
  padding: 16px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  color: var(--grey1);
  border: 1px solid var(--grey2);
  background: var(--white);
  outline: none;
}
.field input:hover,
.field input:focus {
  border-color: var(--blue1);
}
.to-icon {
  position: relative;
}
.from-icon {
  position: absolute;
  top: 40px;
  right: 16px;
  display: flex;
  width: 20px;
  height: 20px;
  justify-content: center;
  align-items: center;
  color: var(--grey2);
  cursor: pointer;
}
.hint {
  color: var(--red1);
  font-size: 12px;
  line-height: 1.5;
}
.restore-link {
  color: var(--blue1);
  text-align: right;
  font-size: 14px;
  line-height: 1.43;
  cursor: pointer;
}
.login-btn,
.register-btn {
  margin-top: 24px;
  width: 100%;
  font-family: inherit;
  padding: 16px 28px;
  text-align: center;
  color: var(--white);
  border-radius: 8px;
  background: var(--blue1);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
  border: 0;
  cursor: pointer;
}
.custom-google-button {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.pass-eye {
  width: 1.5em;
  height: 1.5em;
  stroke: var(--grey1);
  fill: var(--grey1);
}
.otherInput {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.authButtons {
  display: flex;
  gap: 24px;
}

.authButton {
  border: 2px solid var(--blue1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px;
  cursor: pointer;
  width: 160px;
}