<turbo-stream action="replace" target="booking_time_slots"><template>
  <turbo-frame id="booking_time_slots">
    <div class="glass-card rounded-2xl p-4 sm:p-6"
     data-testid="booking-time-slots"
     data-controller="booking-time-slots-component--booking-time-slots-component"
     data-booking-time-slots-component--booking-time-slots-component-selected-classes-value="ring-2 ring-secondary-500 bg-secondary-50/80 dark:bg-secondary-900/30 border-secondary-500 shadow-md shadow-secondary-500/15" data-booking-time-slots-component--booking-time-slots-component-step-mode-value="false">

  <h3 class="text-base font-semibold text-gray-900 dark:text-white mb-1">
    Horarios disponibles
  </h3>
  <p class="text-sm text-gray-500 dark:text-gray-400 mb-4">
    10 de octubre de 2026
  </p>

    <div class="space-y-3" data-testid="time-slots-grouped">

        <details class="group" open data-testid="time-period-morning">
          <summary class="flex items-center gap-2 cursor-pointer py-2 select-none list-none [&::-webkit-details-marker]:hidden text-sm font-medium text-gray-700 dark:text-gray-300">
            <svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4"><path d="M12 2v8"></path><path d="m4.93 10.93 1.41 1.41"></path><path d="M2 18h2"></path><path d="M20 18h2"></path><path d="m19.07 10.93-1.41 1.41"></path><path d="M22 22H2"></path><path d="m8 6 4-4 4 4"></path><path d="M16 18a4 4 0 0 0-8 0"></path></svg>
            Mañana
            <span class="text-gray-400 text-xs">(3)</span>
            <svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4 ml-auto text-gray-400 transition-transform group-open:rotate-180"><path d="m6 9 6 6 6-6"></path></svg>
          </summary>

          <div class="grid grid-cols-2 sm:grid-cols-3 gap-2 mt-2">
                <button type="button"
                        class="rounded-lg px-3 py-2.5 text-center text-sm font-medium transition-colors bg-white/60 dark:bg-gray-700/60 text-gray-900 dark:text-white border border-gray-200/60 dark:border-gray-600/60 hover:border-primary-500 hover:bg-primary-50/80 dark:hover:bg-primary-900/30 focus:ring-2 focus:ring-primary-500 focus:outline-none cursor-pointer "
                        
                        data-testid="slot-2026-10-10-495"
                        data-end-minutes="555"
                        
                        data-action="click->booking-time-slots-component--booking-time-slots-component#selectSlot">
                  8:15 AM
                </button>
                <button type="button"
                        class="rounded-lg px-3 py-2.5 text-center text-sm font-medium transition-colors bg-white/60 dark:bg-gray-700/60 text-gray-900 dark:text-white border border-gray-200/60 dark:border-gray-600/60 hover:border-primary-500 hover:bg-primary-50/80 dark:hover:bg-primary-900/30 focus:ring-2 focus:ring-primary-500 focus:outline-none cursor-pointer "
                        
                        data-testid="slot-2026-10-10-555"
                        data-end-minutes="615"
                        
                        data-action="click->booking-time-slots-component--booking-time-slots-component#selectSlot">
                  9:15 AM
                </button>
                <button type="button"
                        class="rounded-lg px-3 py-2.5 text-center text-sm font-medium transition-colors bg-white/60 dark:bg-gray-700/60 text-gray-900 dark:text-white border border-gray-200/60 dark:border-gray-600/60 hover:border-primary-500 hover:bg-primary-50/80 dark:hover:bg-primary-900/30 focus:ring-2 focus:ring-primary-500 focus:outline-none cursor-pointer "
                        
                        data-testid="slot-2026-10-10-615"
                        data-end-minutes="675"
                        
                        data-action="click->booking-time-slots-component--booking-time-slots-component#selectSlot">
                  10:15 AM
                </button>
          </div>
        </details>
    </div>
</div>
</turbo-frame></template></turbo-stream>