<turbo-stream action="invoke" target="enquiryModal" data-action="modal#close"></turbo-stream>

<turbo-stream action="append" target="toast-container">
  <template>
    <div class="toast toast-center text-bg-success border-0 shadow show" role="alert" aria-live="assertive" aria-atomic="true" data-bs-delay="6000">
      <div class="d-flex flex-column">
        <div class="toast-body fw-bold fs-5 text-center">
          ✅ Thank you.. Enquiry has been sent.<br>
          Use Ref No <strong><%= @enquiry.reference_number %></strong>.<br>
          for follow-ups.
        </div>
        <button type="button" class="btn-close btn-close-white mx-auto mt-3" data-bs-dismiss="toast" aria-label="Close"></button>
      </div>
    </div>
  </template>
</turbo-stream>
