/* ===== Generic table polish for Entity Lists ===== */
.alf-grid table.ms-DetailsList { border-spacing: 0; }
.alf-grid .ms-DetailsHeader { position: sticky; top: 0; z-index: 2; }
.alf-grid .ms-DetailsHeader-cell {
  font-weight: 600; border-bottom: 1px solid #e9edf3; background:#f7f9fc;
}
.alf-grid .ms-DetailsRow { border-bottom: 1px solid #f0f2f5; }
.alf-grid .ms-DetailsRow:hover { background:#f9fbff; }
.alf-grid .ms-DetailsRow-cell { padding: 10px 12px; vertical-align: top; }

.alf-grid .ms-DetailsRow-cell > span,
.alf-grid .ms-DetailsRow-cell > div { 
  display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; 
}

/* Column widths (adjust to taste) */
.alf-grid [role="columnheader"]:nth-child(1),
.alf-grid [role="row"] [role="gridcell"]:nth-child(1){ width:140px; }  /* Evidence Status */
.alf-grid [role="columnheader"]:nth-child(2),
.alf-grid [role="row"] [role="gridcell"]:nth-child(2){ width:160px; }  /* Submitted By */
.alf-grid [role="columnheader"]:nth-child(3),
.alf-grid [role="row"] [role="gridcell"]:nth-child(3){ width:150px; }  /* Created On */
.alf-grid [role="columnheader"]:nth-child(4),
.alf-grid [role="row"] [role="gridcell"]:nth-child(4){ width:270px; }  /* CSP Control */
.alf-grid [role="columnheader"]:nth-child(5),
.alf-grid [role="row"] [role="gridcell"]:nth-child(5){ width:320px; }  /* SWIFT Desc */
.alf-grid [role="columnheader"]:nth-child(6),
.alf-grid [role="row"] [role="gridcell"]:nth-child(6){ width:320px; }  /* User Desc */

/* A tiny tag for status “Submitted” */
.alf-grid .ms-DetailsRow-cell:has(> span:contains("Submitted")) span {
  display:inline-block; padding:2px 8px; border-radius:999px;
  background:#eef7ff; color:#145da0; font-weight:600;
}
