/* Contact page affordances for the Framer export.
 *
 * Framer ships the submit control as the Disabled variant (inline opacity
 * 0.7 on a near-black fill), which reads as a greyed-out CTA even when the
 * form is ready. Force full opacity so it matches other primary CTAs.
 * Stylesheet (not markup) so the fix survives hydrate remounts as long as
 * patch_export.py keeps re-attaching this file on /contact.
 *
 * After a successful send, backend.js locks the button as "Message sent" and
 * writes a [data-verita-status] line. Keep the locked button visually solid
 * (not greyed) so the confirmation reads as a completed CTA, not a broken one.
 */

form button[type="submit"],
form button[type="submit"][data-framer-name="Disabled"],
form button[type="submit"][data-framer-name="Default"],
form button[type="submit"]:disabled {
  opacity: 1 !important;
}

form button[type="submit"]:disabled,
form button[type="submit"][aria-busy="true"] {
  cursor: default;
  pointer-events: none;
}

form [data-verita-status] {
  margin-top: 14px !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
}

form [data-verita-status][data-verita-ok] {
  color: #1a1a1a !important;
}

form [data-verita-status][data-verita-error] {
  color: #b00020 !important;
}
