<turbo-stream action="replace" target="compound-interest-result"><template><div id="compound-interest-result" class="space-y-6">
  <section class="surface p-6 text-center">
    <p class="stat-label">Valor final</p>
    <p class="mt-2 text-4xl font-semibold tabular-nums tracking-tight text-slate-900 dark:text-slate-50">R$ 0,00</p>
  </section>

  <section class="surface overflow-hidden">
    <header class="flex items-center justify-between border-b border-slate-200 px-5 py-4 dark:border-slate-700/40">
      <h2 class="text-base font-semibold text-slate-900 dark:text-slate-50">Evolução mês a mês</h2>
      <a class="inline-flex items-center gap-1 text-xs font-medium text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200" data-turbo-prefetch="false" href="/compound_interest/calculate?sort=desc">
        <i class="fa-solid fa-arrow-up"></i>
        Ordenar
</a>    </header>
    <div class="overflow-x-auto">
      <table class="w-full text-sm">
        <thead class="border-b border-slate-200 bg-slate-50 text-xs font-medium uppercase tracking-wider text-slate-500 dark:border-slate-700/40 dark:bg-slate-950/40 dark:text-slate-400">
          <tr>
            <th class="px-4 py-3 text-left">Mês</th>
            <th class="px-4 py-3 text-right">Juros do Mês</th>
            <th class="px-4 py-3 text-right">Total Investido</th>
            <th class="px-4 py-3 text-right">Juros acumulados</th>
            <th class="px-4 py-3 text-right">Total acumulado</th>
          </tr>
        </thead>
        <tbody class="divide-y divide-slate-100 dark:divide-slate-700/40">
            <tr class="transition-colors hover:bg-slate-50 dark:hover:bg-slate-800/40">
              <td class="px-4 py-2.5 text-slate-700 dark:text-slate-300">Início</td>
              <td class="px-4 py-2.5 text-right tabular-nums text-income-600 dark:text-income-400">R$ 0,00</td>
              <td class="px-4 py-2.5 text-right tabular-nums text-slate-600 dark:text-slate-300">R$ 0,00</td>
              <td class="px-4 py-2.5 text-right tabular-nums text-slate-600 dark:text-slate-300">R$ 0,00</td>
              <td class="px-4 py-2.5 text-right font-medium tabular-nums text-slate-900 dark:text-slate-50">R$ 0,00</td>
            </tr>
        </tbody>
      </table>
    </div>
  </section>
</div>
</template></turbo-stream>