#recaptcha-container
{
  display: flex;             /* Flexbox for alignment */
  justify-content: center;   /* Horizontal centering */
  margin: 0 auto;            /* Centers container in its parent */
  padding: 16px 0;           /* Optional: Add spacing above and below */
}

#contactForm
{
  display: flex;             /* Makes the form behave like a flex container */
  width: 100%;
  max-width: 400px;
  flex-direction: column;    /* Ensures elements stack vertically */
  padding: 20px;
  margin: 0 auto;            /* Centers the form within its parent */
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;          /* Aligns text input fields and labels properly */
  align-items: center;       /* Centers all form elements horizontally */
}

#message
{
  color:black;
}

#form_feedback
{
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
  display: none;
}

#form_feedback.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

#form_feedback.error {
   color: #721c24;
   background-color: #f8d7da;
   border: 1px solid #f5c6cb;
}
 


/* Form labels */
label
{
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

/* Form inputs */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

/* Textarea styling */
textarea {
    resize: none;
    height: 100px;
}

/* reCAPTCHA and button alignment */
.g-recaptcha {
    margin: 10px 0;
}

/* Submit button */
.button_cap {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button_cap:hover {
    background-color: #0056b3;
}
