.login {
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.login__logo {
  background-image: url("./img/login-logo.bab49a02e532.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 100%;
  min-height: 50px;
  aspect-ratio: 6/1;
}

.login__body {
  padding: 56px 0;
}

@media (min-width: 1280px) {
  .login__body {
    padding: 112px 0;
  }
}

.login__helper-text {
  color: var(--neutral-darkest);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  margin-bottom: 16px;
}

.login__inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.login__password-input-container {
  position: relative;
}

.login__password-input-icon {
  --mdc-icon-size: 16px;

  width: 16px;
  position: absolute;
  right: 16px;
  top: 14px;
  cursor: pointer;
  user-select: none;
}

.login__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login__restore-password {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--primary-lightest);
  color: var(--primary-darkest);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.login__restore-password--showed {
  display: flex;
}

.login__restore-password-icon {
  cursor: pointer;
}

.login__errors {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--support-error);
  color: var(--neutral-lightests);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  opacity: 0.9;
}
