/* Shared styling for SignupForm + LoginForm. */

.Form {
  max-width: 360px;
  margin: 4rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.Form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.Form input {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
  box-sizing: border-box;
}

.Form input:focus {
  outline: none;
  border-color: #cca353;
}

.Form button {
  width: 100%;
  padding: 0.7rem;
  background: #cca353;
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.25s;
}

.Form button:hover {
  background: #a7874b;
}

.Form-error {
  background: #fdecea;
  color: #b3261e;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.Form-link {
  text-align: center;
  margin-top: 1rem;
  color: #555;
}

.Form-link a {
  color: #cca353;
  text-decoration: none;
  font-weight: 600;
}

.Form-link a:hover {
  text-decoration: underline;
}
