<turbo-stream action="update" target="wizard_form"><template>
  <div class="flex space-x-4 items-center xl:w-2/3">
    <div class="relative">
      <img alt="Avatar" class="rounded-full max-w-12" src="/assets/jovana-08d24168.webp" />
      <div class="absolute top-0 right-0 rounded-full bg-green-600 border-2 border-white h-3 w-3"></div>

    </div>
    <div>
      <h5 class="h5 font-semibold">Emilie d’assurances vélo</h5>
      <p class="small text-gray-500">Je vais vous obtenir une assurance en quelques minutes. Pouvez-vous m’en dire plus sur le vélo que vous souhaitez assurer ?</p>
    </div>
  </div>


<div class="p-4 bg-gray-100 rounded-xl">
  <form class="simple_form new_quote" id="new_quote" data-turbo="false" novalidate="novalidate" action="/quotes/wizard/step1" accept-charset="UTF-8" method="post"><input type="hidden" name="_method" value="patch" autocomplete="off" /><input type="hidden" name="authenticity_token" value="2iUGiF7h6kTzLwJDt0g_-kvHfjQm6nHs4IZOJi4I5PL98FoAGtoOjgjr9d7sK1k6TDxU1Ag5xZ69wGtK2cMWXA" autocomplete="off" />
    <div class="mb-4 pills_with_icons required quote_bike_type"><label class="block mb-2 pills_with_icons required label">Type de vélo <abbr title="required">*</abbr></label><div class="flex gap-2 flex-wrap pills-radio-group"><input type="hidden" name="quote[bike_type]" value="" autocomplete="off" /><input class="pills_with_icons required peer hidden peer hidden peer hidden peer hidden" item_wrapper_tag="div" type="radio" value="mechanical" checked="checked" name="quote[bike_type]" id="quote_bike_type_mechanical" /><label class="flex items-center space-x-2 px-4 py-4 bg-brand-beige-light border border-brand-gray-2 text-black rounded-lg text-sm font-medium cursor-pointer transition-colors" for="quote_bike_type_mechanical"><svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="currentColor" class="w-6.5 h-6.5">
