/* ===== Space between title and form ===== */
.page-header,
.page-title,
.uk-article-title {
  margin-bottom: 50px !important;
}


/* ===== Center the form ===== */
.webform-submission-form {
  max-width: 520px;
  margin: 0 auto;
}

/* ===== Inputs & Textarea ===== */
.webform-submission-form input,
.webform-submission-form textarea {
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
}

/* ===== Focus state (brand color) ===== */
.webform-submission-form input:focus,
.webform-submission-form textarea:focus {
  border-color: #d6b25e;
  outline: none;
}

/* ===== Submit button ===== */
.webform-button--submit {
  background: #eadfa8;
  color: #3a3a3a;
  padding: 12px 32px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
}

.webform-button--submit:hover {
  background: #eadfa8;
}

/* ===== Reset button styling ===== */
.webform-button--reset {
  background: #e6e6e6;
  color: #333;
  padding: 10px 26px;
  border-radius: 8px;
  border: none;
  font-weight: 500;
}

.webform-button--reset:hover {
  background: #dcdcdc;
}


/* ===== Space between form fields ===== */
.webform-submission-form .form-item {
  margin-bottom: 18px;
}

/* ===== Space below the form ===== */
.webform-submission-form {
  padding-bottom: 60px;
}

/* =========================
   Mobile fixes for Webform
   ========================= */
@media (max-width: 768px) {

  /* Make form full width on mobile */
  .webform-submission-form {
    max-width: 100%;
    padding: 0 16px;
  }

  /* Inputs & textarea full width */
  .webform-submission-form input,
  .webform-submission-form textarea {
    width: 100%;
    box-sizing: border-box;
  }

  /* Reduce space between fields */
  .webform-submission-form .form-item {
    margin-bottom: 14px;
  }

  /* Center and resize page title */
  .page-header h1,
  .page-title,
  .uk-article-title {
    font-size: 1.6rem;
    margin-bottom: 30px !important;
    text-align: center;
  }

  /* Buttons full width on mobile */
  .webform-button--submit,
  .webform-button--reset {
    width: 100%;
    margin: 8px 0;
  }

}
