/* Lê+ V19.19.29 — ajuste aditivo exclusivo da aba Meus Alunos no tablet */
@media (min-width:600px) and (max-width:1366px){
  #students .card{
    overflow:hidden!important;
    padding:14px!important;
    background:#f7f9fc!important;
    border:1px solid #e3eaf3!important;
  }
  #studentsTable{width:100%!important;max-width:100%!important;overflow:visible!important}
  #studentsTable table,#studentsTable thead,#studentsTable tbody,#studentsTable tr,#studentsTable td{
    box-sizing:border-box!important;
  }
  #studentsTable table,#studentsTable thead,#studentsTable tbody{width:100%!important}
  #studentsTable thead{display:none!important}
  #studentsTable tbody{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
    align-items:stretch!important;
  }
  #studentsTable tr{
    min-width:0!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:72px minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    gap:5px 14px!important;
    align-content:start!important;
    padding:16px!important;
    border:1px solid #dce6f1!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
    box-shadow:0 5px 16px rgba(28,64,105,.08)!important;
    overflow:hidden!important;
  }
  #studentsTable tr:hover{
    border-color:#b9cee6!important;
    box-shadow:0 8px 22px rgba(28,64,105,.12)!important;
  }
  #studentsTable td{
    display:flex!important;
    min-width:0!important;
    width:100%!important;
    border:0!important;
    padding:2px 0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  #studentsTable td:nth-child(1){
    grid-column:1!important;
    grid-row:1/8!important;
    align-items:flex-start!important;
    justify-content:center!important;
    padding-top:1px!important;
  }
  #studentsTable td:nth-child(2){
    grid-column:2!important;
    display:block!important;
    padding:0 0 8px!important;
    margin-bottom:3px!important;
    border-bottom:1px solid #edf2f7!important;
    font-size:18px!important;
    line-height:1.18!important;
    color:#173d68!important;
    text-transform:uppercase!important;
    letter-spacing:.015em!important;
  }
  #studentsTable td:nth-child(2) b{font-weight:850!important}
  #studentsTable td:nth-child(2) .small{margin-top:4px!important;font-size:11px!important;color:#7b8998!important;text-transform:none!important;letter-spacing:0!important}
  #studentsTable td:nth-child(n+3):nth-child(-n+8){
    grid-column:2!important;
    display:flex!important;
    align-items:baseline!important;
    justify-content:space-between!important;
    gap:12px!important;
    font-size:12px!important;
    line-height:1.3!important;
    color:#3f5267!important;
  }
  #studentsTable td:nth-child(n+3):nth-child(-n+8)::before{
    flex:0 0 auto!important;
    color:#8190a1!important;
    font-size:10px!important;
    font-weight:750!important;
    letter-spacing:.04em!important;
    text-transform:uppercase!important;
  }
  #studentsTable td:nth-child(3)::before{content:'Série'}
  #studentsTable td:nth-child(4)::before{content:'Turma'}
  #studentsTable td:nth-child(5)::before{content:'Sala'}
  #studentsTable td:nth-child(6)::before{content:'Professor'}
  #studentsTable td:nth-child(7)::before{content:'Escola'}
  #studentsTable td:nth-child(8)::before{content:'Avaliações'}
  #studentsTable td:nth-child(9){
    grid-column:1/3!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    margin-top:10px!important;
    padding-top:11px!important;
    border-top:1px solid #edf2f7!important;
  }
  #studentsTable td:nth-child(9) .btn{
    width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    padding:8px 7px!important;
    border-radius:10px!important;
    font-size:12px!important;
    justify-content:center!important;
  }
  #studentsTable .avatar,#studentsTable .avatar-fallback,
  #studentsTable td:first-child img{
    width:64px!important;
    height:64px!important;
    min-width:64px!important;
    border-radius:50%!important;
    object-fit:cover!important;
    box-shadow:0 3px 10px rgba(30,63,99,.15)!important;
  }
}

/* celular continua em uma coluna; tablet nunca cai para uma coluna */
@media (max-width:599px){
  #studentsTable tbody{grid-template-columns:1fr!important}
}
