/* Global WPForms styling for interwebsite
   - Background: #f1f1f1 cards with subtle shadow
   - Black borders on inputs
   - Buttons use brand colors (pink: #D50069)
*/

/* Card wrapper for any WPForms form */
.wpforms-container,
.wpforms-container-full {
  background: #f1f1f1;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  padding: 20px 20px 24px;
}

/* Ensure inner form doesn't add unexpected transparent gaps */
.wpforms-container .wpforms-form,
.wpforms-container-full .wpforms-form {
  margin: 0;
}

/* Labels */
.wpforms-field-label,
.wpforms-field-sublabel {
  color: #111827;
  font-weight: 700;
}

/* Inputs, selects, textareas: black borders for clarity */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="url"],
.wpforms-form input[type="number"],
.wpforms-form input[type="password"],
.wpforms-form select,
.wpforms-form textarea {
  border: 2px solid #000 !important;
  border-radius: 6px;
  background: #fff;
  color: #111;
}

/* Checkbox/Radio groups */
.wpforms-form .wpforms-field-checkbox input[type="checkbox"],
.wpforms-form .wpforms-field-radio input[type="radio"]{
  border: 2px solid #000 !important;
}

/* Focus states */
.wpforms-form input:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
  outline: 2px solid #000;
  outline-offset: 1px;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.12);
}

/* Primary submit buttons use brand pink */
.wpforms-form .wpforms-submit,
.wpforms-form button[type="submit"],
.wpforms-form input[type="submit"] {
  background: #D50069 !important;
  color: #fff !important;
  border: 1px solid #D50069 !important;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: 0 6px 16px rgba(213,0,105,.28) !important;
}

.wpforms-form .wpforms-submit:hover,
.wpforms-form button[type="submit"]:hover,
.wpforms-form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(213,0,105,.35) !important;
  opacity: .96;
}

/* Error styling: keep strong contrast */
.wpforms-error, .wpforms-field.wpforms-has-error input,
.wpforms-field.wpforms-has-error select,
.wpforms-field.wpforms-has-error textarea {
  border-color: #B00020 !important;
}

/* Space fields a bit for readability */
.wpforms-field { margin-bottom: 14px; }

/* Small helper for forms wrapped by our helper class */
.iw-wpforms { /* marker class added by filter to frontend forms */ display: block; }
