/* Fluent Forms contact form, styled to match the omnipath.ai/contact-us form. Scoped to the
   /contact "Send a message" card so it also sits consistently above the booking form. inc/contact.php. */

/* Glass panel, like omnipath's form card: a translucent white gradient over the page's
   background glow, a hairline border and a backdrop blur (overrides the opaque .card). */
.anv-contact-card{background:linear-gradient(rgba(255,255,255,.06),rgba(255,255,255,.024));border:1px solid rgba(255,255,255,.09);border-radius:16px;padding:26px;box-shadow:none;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}

.anv-contact-card .frm-fluent-form{color:var(--text)}
.anv-contact-card .ff-el-group{margin-bottom:18px}
.anv-contact-card .ff-t-container{gap:14px}

/* Labels: uppercase mono eyebrow. */
.anv-contact-card .ff-el-input--label label{font:500 11px/1.3 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--dim);margin:0 0 6px;display:inline-block}
.anv-contact-card .ff-el-input--label .ff-el-is-required,
.anv-contact-card .ff-el-is-required > label:after{color:var(--mint)}

/* Inputs, selects, textarea: dark fields with a hairline white border and a mint focus ring. */
.anv-contact-card .ff-el-form-control{font:16px/1.4 var(--font);color:var(--text);background:rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:12px 14px;min-height:46px;width:100%;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.anv-contact-card textarea.ff-el-form-control{min-height:110px;resize:vertical}
.anv-contact-card select.ff-el-form-control{padding-right:36px;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239AABBF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
.anv-contact-card .ff-el-form-control::placeholder{color:var(--muted)}
.anv-contact-card .ff-el-form-control:focus{outline:none;border-color:var(--mint);box-shadow:0 0 0 3px rgba(0,255,206,.12)}

/* Submit: full-width mint pill, matching omnipath. Fluent Forms sets the button colour and
   width via a per-form style block, so these need !important to win. */
.anv-contact-card .ff-btn-submit{font:600 15px/1 var(--font)!important;background:var(--mint)!important;background-image:none!important;color:var(--on-accent)!important;border:0!important;border-radius:100px!important;padding:14px 26px!important;min-height:48px;width:100%!important;display:flex!important;align-items:center;justify-content:center;cursor:pointer;transition:background .15s}
.anv-contact-card .ff-btn-submit:hover{background:#4dffdd!important}
.anv-contact-card .ff-btn-submit:focus-visible{outline:2px solid var(--mint);outline-offset:3px}

/* Validation + success messaging. */
.anv-contact-card .ff-el-is-error .ff-el-form-control{border-color:#FF8FA3}
.anv-contact-card .error,
.anv-contact-card .text-danger,
.anv-contact-card .ff_submit_failure{color:#FF8FA3}
.anv-contact-card .ff-message-success,
.anv-contact-card .ff_submit_success{color:var(--text)}

@media (prefers-reduced-motion:reduce){.anv-contact-card .ff-el-form-control,.anv-contact-card .ff-btn-submit{transition:none}}
