/* Stellaris ADM theme: WordPress adapter. site.css is the design and ships unchanged. This file fits Contact Form 7's
   own markup into the design's form and reads the same tokens as site.css. */

/* Contact Form 7 wraps each control in a span. Let it fill the field like the control did before. */
.stellaris-form .wpcf7 form{margin:0}
.stellaris-form .wpcf7-form-control-wrap{display:block;min-width:0}
.stellaris-form .consent .wpcf7-form-control-wrap,.stellaris-form .consent .wpcf7-list-item{display:block;flex:none;margin:0}
.stellaris-form .hidden-fields-container{display:none}

/* The design's own field messages and the line under the button do the talking while the script runs.
   Contact Form 7's messages are kept for visitors without JavaScript. */
.stellaris-form.is-enhanced .wpcf7-not-valid-tip,.stellaris-form.is-enhanced .wpcf7-response-output{display:none}
.stellaris-form .wpcf7-not-valid-tip{display:block;color:#A3261B;font-size:16px;margin-top:6px}
.stellaris-form .wpcf7-response-output{margin:14px 0 0;padding:10px 12px;border:1px solid var(--line);border-radius:4px;font-size:16px}

/* Contact Form 7's submit is an input, and an input's label does not wrap on its own: let it wrap and keep it inside the
   card at 320 px. Its spinner gives way to the design's sending line. */
.stellaris-form .wpcf7-submit{-webkit-appearance:none;appearance:none;white-space:normal;max-width:100%;height:auto;cursor:pointer}
.stellaris-form .wpcf7-spinner{display:none}
.stellaris-form form.submitting .wpcf7-submit{cursor:progress}

/* Landing header on a landing-only install's Privacy Policy: the same row as on the landing page. */
.landing-chrome .site-header .hdr{gap:12px}
.landing-chrome .logo{margin-right:auto}
