/* Student List only - screenshot matched */
.student-list-view{margin-top:4px}.student-list-toolbar{background:#fff;border-radius:14px;padding:22px 20px 20px;display:grid;grid-template-columns:minmax(360px,1fr) 265px auto;gap:16px;align-items:end;box-shadow:0 6px 22px #26396508;margin-bottom:16px}.student-list-toolbar .sl-field{display:flex;flex-direction:column;gap:8px}.student-list-toolbar label{font-size:13px;font-weight:800;color:#24304a}.student-list-toolbar input,.student-list-toolbar select{height:44px;border:1px solid #cfd6e2;border-radius:8px;background:#fff;padding:0 14px;font-size:14px;color:#1f2937;outline:none}.student-list-toolbar input:focus,.student-list-toolbar select:focus{border-color:#4b83f5;box-shadow:0 0 0 3px #4b83f51a}.student-total{height:36px;align-self:end;background:#1769f5;color:#fff;border-radius:8px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;white-space:nowrap}.student-list-table-wrap{overflow:auto;background:#f3f6fb}.student-list-table{width:100%;min-width:1450px;border-collapse:collapse;table-layout:auto}.student-list-table th{background:#20252c!important;color:#fff!important;text-align:left;padding:11px 9px!important;font-size:12px!important;font-weight:800;line-height:1.2;border-right:1px solid #3a4048}.student-list-table td{padding:10px 9px!important;font-size:13px!important;color:#1f2937!important;background:#f3f6fb!important;border-right:1px solid #d8dee8;border-bottom:1px solid #d8dee8;vertical-align:middle;line-height:1.45}.student-list-table tbody tr:nth-child(even) td{background:#eef2f7!important}.student-list-table .sl-no{width:38px;text-align:center}.student-list-table .sl-date{min-width:95px;white-space:pre-line}.student-list-table .sl-name{min-width:135px}.student-list-table .sl-course{min-width:180px}.student-list-table .sl-duration{min-width:85px}.student-list-table .sl-session{min-width:95px}.student-list-table .sl-picture{width:70px;text-align:center}.student-list-table .sl-actions{min-width:85px}.sl-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:4px;padding:6px 9px;font-size:12px;font-weight:800;line-height:1.1;white-space:nowrap}.sl-green{background:#178c59;color:#fff}.sl-yellow{background:#ffbf08;color:#111}.sl-red{background:#e7354c;color:#fff}.sl-dark{background:#222a33;color:#fff}.sl-action{display:block;width:63px;border:0;border-radius:4px;padding:7px 6px;margin:0 0 5px;font-size:12px;font-weight:800;cursor:pointer}.sl-action.edit{background:#ffbf08;color:#111}.sl-action.delete{background:#df3047;color:#fff}.sl-photo{width:48px;height:48px;object-fit:cover;border-radius:7px;border:1px solid #d5dbe5;background:#fff;display:block;margin:auto}.student-list-pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:14px 0}.student-list-pagination button{border:1px solid #d6dce6;background:#fff;border-radius:6px;padding:7px 11px;font-size:12px;cursor:pointer}.student-list-pagination button.active{background:#1769f5;color:#fff;border-color:#1769f5}.student-list-pagination button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:800px){.student-list-toolbar{grid-template-columns:1fr;padding:16px}.student-total{justify-self:start}.student-list-table{min-width:1450px}}

/* Row-level public certificate permission control */
.student-list-table .public-doc-permission{width:auto;min-width:94px;max-width:116px;padding:8px 9px;border-radius:7px;line-height:1.35;white-space:normal;font-size:10px;box-shadow:0 2px 6px #172b4d12;transition:transform .15s ease,box-shadow .15s ease}
.student-list-table .public-doc-permission:hover{transform:translateY(-1px);box-shadow:0 4px 10px #172b4d20}
.student-list-table .public-doc-permission.edit{background:#dcfce7;color:#166534;border:1px solid #86efac}
.student-list-table .public-doc-permission.delete{background:#fff7ed;color:#9a3412;border:1px solid #fdba74}

/* Approved students: show the Approval button in green only. */
.student-list-table td:nth-child(3) .sl-action.edit,.student-list-table td:nth-child(4) .sl-action.edit{background:#16a34a!important;color:#fff!important;border:1px solid #15803d!important}
.student-list-table td:nth-child(3) .sl-action.edit:hover,.student-list-table td:nth-child(4) .sl-action.edit:hover{background:#15803d!important}


/* Floating horizontal scrollbar for Student List: stays at the viewport bottom. */
#ptti-floating-xscroll{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  height:18px;
  overflow-x:auto;
  overflow-y:hidden;
  z-index:9999;
  background:#e5e7eb;
  border-top:1px solid #cbd5e1;
  box-shadow:0 -2px 8px rgba(15,23,42,.12);
  display:none;
  scrollbar-width:auto;
}
#ptti-floating-xscroll .ptti-floating-xscroll-spacer{
  height:1px;
  pointer-events:none;
}
#ptti-floating-xscroll::-webkit-scrollbar{height:16px}
#ptti-floating-xscroll::-webkit-scrollbar-track{background:#e5e7eb}
#ptti-floating-xscroll::-webkit-scrollbar-thumb{background:#64748b;border:2px solid #e5e7eb;border-radius:8px}


/* Student List: all text 16px + bold */
.student-list-view,.student-list-view *,.student-list-table th,.student-list-table td,.student-list-toolbar label,.student-list-toolbar input,.student-list-toolbar select,.student-total,.sl-pill,.sl-action,.student-list-table .public-doc-permission,.student-list-pagination button{font-size:16px!important;font-weight:700!important}
