/* Listado de alumnos compacto y adaptable a ventanas estrechas. */
html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-card .table-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overscroll-behavior-inline: contain;
}

html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table {
  width: 100% !important;
  min-width: 1080px !important;
  max-width: none !important;
  table-layout: fixed !important;
}

html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td) {
  min-width: 0 !important;
  padding: 6px 7px !important;
  font-size: .74rem !important;
  line-height: 1.2 !important;
}

html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table th {
  font-size: .66rem !important;
  letter-spacing: 0 !important;
}

html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(1) { width: 48px !important; min-width: 48px !important; max-width: 48px !important; }
html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(2) { width: 210px !important; min-width: 210px !important; max-width: 210px !important; }
html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(3) { width: 115px !important; min-width: 115px !important; max-width: 115px !important; }
html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(4) { width: 105px !important; min-width: 105px !important; max-width: 105px !important; }
html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(5) { width: 125px !important; min-width: 125px !important; max-width: 125px !important; }
html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(6) { width: 110px !important; min-width: 110px !important; max-width: 110px !important; }
html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(7) { width: 147px !important; min-width: 147px !important; max-width: 147px !important; }
html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(8) { width: 220px !important; min-width: 220px !important; max-width: 220px !important; }

html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table td.actions-cell {
  padding-inline: 5px !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .student-icon-actions {
  display: flex !important;
  width: 100% !important;
  gap: 4px !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
}

html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .student-icon-actions button {
  flex: 0 0 30px !important;
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 7px !important;
  font-size: .65rem !important;
}

html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .student-icon-actions button:is([aria-label="Retirar alumno"], [aria-label="Reactivar alumno"]) {
  flex-basis: 92px !important;
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  gap: 3px !important;
  padding: 0 5px !important;
}

html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .student-icon-actions button:is([aria-label="Retirar alumno"], [aria-label="Reactivar alumno"])::after {
  font: 700 10px/1.05 Arial, sans-serif !important;
  white-space: nowrap !important;
}

html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(.pill, .student-status-tag, .student-order-only) {
  font-size: .67rem !important;
  line-height: 1.15 !important;
}

@media (max-width: 1180px) {
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table {
    min-width: 733px !important;
  }

  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(2) { width: 195px !important; min-width: 195px !important; max-width: 195px !important; }
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(3) { width: 112px !important; min-width: 112px !important; max-width: 112px !important; }
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(4) { width: 100px !important; min-width: 100px !important; max-width: 100px !important; }
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(5) { display: none !important; }
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(6) { width: 110px !important; min-width: 110px !important; max-width: 110px !important; }
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(7) { display: none !important; }
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(8) { width: 168px !important; min-width: 168px !important; max-width: 168px !important; }

  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .student-icon-actions button:is([aria-label="Retirar alumno"], [aria-label="Reactivar alumno"]) {
    flex-basis: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    padding: 0 !important;
  }

  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .student-icon-actions button:is([aria-label="Retirar alumno"], [aria-label="Reactivar alumno"])::after {
    display: none !important;
    content: none !important;
  }
}

@media (max-width: 820px) {
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table {
    min-width: 650px !important;
  }

  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td) {
    padding: 5px !important;
    font-size: .69rem !important;
  }

  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(1) { width: 42px !important; min-width: 42px !important; max-width: 42px !important; }
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(2) { width: 175px !important; min-width: 175px !important; max-width: 175px !important; }
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(3),
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(7) { display: none !important; }
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(4) { width: 95px !important; min-width: 95px !important; max-width: 95px !important; }
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(6) { width: 90px !important; min-width: 90px !important; max-width: 90px !important; }
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .students-table :is(th, td):nth-child(8) { width: 156px !important; min-width: 156px !important; max-width: 156px !important; }

  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .student-icon-actions {
    gap: 3px !important;
  }

  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .student-icon-actions button,
  html body.is-authenticated:not(.report-print-body) #appMain #module-estudiantes .student-icon-actions button:is([aria-label="Retirar alumno"], [aria-label="Reactivar alumno"]) {
    flex-basis: 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
  }
}
