.auth-wrap {
  max-width: 420px;
  margin: 0 auto;
  padding: 20px 20px;
}

.auth-wrap h1 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 12px;
}

.auth-wrap p {
  color: var(--muted);
  margin-bottom: 32px;
}

.auth-wrap p.auth-switch {
  margin-bottom: 0;
}

.auth-wrap label {
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
}

.auth-wrap input {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 18px;
}

.auth-wrap button {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.message {
  margin-top: 16px;
  font-size: 14px;
  display: none;
}

.message.error {
  color: #b00020;
}

.message.success {
  color: #1a7f37;
}

.auth-switch {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.auth-switch a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.auth-switch a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .auth-wrap {
    padding-top: 24px;
  }
}