/* =========================================================
   CONTACT FORM – FINAL TIGHT / DAISYUI-SM STYLE
   ========================================================= */

/* Ensure we only touch the contact page */


  /* -------- Card spacing -------- */
  .contact-page {
    padding: 28px 26px;
  }

  /* -------- Labels -------- */
  .feature-form label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px; /* ↓ tighter */
    line-height: 1.2;
  }

.contact-page h1,
      .contact-page h2,
      .contact-page label,
      .contact-page h3 {
        font-family: var(--font-heading, inherit);
      }

  /* -------- Inputs (DaisyUI input-sm equivalent) -------- */
  .feature-form input[type="text"],
  .feature-form input[type="email"],
  .feature-form textarea {
    height: 36px;                 /* input-sm height */
    padding: 6px 10px;            /* tighter padding */
    font-size: 14px;
    border-radius: 0;             /* NO radius */
    border: 1px solid #d1d5db;    /* neutral gray */
    box-shadow: none;             /* kill glow */
  }

  .feature-form textarea {
    height: auto;
    min-height: 96px;             /* smaller textarea */
    padding: 8px 10px;
  }

  /* Focus state (subtle, not glow) */
  .feature-form input:focus,
  .feature-form textarea:focus {
    border-color: var(--fanspeak-red);
    box-shadow: none;
    outline: none;
  }

  /* -------- Field spacing -------- */
  .feature-form .field {
    margin-bottom: 12px; /* ↓ was way too big */
  }

  /* -------- Actions row -------- */
  .feature-form .actions {
    margin-top: 14px;
  }

  /* -------- SUBMIT BUTTON (FIXED) -------- */
  .btn-submit {
    width: 100%;
    height: 38px;                 /* matches input-sm */
    background: var(--fanspeak-red, #99002e);
    color: #ccc;
    border-radius: 0;             /* NO radius */
    border: none;
    box-shadow: none;             /* remove glow */
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
  }

/* FORCE Fanspeak submit button color (theme override fix) */
body.page-template-page-contact-us .feature-form .btn-submit,
body.page-template-page-contact-us .feature-form button.btn-submit {
  background-color: var(--fanspeak-red, #99002e) !important;
  color: #ffffff !important;
}


  .btn-submit:hover {
    background: #7f0026;
  }

  .btn-submit:disabled {
    opacity: 0.6;
  }

  /* -------- Status text -------- */
  .form-status {
    margin-top: 6px;
    font-size: 12px;
    text-align: left;
  }

  /* -------- Footer links -------- */
  .back-links {
    margin-top: 22px;
    font-size: 13px;
  }


/* =========================================================
   CONTACT PAGE – FINAL LAYOUT FIXES (NO OTHER CHANGES)
   ========================================================= */

/* 1️⃣ Light gray background + full-height page (including footer) */
body.page-template-page-contact-us {
  background: #f2f4f6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ensure footer stays at bottom */
body.page-template-page-contact-us footer {
  margin-top: auto;
}

/* 2️⃣ Center the card + white background + subtle shadow */
body.page-template-page-contact-us .contact-page {
  margin: 48px auto;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); /* shadow-sm */
}

/* 3️⃣ Button should ALWAYS be Fanspeak red (no hover color change) */
body.page-template-page-contact-us .btn-submit {
  background: var(--fanspeak-red);
}

body.page-template-page-contact-us .btn-submit:hover {
  background: var(--fanspeak-red);
}
h1 {
        margin: 0 0 8px;
        letter-spacing: 0.02em;
        font-size: 32px;
        font-weight: 800;
        font-family: var(--font-heading, inherit);
      }
      
      /* ---------------------------------------------------------
   FINAL CONTACT FORM FIXES
--------------------------------------------------------- */

/* Force inputs to full width */
body.page-template-page-contact-us .feature-form input,
body.page-template-page-contact-us .feature-form textarea {
  width: 100%;
  display: block;
}

/* Center text inside submit button */
body.page-template-page-contact-us .btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* =========================================================
   FORCE PERFECT BUTTON CENTERING (ARROW SAFE)
========================================================= */

body.page-template-page-contact-us .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  line-height: 1;
  padding-left: 0;
  padding-right: 0;
}

/* Normalize arrow spacing */
body.page-template-page-contact-us .btn-submit span {
  display: inline-block;
  margin-left: 6px;
  line-height: 1;
}

/* Kill any theme weirdness */
body.page-template-page-contact-us .btn-submit * {
  vertical-align: middle;
}
