/* Center the form within the viewport */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* General styling for the form container */
div#captcha-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #f4f4f9;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Styling for the hCaptcha container */
.h-captcha {
  margin: 20px 0;
  display: inline-block;
  width: 100%;
  max-width: 300px;
  border-radius: 5px;
}

/* General styling for the submit button */
button, input[type="submit"] {
  background-color: #4a90e2;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
}

button:hover, input[type="submit"]:hover {
  background-color: #357abd;
}

button:active, input[type="submit"]:active {
  transform: scale(0.98);
}

button:disabled, input[type="submit"]:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}
