{steps[rota.currentStep - 1].title}
(rota.currentStep -= 1)} variant="outline" class="border-zinc-200 bg-white text-zinc-600 shadow-sm transition-all hover:bg-zinc-50 hover:text-zinc-900 active:scale-95" > Προηγούμενο
(rota.currentStep += 1)} variant="outline" class="border-zinc-200 bg-white text-zinc-600 shadow-sm transition-all hover:bg-zinc-50 hover:text-zinc-900 active:scale-95" > Επόμενο
{steps[rota.currentStep - 1].description}
{#each ["ΔΕΥΤΕΡΑ", "ΤΡΙΤΗ", "ΤΕΤΑΡΤΗ", "ΠΕΜΠΤΗ", "ΠΑΡΑΣΚΕΥΗ", "ΣΑΒΒΑΤΟ", "ΚΥΡΙΑΚΗ"] as dayName}
{dayName}
{/each}
{#each rota.emptySlots as _}
{/each} {#each rota.daysArray as day (day)} {@const slotCount = getRequiredSlots(day)}
{day}
{#if slotCount > 0}
"handleCellClick(day, 1)"} class="w-full overflow-hidden rounded border border-pink-200 bg-pink-50 px-1.5 py-1 text-left text-[10px] font-bold text-pink-600 transition-colors hover:bg-pink-100" > {getResidentName(day, 1)}
{/if} {#if slotCount == 2}
"handleCellClick(day, 2)"} class="w-full overflow-hidden rounded border border-emerald-200 bg-emerald-50 px-1.5 py-1 text-left text-[10px] font-bold text-emerald-600 transition-colors hover:bg-emerald-100" > {getResidentName(day, 2)}
{/if}
{/each}