.auth-page {
  width: min(100vw, 390px);
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(143, 181, 127, 0.28), transparent 34%),
    radial-gradient(circle at bottom right, rgba(222, 143, 162, 0.20), transparent 32%),
    var(--bg);
  padding: 34px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  background: var(--paper);
  border-radius: 32px;
  padding: 30px 24px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(65, 59, 50, 0.06);
}

.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 26px;
  text-align: center;
}

.auth-logo {
  width: 68px;
  height: 68px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: #e6f0df;
  color: var(--green-dark);
  font-size: 32px;
  box-shadow: 0 12px 24px rgba(92, 123, 84, 0.12);
  margin-bottom: 16px;
}

.auth-brand h1 {
  margin: 0;
  color: var(--text);
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.auth-brand p {
  margin: 8px 0 0;
  color: var(--sub);
  font-size: 13px;
  letter-spacing: -0.03em;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.auth-field label {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.auth-field input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfaf7;
  color: var(--text);
  padding: 0 16px;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.auth-field input:focus {
  border-color: rgba(143, 181, 127, 0.8);
  box-shadow: 0 0 0 4px rgba(143, 181, 127, 0.14);
  background: #fffdf9;
}

.auth-submit {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.03em;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(92, 123, 84, 0.18);
}

.auth-submit:active {
  transform: translateY(1px);
}

.auth-link {
  margin: 18px 0 0;
  text-align: center;
  color: var(--sub);
  font-size: 13px;
  letter-spacing: -0.03em;
}

.auth-link a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.auth-message {
  min-height: 20px;
  margin: 16px 0 0;
  text-align: center;
  color: var(--pink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.auth-message.success {
  color: var(--green-dark);
}

.auth-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #e6f0df;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  margin-bottom: 16px;
}

@media (max-width: 360px) {
  .auth-page {
    padding: 24px 16px;
  }

  .auth-card {
    padding: 26px 20px 22px;
  }

  .auth-brand h1 {
    font-size: 24px;
  }
}