/* Rüya Anaokulu V2.2.5 FINAL — Yönetici / Öğretmenler mobil oturma düzeltmesi
   Desktop görünümüne dokunmaz. Yalnız admin mobil breakpoint altında çalışır. */
@media (max-width:900px){
  .role-admin.v225ReferenceShell .adminDirectoryCard{
    width:100%!important;max-width:100%!important;box-sizing:border-box!important;
    padding:14px 12px!important;overflow:hidden!important;
  }
  .role-admin.v225ReferenceShell .adminDirectoryCard .sectionHead{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;gap:10px!important;margin-bottom:10px!important;
  }
  .role-admin.v225ReferenceShell .adminDirectoryCard .sectionHead h3{
    min-width:0!important;margin:0!important;font-size:20px!important;line-height:1.15!important;
    white-space:normal!important;
  }
  .role-admin.v225ReferenceShell .adminDirectoryCard .sectionHead>.btn{
    width:auto!important;min-width:0!important;max-width:142px!important;
    padding:10px 12px!important;border-radius:14px!important;font-size:12px!important;line-height:1.15!important;
    white-space:nowrap!important;
  }
  .role-admin.v225ReferenceShell .adminDirectoryCard .search{
    width:100%!important;max-width:100%!important;box-sizing:border-box!important;
    margin:4px 0 10px!important;padding:12px 13px!important;font-size:15px!important;border-radius:15px!important;
  }

  /* Önceki generic responsive-table kurallarındaki yatay scroll/nowrap etkisini burada iptal ediyoruz. */
  .role-admin.v225ReferenceShell table.teacherAdminTable,
  .role-admin.v225ReferenceShell .teacherAdminTable,
  .role-admin.v225ReferenceShell .teacherAdminTable tbody{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    overflow:visible!important;white-space:normal!important;border-spacing:0!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable tr{
    display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;
    grid-auto-flow:row!important;width:100%!important;max-width:100%!important;min-width:0!important;
    box-sizing:border-box!important;margin:0 0 10px!important;padding:12px!important;
    border:1px solid #e6eaf2!important;border-radius:18px!important;background:#fff!important;
    box-shadow:0 6px 18px rgba(25,43,82,.04)!important;overflow:hidden!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable td{
    display:block!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
    padding:4px 5px!important;border:0!important;white-space:normal!important;word-break:normal!important;
    overflow-wrap:anywhere!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable td:first-child{
    grid-column:1!important;grid-row:1/4!important;padding:5px 7px 0 0!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable td:first-child .avatar{
    width:54px!important;height:54px!important;min-width:54px!important;border-radius:16px!important;
    object-fit:cover!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(2){
    grid-column:2!important;grid-row:1!important;padding-top:3px!important;font-size:14px!important;line-height:1.3!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(2)>b{
    display:block!important;margin-bottom:3px!important;font-size:16px!important;line-height:1.2!important;color:#25324b!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(2) .muted{
    display:block!important;font-size:11px!important;line-height:1.35!important;color:#727c92!important;
    white-space:normal!important;overflow-wrap:anywhere!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable .ruya-r782-teacherClassBadge{
    display:flex!important;width:max-content!important;max-width:100%!important;box-sizing:border-box!important;
    margin:6px 0 0!important;padding:5px 8px!important;font-size:10px!important;line-height:1.2!important;
    white-space:normal!important;overflow-wrap:anywhere!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(3){
    grid-column:2!important;grid-row:2!important;margin-top:3px!important;padding-top:7px!important;
    border-top:1px solid #eef1f6!important;font-size:12px!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(4){
    grid-column:2!important;grid-row:3!important;padding-top:6px!important;font-size:12px!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(3)::before,
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(4)::before{
    display:block!important;margin:0 0 2px!important;color:#7b8499!important;font-size:8px!important;
    font-weight:900!important;letter-spacing:.05em!important;text-transform:uppercase!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(5){
    grid-column:1/-1!important;grid-row:4!important;min-width:0!important;width:100%!important;
    margin:8px 0 0!important;padding:10px 0 0!important;border-top:1px solid #edf0f6!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(5) .actions{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;width:100%!important;min-width:0!important;max-width:100%!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(5) .actions .btn{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
    min-height:40px!important;padding:8px 5px!important;border-radius:12px!important;
    font-size:11px!important;line-height:1.1!important;white-space:normal!important;overflow:hidden!important;
  }
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(5) .actions .btn.danger,
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(5) .actions .btn.btn-danger{
    min-width:0!important;
  }
}

@media (max-width:370px){
  .role-admin.v225ReferenceShell .adminDirectoryCard .sectionHead>.btn{max-width:126px!important;padding:9px 9px!important;font-size:11px!important}
  .role-admin.v225ReferenceShell .teacherAdminTable tr{grid-template-columns:56px minmax(0,1fr)!important;padding:10px!important}
  .role-admin.v225ReferenceShell .teacherAdminTable td:first-child .avatar{width:48px!important;height:48px!important;min-width:48px!important}
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(5) .actions{gap:5px!important}
  .role-admin.v225ReferenceShell .teacherAdminTable td:nth-child(5) .actions .btn{font-size:10px!important;padding:8px 3px!important}
}
