/**
 * Roadway Forwarding Form — layout-only styles.
 *
 * Loaded AFTER assets/quote-form.css (declared as a dependency). The forwarding
 * form's wrapper carries .rwmf-quote, so every field / input / button / label
 * / green-check / honeypot / error style is inherited from the main form
 * verbatim — this file only strips the full-page chrome that the main form's
 * .rwmf-quote container adds (the mint background, dotted texture, and large
 * section padding) and lays out the two address fields + button. Everything is
 * scoped to .rwmf-quote--forwarding so the main form is never affected.
 *
 * The two-field row reuses .rwmf-field-row, which the main stylesheet already
 * collapses to a single column at <=720px, so mobile stacking is automatic.
 */

.rwmf-quote.rwmf-quote--forwarding {
  background: transparent;
  padding: 0;
  overflow: visible;
  line-height: 1.5;
}

/* Kill the dotted radial texture the main hero section uses. */
.rwmf-quote.rwmf-quote--forwarding::before {
  content: none;
  display: none;
}

.rwmf-quote--forwarding .rwmf-fwd-inner {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Tighten spacing for the compact two-field layout. */
.rwmf-quote--forwarding .rwmf-fwd-row {
  margin: 0 0 16px;
}

.rwmf-quote--forwarding .rwmf-fwd-submit-row {
  margin-top: 4px;
}

/* On narrow screens make the CTA full-width for an easy tap target. */
@media (max-width: 720px) {
  .rwmf-quote--forwarding .rwmf-fwd-submit-row .rwmf-btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   Match Roadway's current WPForms forwarding form:
   underline-style inputs with a location pin on the left and
   an uppercase gradient CTA. The right-side valid checkmark
   (input verification) is inherited from the main form and
   kept as-is.
   ========================================================= */

.rwmf-quote--forwarding .rwmf-input {
  border: 1px solid #e6e8f5;
  border-bottom: 2px solid #1e22aa;
  border-radius: 6px 6px 4px 4px;
  padding-left: 44px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231e22aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 15px center;
  background-size: 18px 18px;
}

/* A manual edit clears Places geo; keep the pin steady at all states. */
.rwmf-quote--forwarding .rwmf-input:hover,
.rwmf-quote--forwarding .rwmf-input:focus {
  border-color: #c2c4f0;
  border-bottom-color: #1e22aa;
}

/* CTA: uppercase, no arrow, to match the WPForms button. */
.rwmf-quote--forwarding .rwmf-btn-primary {
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 800;
}
.rwmf-quote--forwarding .rwmf-btn-primary .arrow {
  display: none;
}