<path d="M15.4375 4.875V6.04297L15.5137 6.19531L16.3516 8.125H9.29297L9.03906 8.48047L6.83008 11.6035C6.33813 11.4512 5.8208 11.375 5.28125 11.375C2.37085 11.375 0 13.7427 0 16.6562C0 19.5698 2.36768 21.9375 5.28125 21.9375C8.05518 21.9375 10.3245 19.7825 10.5371 17.0625H13.3301L13.584 16.707L17.5449 10.8672L18.0781 12.0859C16.5007 13.0032 15.4375 14.7139 15.4375 16.6562C15.4375 19.5571 17.8179 21.9375 20.7188 21.9375C23.6196 21.9375 26 19.5571 26 16.6562C26 13.7554 23.6196 11.375 20.7188 11.375C20.3284 11.375 19.9443 11.4194 19.5762 11.502L17.3926 6.5H19.9062C20.1379 6.5 20.3125 6.67456 20.3125 6.90625C20.3125 7.13794 20.1379 7.3125 19.9062 7.3125V8.9375C21.0171 8.9375 21.9375 8.01709 21.9375 6.90625C21.9375 5.79541 21.0171 4.875 19.9062 4.875H15.4375ZM6.5 5.6875V7.3125H11.375L10.5625 5.6875H6.5ZM10.9434 9.75H16.3516L13.0762 14.5742L10.9434 9.75ZM9.52148 10.5625L11.6543 15.4375H4.875V17.0625H8.88672C8.68042 18.8843 7.15698 20.3125 5.28125 20.3125C3.26587 20.3125 1.625 18.6716 1.625 16.6562C1.625 14.6409 3.26587 13 5.28125 13C6.54761 13 7.67114 13.6475 8.32812 14.625H10.1562C9.76587 13.6887 9.12476 12.8857 8.30273 12.3145L9.52148 10.5625ZM20.7188 13C22.7341 13 24.375 14.6409 24.375 16.6562C24.375 18.6716 22.7341 20.3125 20.7188 20.3125C18.7034 20.3125 17.0625 18.6716 17.0625 16.6562C17.0625 15.3772 17.7385 14.2632 18.7383 13.6094L20.3887 17.3926L21.8613 16.7324L20.2617 13.0508C20.4141 13.0317 20.5632 13 20.7188 13Z" fill="currentColor"></path>
</svg><span>Mécanique</span></label><input class="pills_with_icons required peer hidden peer hidden peer hidden peer hidden" item_wrapper_tag="div" type="radio" value="electric" name="quote[bike_type]" id="quote_bike_type_electric" /><label class="flex items-center space-x-2 px-4 py-4 bg-brand-beige-light border border-brand-gray-2 text-black rounded-lg text-sm font-medium cursor-pointer transition-colors" for="quote_bike_type_electric"><svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="currentColor" class="w-6.5 h-6.5">
<path d="M15.4375 4.0625V5.23999L16.342 7.3125H9.28186L6.8158 10.7926C6.32967 10.6445 5.81371 10.5625 5.27966 10.5625C2.36848 10.5625 0 12.9318 0 15.8438C0 18.7557 2.36925 21.125 5.28125 21.125H5.6875H7.65051C8.01078 22.0242 8.72899 22.75 9.75 22.75H11.375H12.1875H13.8125V21.125H12.1875V19.5H13.8125V17.875H12.1875H11.375H9.75C8.72899 17.875 8.01078 18.6008 7.65051 19.5H5.6875H5.28125C3.26544 19.5 1.625 17.8596 1.625 15.8438C1.625 13.8279 3.26544 12.1875 5.28125 12.1875C6.54631 12.1875 7.6621 12.8334 8.3186 13.8125H10.1547C9.76488 12.8813 9.11382 12.0879 8.29639 11.5162L9.53418 9.76746L11.6638 14.625H4.875V16.25H13.338L17.5417 10.0642L18.075 11.2845C16.5036 12.203 15.4375 13.9048 15.4375 15.8438C15.4375 18.7447 17.8178 21.125 20.7188 21.125C23.6197 21.125 26 18.7447 26 15.8438C26 12.9428 23.6197 10.5625 20.7188 10.5625C20.3299 10.5625 19.9514 10.6084 19.5857 10.6895L17.4053 5.6875H19.9062C20.1394 5.6875 20.3125 5.86061 20.3125 6.09375C20.3125 6.32689 20.1394 6.5 19.9062 6.5V8.125C21.0186 8.125 21.9375 7.20611 21.9375 6.09375C21.9375 4.98139 21.0186 4.0625 19.9062 4.0625H15.4375ZM6.5 4.875V6.5H11.375L10.5625 4.875H6.5ZM10.9465 8.9375H16.3405L13.0619 13.7649L10.9465 8.9375ZM20.7188 12.1875C22.7334 12.1875 24.375 13.8291 24.375 15.8438C24.375 17.8584 22.7334 19.5 20.7188 19.5C18.7041 19.5 17.0625 17.8584 17.0625 15.8438C17.0625 14.5638 17.7273 13.4377 18.7272 12.7842L20.3807 16.5753L21.8693 15.9247L20.2601 12.2335C20.4122 12.2141 20.5616 12.1875 20.7188 12.1875ZM9.75 19.5H10.5625V21.125H9.75C9.29091 21.125 8.9375 20.7716 8.9375 20.3125C8.9375 19.8534 9.29091 19.5 9.75 19.5Z" fill="currentColor"></path>
</svg><span>Électrique</span></label><input class="pills_with_icons required peer hidden peer hidden peer hidden peer hidden" item_wrapper_tag="div" type="radio" value="scooter" name="quote[bike_type]" id="quote_bike_type_scooter" /><label class="flex items-center space-x-2 px-4 py-4 bg-brand-beige-light border border-brand-gray-2 text-black rounded-lg text-sm font-medium cursor-pointer transition-colors" for="quote_bike_type_scooter"><svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="currentColor" class="w-6.5 h-6.5">
<path d="M13.8125 3.25V4.875H16.4373L16.4388 4.87659V4.87976L19.1382 14.5758L19.1334 14.5726L16.058 19.1414C15.9072 19.3657 15.6571 19.5 15.3851 19.5H7.18079C7.0813 19.197 6.92573 18.908 6.70154 18.6558C6.2818 18.1836 5.61979 17.875 4.875 17.875C4.13021 17.875 3.4682 18.1836 3.04846 18.6558C2.62872 19.128 2.4375 19.7257 2.4375 20.3125C2.4375 20.8993 2.62872 21.497 3.04846 21.9692C3.4682 22.4414 4.13021 22.75 4.875 22.75C5.61979 22.75 6.2818 22.4414 6.70154 21.9692C6.92573 21.717 7.0813 21.428 7.18079 21.125H15.3851C16.1955 21.125 16.9548 20.7217 17.4069 20.0491L19.7095 16.6277L20.1141 18.0797C19.7935 18.2162 19.5134 18.4139 19.2985 18.6558C18.8787 19.128 18.6875 19.7257 18.6875 20.3125C18.6875 20.8993 18.8787 21.497 19.2985 21.9692C19.7182 22.4414 20.3802 22.75 21.125 22.75C21.8698 22.75 22.5318 22.4414 22.9515 21.9692C23.3713 21.497 23.5625 20.8993 23.5625 20.3125C23.5625 19.7257 23.3713 19.128 22.9515 18.6558C22.658 18.3255 22.2421 18.0829 21.7661 17.9623L18.0083 4.45605C17.8192 3.7483 17.17 3.25 16.4373 3.25H13.8125ZM4.875 19.5C5.21354 19.5 5.36404 19.5977 5.48596 19.7349C5.60789 19.872 5.6875 20.0868 5.6875 20.3125C5.6875 20.5382 5.60789 20.753 5.48596 20.8901C5.36404 21.0273 5.21354 21.125 4.875 21.125C4.53646 21.125 4.38596 21.0273 4.26404 20.8901C4.14211 20.753 4.0625 20.5382 4.0625 20.3125C4.0625 20.0868 4.14211 19.872 4.26404 19.7349C4.38596 19.5977 4.53646 19.5 4.875 19.5ZM21.125 19.5C21.4635 19.5 21.614 19.5977 21.736 19.7349C21.8579 19.872 21.9375 20.0868 21.9375 20.3125C21.9375 20.5382 21.8579 20.753 21.736 20.8901C21.614 21.0273 21.4635 21.125 21.125 21.125C20.7865 21.125 20.636 21.0273 20.514 20.8901C20.3921 20.753 20.3125 20.5382 20.3125 20.3125C20.3125 20.0868 20.3921 19.872 20.514 19.7349C20.636 19.5977 20.7865 19.5 21.125 19.5Z" fill="currentColor"></path>
</svg><span>Trottinette</span></label></div></div>

    <div class="flex flex-col lg:flex-row lg:space-x-2 w-full">
      <div class="lg:w-1/2">
        <div class="mb-4 string required quote_bike_label"><label class="block mb-2 string required label" for="quote_bike_label">Marque du vélo <abbr title="required">*</abbr></label><input class="input string required" type="text" name="quote[bike_label]" id="quote_bike_label" /></div>
      </div>
      <div class="lg:w-1/2">
        <div class="mb-4 string required quote_bike_model"><label class="block mb-2 string required label" for="quote_bike_model">Modèle du vélo <abbr title="required">*</abbr></label><input class="input string required" type="text" name="quote[bike_model]" id="quote_bike_model" /></div>
      </div>
    </div>

    <div class="flex flex-col lg:flex-row lg:space-x-2 w-full">
      <div class="lg:w-1/2">
        <div class="mb-4 integer required quote_bike_price"><label class="block mb-2 integer required label" for="quote_bike_price">Prix d&#39;achat du vélo <abbr title="required">*</abbr></label><input class="input numeric integer required" type="number" min="0" step="1" name="quote[bike_price]" id="quote_bike_price" /></div>
      </div>
      <div class="lg:w-1/2">
        <div class="mb-4 date required quote_bike_purchase_date"><label class="block mb-2 date required label" for="quote_bike_purchase_date">Date d&#39;achat du vélo <abbr title="required">*</abbr></label><div class="inline-flex space-x-1 w-full"><input class="input date required" type="date" name="quote[bike_purchase_date]" id="quote_bike_purchase_date" /></div></div>
      </div>
    </div>

    <div class="flex justify-end">
      <input type="submit" name="commit" value="Suivant" class="button-primary" data-disable-with="Suivant" />
    </div>

