#authPage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

#authPage .auth-card {
  width: 100%;
  max-width: 420px;
  padding: 34px 28px 26px;
  border-radius: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#authPage .auth-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
}

#authPage .auth-sub {
  text-align: center;
  font-size: 14px;
  opacity: 0.82;
  margin-bottom: 24px;
}

#authPage .input {
  height: 46px;
  min-height: 46px;
  border-radius: 15px;
  box-sizing: border-box;
  margin-bottom: 14px;
  padding: 0 15px;
  font-size: 15px;
}

#authPage .input:last-of-type {
  margin-bottom: 18px;
}

#authPage .auth-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 18px;
}

#authPage .auth-actions .btn {
  min-width: 128px;
  height: 42px;
  border-radius: 14px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#authPage .hint {
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.8;
  margin-top: 0;
  padding: 0 8px;
}

@media (max-width: 520px) {
  #authPage {
    padding: 18px;
  }

  #authPage .auth-card {
    max-width: 100%;
    padding: 28px 20px 22px;
    border-radius: 20px;
  }

  #authPage .auth-title {
    font-size: 25px;
  }

  #authPage .auth-actions {
    gap: 10px;
  }

  #authPage .auth-actions .btn {
    min-width: 118px;
    height: 40px;
    font-size: 13px;
  }
}
