<turbo-stream action="update" target="remote_modal_sec"><template><turbo-frame id="remote_modal_sec">
  <div class="modal fade" id="material-extra-modal" tabindex="-1" data-controller="modal" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered modal-lg mx-auto">
      <div class="modal-content border-0 shadow-lg rounded-4 overflow-hidden">

        <div class="modal-header border-0 p-4 text-white" style="background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);">
          <div class="d-flex align-items-center w-100">
            <div class="bg-white bg-opacity-20 p-3 rounded-circle me-3 shadow-sm">
              <i class='bx bx-paperclip fs-2 text-warning'></i>
            </div>
            <div class="flex-grow-1">
              <h4 class="modal-title fw-bold mb-0 text-white">Materiales Extras</h4>
              <p class="small mb-0 text-white-50">
                4 archivos adjuntos
              </p>
            </div>
            <button type="button" class="btn-close btn-close-white ms-auto" data-bs-dismiss="modal" aria-label="Close"></button>
          </div>
        </div>

        <div class="modal-body p-3 p-md-4 bg-light bg-opacity-50">
            <div class="row g-3">
                <div class="col-12">
                  <div class="card border-0 shadow-sm rounded-4 hover-translate-y transition-all">
                    <div class="card-body p-3">
                      <div class="d-flex align-items-center w-100">

                        <div class="flex-shrink-0 bg-white shadow-sm p-2 rounded-4 me-3 d-flex align-items-center justify-content-center"
                             style="width: 60px; height: 60px; border: 1px solid #f0f0f0;">
                            <i class='bx bxs-file-pdf fs-1 text-danger'></i>
                        </div>

                        <div class="flex-grow-1 min-w-0">
                          <h6 class="text-dark fw-bold mb-1 lh-base text-wrap" style="word-break: break-word;">
                            2026_2C_TP_Resultados.pdf
                          </h6>
                          <div class="d-flex align-items-center">
                            <span class="badge bg-warning bg-opacity-10 text-warning-emphasis border border-warning border-opacity-25 rounded-pill px-2 py-1" style="font-size: 0.65rem; font-weight: 700; text-transform: uppercase;">
                              ADJUNTO • 70,5 KB
                            </span>
                          </div>
                        </div>

                        <div class="flex-shrink-0 ms-3 d-flex gap-2">

                          <a class="btn btn-primary rounded-circle d-flex align-items-center justify-content-center shadow-sm" style="width: 42px; height: 42px;" title="Descargar" href="/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6NjEzLCJwdXIiOiJibG9iX2lkIn19--d141a2038abc738bbae584d1cd9155fdc4347c31/2026_2C_TP_Resultados.pdf?disposition=attachment">
                            <i class='bx bx-download fs-4'></i>
</a>                        </div>

                      </div>
                    </div>
                  </div>
                </div>
                <div class="col-12">
                  <div class="card border-0 shadow-sm rounded-4 hover-translate-y transition-all">
                    <div class="card-body p-3">
                      <div class="d-flex align-items-center w-100">

                        <div class="flex-shrink-0 bg-white shadow-sm p-2 rounded-4 me-3 d-flex align-items-center justify-content-center"
                             style="width: 60px; height: 60px; border: 1px solid #f0f0f0;">
                            <i class='bx bxs-file fs-1 text-secondary'></i>
                        </div>

                        <div class="flex-grow-1 min-w-0">
                          <h6 class="text-dark fw-bold mb-1 lh-base text-wrap" style="word-break: break-word;">
                            PresupuestosParcialesPractico-Administración.xlsx
                          </h6>
                          <div class="d-flex align-items-center">
                            <span class="badge bg-warning bg-opacity-10 text-warning-emphasis border border-warning border-opacity-25 rounded-pill px-2 py-1" style="font-size: 0.65rem; font-weight: 700; text-transform: uppercase;">
                              ADJUNTO • 63,7 KB
                            </span>
                          </div>
                        </div>

                        <div class="flex-shrink-0 ms-3 d-flex gap-2">

                          <a class="btn btn-primary rounded-circle d-flex align-items-center justify-content-center shadow-sm" style="width: 42px; height: 42px;" title="Descargar" href="/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6NjE1LCJwdXIiOiJibG9iX2lkIn19--f41b6474b194b195a335db6792102b9c1fff226c/PresupuestosParcialesPractico-Administraci%C3%B3n.xlsx?disposition=attachment">
                            <i class='bx bx-download fs-4'></i>
