<turbo-stream action="show_remote_modal"><template>
  <dialog data-controller="modal" id="form_modal" class="flex flex-col dialog" >
  <form method="dialog">
    <button class="z-10 absolute top-4 right-4 text-gray-600 hover:text-gray-700">
      <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
      </svg>
    </button>
  </form>
  <div class="overflow-y-auto p-1">
    
    <div id="contact_modal" class="max-w-md mx-auto">
      <!-- Header -->
      <div class="flex flex-col items-center text-center mb-8">
        <div class="w-14 h-14 bg-pink-100 rounded-xl flex items-center justify-center mb-4">
          <svg xmlns="http://www.w3.org/2000/svg" class="w-7 h-7 text-pink-600" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.5">
            <path stroke-linecap="round" stroke-linejoin="round" d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75" />
          </svg>
        </div>
        <h1 class="font-bold text-2xl text-gray-900">Neem contact op</h1>
        <p class="text-gray-500 mt-2">Wij reageren meestal binnen 24 uur</p>
      </div>

      <!-- Form -->
      <form class="form" action="/nl/contact" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="Ei6abRcPll2JIzI2m6r7tVZ365sWaLllp1ZHH-kTSH3jLiyh5upDrkt9gmSP_93K8vWgLGDxCgUp4xR5Lb_C_w" autocomplete="off" />
        <div>
          <label class="block text-sm font-medium text-gray-700 mb-1">Naam</label>
          <input required="required" autofocus="autofocus" placeholder="Je volledige naam" class="w-full" type="text" name="contact_form[name]" id="contact_form_name" />
        </div>

        <div class="country_1775872465"><style media="screen" nonce="7C5WjxUPiXeGgV/43mocLg==">.country_1775872465 {position:absolute!important;top:-9999px;left:-9999px;}</style><label for="contact_form_country">If you are a human, ignore this field</label><input type="text" name="contact_form[country]" id="contact_form_country" autocomplete="off" tabindex="-1" nonce="true" /><input type="hidden" name="spinner" value="a485ab9ea4aa492f5fb2d7e0d7e11e78" autocomplete="off" /></div>

        <div>
          <label class="block text-sm font-medium text-gray-700 mb-1">E-mailadres</label>
          <input autocomplete="username" placeholder="naam@voorbeeld.nl" class="w-full" type="email" name="contact_form[email]" id="contact_form_email" />
        </div>

        <div>
          <label class="block text-sm font-medium text-gray-700 mb-1">Bericht</label>
          <textarea required="required" placeholder="Waar kunnen we je mee helpen?" rows="5" class="w-full" name="contact_form[message]" id="contact_form_message">
</textarea>
        </div>


        <div class="pt-2">
          <input type="submit" name="commit" value="Versturen" class="btn btn-primary btn--large w-full" data-disable-with="Versturen" />
        </div>
</form>    </div>

  </div>
</dialog>
</template></turbo-stream>