/* Reset some basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Container styling */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f6f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Form card styling */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px;
}

.form-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.form-card h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.form-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* Input field styling */
.input-label {
  font-size: 14px;
  color: #333;
  display: block;
  text-align: left;
  margin-bottom: 5px;
}

.input-field {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.input-field:focus {
  border-color: #1a73e8;
  outline: none;
}

/* Button styling */
.submit-button {
  background-color: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #155bb5;
}

/* Response message styling */
.response-message {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #5cb85c;
  border-radius: 4px;
  background-color: #dff0d8;
  color: #3c763d;
}

/* Responsive design */
@media (max-width: 500px) {
  .form-card {
    padding: 20px;
  }

  .form-card h2 {
    font-size: 20px;
  }

  .input-field,
  .submit-button {
    font-size: 14px;
    padding: 10px;
  }
}

/* Response message styling */
.response-message {
  background-color: #d4edda; /* Light green background for success messages */
  color: #155724; /* Dark green text for success */
  border: 1px solid #c3e6cb; /* Border color matching the background */
  border-radius: 5px;
  padding: 15px;
  margin-top: 10px; /* Space above the message */
  text-align: left;
  max-width: 100%; /* Limit the width of the message */
}

/* Error message styling */
.error-message {
  background-color: #f8d7da; /* Light red background for error messages */
  color: #721c24; /* Dark red text for error */
  border: 1px solid #f5c6cb; /* Border color matching the background */
  border-radius: 5px;
  padding: 15px;
  margin-top: 10px; /* Space above the message */
  text-align: left;
  max-width: 100%; /* Limit the width of the message */
}
