/*
 * SGH form styling — adapted from the <style> block embedded in legacy Brevo
 * form 9's html (wp_sib_model_forms row 9), which left the page together with
 * the sibwp_form shortcode at the DOI migration. Values are verbatim from
 * that block; only the selectors changed (numbered sib classes → the arde
 * form's data-campaign scope). The page must keep looking exactly as it did.
 */

/* Contenedor general del formulario (was .formulario-arde9) */
form[data-campaign="stop-granjas-de-los-horrores"] {
  background-color: #FFF;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 500px;
  margin: auto;
}

/* Inputs (was .sib-*-area9 input) */
form[data-campaign="stop-granjas-de-los-horrores"] input[type="text"],
form[data-campaign="stop-granjas-de-los-horrores"] input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #0A090C;
  background-color: #FFFAF8;
  color: #0A090C;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  /* Spacing measured off the rendered legacy card (80px input pitch, first
     input 47px from the card top): the <p> wrappers stacked the embedded
     block's 14px with ~23px of theme paragraph margin. Top-margins only —
     split top/bottom margins collapse between adjacent block inputs and
     would shrink the 37px gap to 23px. */
  display: block;
  margin-top: 37px;
  margin-bottom: 0;
}

form[data-campaign="stop-granjas-de-los-horrores"] input[type="text"]:first-of-type {
  /* 24px card padding + 23px = the legacy 47px offset above the first field. */
  margin-top: 23px;
}

form[data-campaign="stop-granjas-de-los-horrores"] input[type="text"]:focus,
form[data-campaign="stop-granjas-de-los-horrores"] input[type="email"]:focus {
  outline: none;
  border-color: #FA0B57;
}

/* Placeholder */
form[data-campaign="stop-granjas-de-los-horrores"] input[type="text"]::placeholder,
form[data-campaign="stop-granjas-de-los-horrores"] input[type="email"]::placeholder {
  color: #0A090C;
  opacity: 0.6;
}

/* Privacy text (was .texto_politicas9) */
form[data-campaign="stop-granjas-de-los-horrores"] .form-privacy {
  color: #0A090C;
  font-size: 13px;
  display: block;
  /* Measured 28px between the email field and this line on the legacy card;
     the source block's 0 relied on wrapper layout the flat markup doesn't
     have. */
  margin-top: 28px;
}

form[data-campaign="stop-granjas-de-los-horrores"] .form-privacy a {
  color: #0A090C;
  text-decoration: underline;
}

/* Botón (was .sib-default-btn9) */
form[data-campaign="stop-granjas-de-los-horrores"] input[type="submit"] {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  padding: 14px 0;
  width: 100%;
  background-color: #FA0B57;
  color: #FFFAF8;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 1.5px;
  margin-top: 18px;
}

/* The legacy message div (.sib_msg_disp) was unstyled — keep ours minimal. */
form[data-campaign="stop-granjas-de-los-horrores"] .arde-form-message {
  color: #0A090C;
  font-size: 14px;
  margin-top: 12px;
}

