/* TransparentRx – Talk to Our Founder, InsourceRx Licensing, InsourceRx White Label forms (Contact Form 7)
   Paste into Appearance → Customize → Additional CSS, BELOW the existing Request a Demo form CSS
   (that CSS styles the fields; this adds the phone field and the success panels).
   Replaces trx-form-addendum.css from the previous delivery – remove that block if you added it. */

/* Phone field, same look as the other inputs */
.trx-demo-form input[type="tel"] {
  width: 100%; box-sizing: border-box; margin: 0;
  border: 1.5px solid #D8DDE5; border-radius: 7px; padding: 14px 15px;
  background: #FFFFFF; color: #333F4D; box-shadow: none;
  font-family: "Nunito Sans", system-ui, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.4;
}
.trx-demo-form input[type="tel"]:focus { border-color: #12833C; outline: 3px solid #12833C; outline-offset: 3px; }

/* Success panel: hidden until Contact Form 7 marks the form as sent */
.trx-panel-form .trx-success { display: none; text-align: center; padding: 26px 0; }
.trx-panel-form.sent .trx-success { display: block; }
.trx-panel-form.sent .trx-fields,
.trx-panel-form.sent .wpcf7-response-output { display: none !important; }

/* After sending, the panel replaces the whole card, as in the design:
   hide the card's heading, intro and privacy line that sit next to the form in Elementor */
.e-con:has(> .elementor-widget-shortcode .trx-panel-form.sent) > .elementor-element:not(.elementor-widget-shortcode) { display: none; }
.e-con:has(> .elementor-widget-shortcode .trx-panel-form.sent) > .elementor-widget-shortcode { margin-top: 0 !important; }

.trx-panel-form .trx-success-eyebrow { font-family: "Nunito Sans", system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #12833C; }
.trx-panel-form .trx-success-title { margin: 0; font-family: Montserrat, system-ui, sans-serif; font-size: 27px; line-height: 1.2; font-weight: 800; color: #1D3A8C; }
.trx-panel-form .trx-success-eyebrow + .trx-success-title { margin-top: 14px; }
.trx-panel-form .trx-success-text { margin: 16px 0 0; font-size: 17px; line-height: 1.75; color: #5B6673; }
.trx-panel-form .trx-success-button {
  display: inline-block; margin-top: 28px; padding: 18px 32px; border-radius: 6px;
  background: #12833C; color: #FFFFFF; font-size: 17px; font-weight: 700; text-decoration: none;
}
.trx-panel-form .trx-success-button:hover { background: #0E6B30; color: #FFFFFF; }
.trx-panel-form .trx-success-note { margin: 22px 0 0; font-size: 15px; line-height: 1.7; color: #677082; }
.trx-panel-form .trx-success-note a { color: #677082; }
.trx-panel-form .trx-success-link { display: inline-block; margin-top: 26px; font-size: 16px; font-weight: 700; color: #12833C; text-decoration: none; }
.trx-panel-form .trx-success-link:hover { color: #0E6B30; }
.trx-panel-form .trx-success a:focus-visible { outline: 3px solid #12833C; outline-offset: 3px; border-radius: 4px; }
