/* forms.css */

/* Generic form container */
form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

label {
  display: block;
  margin-top: 20px;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: none;
  background-color: #1c1c2b;
  color: #fff;
}

/* Light mode fallback */
body:not(.dark-mode) input,
body:not(.dark-mode) textarea {
  background-color: #f4f4f4;
  color: #000;
}

/* Submit button */
input[type="submit"] {
  background-color: #d70040;
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #d70040;
}

/* Response message */
#responseMessage {
  margin-top: 20px;
  font-weight: bold;
  color: #d70040;
}

@keyframes successFade {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

#responseMessage.success {
  animation: successFade 0.6s ease-out;
}