</a>                        </div>

                      </div>
                    </div>
                  </div>
                </div>
                <div class="col-12">
                  <div class="card border-0 shadow-sm rounded-4 hover-translate-y transition-all">
                    <div class="card-body p-3">
                      <div class="d-flex align-items-center w-100">

                        <div class="flex-shrink-0 bg-white shadow-sm p-2 rounded-4 me-3 d-flex align-items-center justify-content-center"
                             style="width: 60px; height: 60px; border: 1px solid #f0f0f0;">
                            <i class='bx bxs-file-pdf fs-1 text-danger'></i>
                        </div>

                        <div class="flex-grow-1 min-w-0">
                          <h6 class="text-dark fw-bold mb-1 lh-base text-wrap" style="word-break: break-word;">
                            Presupuestos Parciales - Veterinaria - 2025.pdf
                          </h6>
                          <div class="d-flex align-items-center">
                            <span class="badge bg-warning bg-opacity-10 text-warning-emphasis border border-warning border-opacity-25 rounded-pill px-2 py-1" style="font-size: 0.65rem; font-weight: 700; text-transform: uppercase;">
                              ADJUNTO • 32,4 MB
                            </span>
                          </div>
                        </div>

                        <div class="flex-shrink-0 ms-3 d-flex gap-2">

                          <a class="btn btn-primary rounded-circle d-flex align-items-center justify-content-center shadow-sm" style="width: 42px; height: 42px;" title="Descargar" href="/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6NjE2LCJwdXIiOiJibG9iX2lkIn19--c8651fec258866f86e8a991d45a6a3859bc60c1b/Presupuestos%20Parciales%20-%20Veterinaria%20-%202025.pdf?disposition=attachment">
                            <i class='bx bx-download fs-4'></i>
</a>                        </div>

                      </div>
                    </div>
                  </div>
                </div>
                <div class="col-12">
                  <div class="card border-0 shadow-sm rounded-4 hover-translate-y transition-all">
                    <div class="card-body p-3">
                      <div class="d-flex align-items-center w-100">

                        <div class="flex-shrink-0 bg-white shadow-sm p-2 rounded-4 me-3 d-flex align-items-center justify-content-center"
                             style="width: 60px; height: 60px; border: 1px solid #f0f0f0;">
                            <i class='bx bxs-file-pdf fs-1 text-danger'></i>
                        </div>

                        <div class="flex-grow-1 min-w-0">
                          <h6 class="text-dark fw-bold mb-1 lh-base text-wrap" style="word-break: break-word;">
                            2026_2C_TP_Resultados_informe_errores_modelo_guerra.pdf
                          </h6>
                          <div class="d-flex align-items-center">
                            <span class="badge bg-warning bg-opacity-10 text-warning-emphasis border border-warning border-opacity-25 rounded-pill px-2 py-1" style="font-size: 0.65rem; font-weight: 700; text-transform: uppercase;">
                              ADJUNTO • 112 KB
                            </span>
                          </div>
                        </div>

                        <div class="flex-shrink-0 ms-3 d-flex gap-2">

                          <a class="btn btn-primary rounded-circle d-flex align-items-center justify-content-center shadow-sm" style="width: 42px; height: 42px;" title="Descargar" href="/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6NjE0LCJwdXIiOiJibG9iX2lkIn19--da6290f40abbc6928f72d589cf5c086c5f6c35ac/2026_2C_TP_Resultados_informe_errores_modelo_guerra.pdf?disposition=attachment">
                            <i class='bx bx-download fs-4'></i>
</a>                        </div>

                      </div>
                    </div>
                  </div>
                </div>
            </div>
        </div>

        <div class="modal-footer border-0 p-3 bg-white text-center d-block">
          <button type="button" class="btn btn-light rounded-pill px-5 fw-bold border" data-bs-dismiss="modal">Cerrar</button>
        </div>
      </div>
    </div>
  </div>

  <style>
    #remote_modal_sec { display: block; width: 100%; }
    .text-wrap { white-space: normal !important; overflow: visible !important; }
    .hover-translate-y:hover { transform: translateY(-3px); }
    .transition-all { transition: all 0.2s ease-in-out; }
  </style>
</turbo-frame></template></turbo-stream>