/* BeikAxis ADM Theme: WordPress adapter.
   site.css and landing.css are the design. This file only fits Contact Form 7's own markup into that design
   and keeps the sticky header clear of the WordPress admin bar. It 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. */
.beikaxis-form .wpcf7-form-control-wrap{display:block;position:relative;min-width:0}
.beikaxis-form .wpcf7 form{margin:0}

/* Radio choices: Contact Form 7 puts each choice in its own span inside one group span. */
.beikaxis-form .radios .wpcf7-form-control-wrap{width:100%}
.beikaxis-form .radios .wpcf7-list-item{display:block;margin:0}

/* Form message: hidden while empty, green once the message was sent. */
.beikaxis-form .wpcf7-response-output:empty{display:none}
.beikaxis-form .wpcf7 form.sent .wpcf7-response-output{color:var(--green)}

/* Submit: the button keeps its .btn look. The plugin's spinner is replaced by a dimmed button while sending. */
.beikaxis-form .wpcf7-submit{-webkit-appearance:none;appearance:none}
.beikaxis-form .wpcf7-spinner{display:none}
.beikaxis-form form.submitting .wpcf7-submit{opacity:.7;cursor:progress}
/* Contact Form 7's submit is an input, and an input's label does not wrap on its own. "Discuss Your Property or
   Project" then held the form foot at 301px inside a 238px card at 320px (22px sideways scroll) and pushed the button
   past the card edge at 360px. Wrap the label like the design's button does, and keep the column inside the card. */
.beikaxis-form .form-foot{grid-template-columns:minmax(0,1fr)}
.beikaxis-form .wpcf7-submit{white-space:normal;max-width:100%;height:auto}

/* Admin bar: only seen by signed-in staff */
.admin-bar .site-header{top:32px}
@media (max-width:1239px){.admin-bar .drawer{top:104px}}
@media (max-width:782px){.admin-bar .site-header{top:46px}.admin-bar .drawer{top:118px}}
@media (max-width:600px){.admin-bar .site-header{top:0}.admin-bar .drawer{top:72px}}

/* Copied from site.css when the package is built, so Contact Form 7's radio choices, field errors and form
   message look exactly like the design's own controls. Do not edit by hand: change site.css and rebuild. */
.beikaxis-form .radios .wpcf7-radio{display:flex;flex-wrap:wrap;gap:.75rem}
.beikaxis-form .radios .wpcf7-list-item label{display:inline-flex;align-items:center;gap:.6rem;min-height:50px;padding:.5rem 1rem;border:1.5px solid var(--line-strong);border-radius:var(--radius);cursor:pointer;background:var(--white);padding:.5rem 1rem;font-weight:400}
.beikaxis-form .radios .wpcf7-list-item input{width:20px;height:20px;min-height:0;accent-color:var(--green);margin:0;padding:0}
.beikaxis-form .radios .wpcf7-list-item label:has(input:checked){border-color:var(--green);background:var(--green-soft)}
.beikaxis-form .field .wpcf7-not-valid{border-color:var(--error);background:var(--error-bg)}
.beikaxis-form .wpcf7-not-valid-tip{font-size:.875rem;color:var(--error);font-weight:500;display:flex;gap:.4rem;align-items:flex-start;margin-top:.4rem}
.beikaxis-form .wpcf7-not-valid-tip::before{content:"!";flex:none;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:var(--error);color:var(--white);font-size:.75rem;font-weight:700;margin-top:.1em}
.beikaxis-form .wpcf7 form .wpcf7-response-output{font-size:.9375rem;color:var(--error);font-weight:500;margin:0;padding:0;border:0}