</form></div>
</template></turbo-stream><turbo-stream action="update" target="wizard_steps"><template><div class="grow">
  <div class="relative pt-3">


    <div class="flex justify-between relative">
      <div class="absolute inset-0 top-2.5 flex justify-between">
          <div class="lg:hidden flex-1">
            <div class="w-full top-3 right-1/2 h-0.5 bg-gray-300"></div>
          </div>
          <div class="lg:hidden flex-1">
            <div class="w-full top-3 right-1/2 h-0.5 bg-gray-300"></div>
          </div>
          <div class="lg:hidden flex-1">
            <div class="w-full top-3 right-1/2 h-0.5 bg-gray-300"></div>
          </div>
      </div>

        <div class="flex flex-col items-center relative lg:flex-1">
            <div class="hidden lg:block w-full absolute top-3 left-1/2 h-0.5 bg-gray-300"></div>
          <div class="shrink-0 text-white rounded-full w-6 h-6 flex justify-center items-center z-10 bg-cyan-500">
              <span class="text-sm md:text-base">1</span>
          </div>
          <div class="hidden lg:block shrink-0 font-semibold text-center mt-2 text-black">
            Vélo
          </div>
        </div>

        <div class="flex flex-col items-center relative lg:flex-1">
            <div class="hidden lg:block w-full absolute top-3 right-1/2 h-0.5 bg-gray-300"></div>
            <div class="hidden lg:block w-full absolute top-3 left-1/2 h-0.5 bg-gray-300"></div>
          <div class="shrink-0 text-white rounded-full w-6 h-6 flex justify-center items-center z-10 bg-gray-400">
              <span class="text-sm md:text-base">2</span>
          </div>
          <div class="hidden lg:block shrink-0 font-semibold text-center mt-2 text-gray-500">
            Informations
          </div>
        </div>

        <div class="flex flex-col items-center relative lg:flex-1">
            <div class="hidden lg:block w-full absolute top-3 right-1/2 h-0.5 bg-gray-300"></div>
          <div class="shrink-0 text-white rounded-full w-6 h-6 flex justify-center items-center z-10 bg-gray-400">
              <span class="text-sm md:text-base">3</span>
          </div>
          <div class="hidden lg:block shrink-0 font-semibold text-center mt-2 text-gray-500">
            Devis
          </div>
        </div>
    </div>
  </div>

  <div class="mt-2 lg:hidden flex justify-between items-center">
    <div class="font-semibold">
      Vélo
    </div>
    <div class="text-sm text-gray-500">
      Étape 1 sur 3
    </div>
  </div>
</div></template></turbo-stream>