/* 注册 / 登录（参考 tapicker.com/signup，无 Google） */
.auth-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1rem 4rem;
  min-height: calc(100vh - 4rem - 6rem);
}

.auth-card {
  width: min(100%, 26rem);
  margin-inline: auto;
}

.auth-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth-card__logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.auth-card__title {
  margin: 0;
  font-family: var(--lp-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--lp-ink);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.auth-field {
  position: relative;
}

.auth-input {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.95rem;
  border: 1px solid var(--lp-line);
  border-radius: 0.5rem;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--lp-ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-input::placeholder {
  color: #94a3b8;
}

.auth-input:focus {
  border-color: var(--lp-brand);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.auth-input--password {
  padding-right: 2.75rem;
}

.auth-eye {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--lp-muted);
  cursor: pointer;
}

.auth-eye:hover {
  color: var(--lp-ink);
  background: rgba(15, 23, 42, 0.04);
}

.auth-eye svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.75rem;
  margin-top: 0.15rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--lp-dark);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.auth-submit:hover {
  background: #1e293b;
}

.auth-submit:active {
  transform: scale(0.98);
}

.auth-foot {
  margin-top: 0.65rem;
  text-align: left;
}

.auth-foot a {
  font-size: 0.8rem;
  color: var(--lp-ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.auth-foot a:hover {
  color: var(--lp-brand);
}

body.lp-body.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.lp-body.auth-page .lp-footer {
  margin-top: auto;
}
