body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

section h2 {
  text-align: center;
}

form {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid black;

  width: 90%;
  max-width: 400px;

  margin: 10px;
  box-sizing: border-box;
  gap: 10px;
}

form p,
form p a {
  text-align: center;
  color: white;
}

label {
  display: block;
  margin: 10px 0 4px;
}

form input,
form button {
  padding: 15px;
  width: 100%;
  box-sizing: border-box;
}

.auth-button {
  margin: 10px auto;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-form label {
  margin-top: 15px;
}

.forgot-password-form {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

@media (min-width: 768px) {
  form,
  .registration,
  .forgot-password {
    width: 600px;
    max-width: 600px;
  }

  .login,
  .forgot-password {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .registration {
    max-width: 500px;
  }

  input,
  button {
    width: 100%;
  }

  label {
    margin-left: 0;
  }
}
