/* v1.02 — Asistencias: contenedores amplios y tablas homologadas por evento y por día. */

.admin-content:has(.attendance-overview-intro-v101) {
  width: min(calc(100% - 32px), 1580px);
}

.attendance-list-section-v101 {
  width: 100%;
  min-width: 0;
}

.attendance-table-wrap-v101 {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

#por-evento .attendance-table-wrap-v101 table,
#por-dia .attendance-table-wrap-v101 table {
  width: 100%;
  min-width: 1100px;
  table-layout: fixed;
}

#por-evento .attendance-table-wrap-v101 th:nth-child(1),
#por-evento .attendance-table-wrap-v101 td:nth-child(1) { width: 25%; }
#por-evento .attendance-table-wrap-v101 th:nth-child(2),
#por-evento .attendance-table-wrap-v101 td:nth-child(2) { width: 14%; }
#por-evento .attendance-table-wrap-v101 th:nth-child(3),
#por-evento .attendance-table-wrap-v101 td:nth-child(3) { width: 16%; }
#por-evento .attendance-table-wrap-v101 th:nth-child(4),
#por-evento .attendance-table-wrap-v101 td:nth-child(4) { width: 8%; }
#por-evento .attendance-table-wrap-v101 th:nth-child(5),
#por-evento .attendance-table-wrap-v101 td:nth-child(5) { width: 10%; }
#por-evento .attendance-table-wrap-v101 th:nth-child(6),
#por-evento .attendance-table-wrap-v101 td:nth-child(6) { width: 10%; }
#por-evento .attendance-table-wrap-v101 th:nth-child(7),
#por-evento .attendance-table-wrap-v101 td:nth-child(7) { width: 17%; }

#por-dia .attendance-table-wrap-v101 th:nth-child(1),
#por-dia .attendance-table-wrap-v101 td:nth-child(1) { width: 14%; }
#por-dia .attendance-table-wrap-v101 th:nth-child(2),
#por-dia .attendance-table-wrap-v101 td:nth-child(2) { width: 30%; }
#por-dia .attendance-table-wrap-v101 th:nth-child(3),
#por-dia .attendance-table-wrap-v101 td:nth-child(3) { width: 18%; }
#por-dia .attendance-table-wrap-v101 th:nth-child(4),
#por-dia .attendance-table-wrap-v101 td:nth-child(4) { width: 10%; }
#por-dia .attendance-table-wrap-v101 th:nth-child(5),
#por-dia .attendance-table-wrap-v101 td:nth-child(5) { width: 10%; }
#por-dia .attendance-table-wrap-v101 th:nth-child(6),
#por-dia .attendance-table-wrap-v101 td:nth-child(6) { width: 18%; }

#por-evento .attendance-table-wrap-v101 th,
#por-evento .attendance-table-wrap-v101 td,
#por-dia .attendance-table-wrap-v101 th,
#por-dia .attendance-table-wrap-v101 td {
  overflow-wrap: anywhere;
}

#por-evento .attendance-row-actions-v101,
#por-dia .attendance-row-actions-v101 {
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .admin-content:has(.attendance-overview-intro-v101) {
    width: min(calc(100% - 24px), 1580px);
  }

  #por-evento .attendance-table-wrap-v101 table,
  #por-dia .attendance-table-wrap-v101 table {
    min-width: 1040px;
  }
}
