/* =====================================
   JR — Memory table column widths
   v1.0.0
   Targets: .memory-entry table
   ===================================== */

.memory-entry table{
  table-layout: fixed !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Ensure cells truncate nicely when narrow */
.memory-entry th,
.memory-entry td{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Let form fields fill the available column width */
.memory-entry td input,
.memory-entry td select{
  width: 100%;
  box-sizing: border-box;
}

/* Column widths (8 columns total)
   1) #, 2) First Name, 3) Surname, 4) Nickname,
   5) Confidence, 6) AI Search, 7) Invite, 8) Actions
*/

/* # */
.memory-entry th:nth-child(1),
.memory-entry td:nth-child(1){
  width: 40px !important;
}

/* First Name */
.memory-entry th:nth-child(2),
.memory-entry td:nth-child(2){
  width: 18% !important;
}

/* Surname */
.memory-entry th:nth-child(3),
.memory-entry td:nth-child(3){
  width: 18% !important;
}

/* Nickname */
.memory-entry th:nth-child(4),
.memory-entry td:nth-child(4){
  width: 115px !important;
}

/* Confidence */
.memory-entry th:nth-child(5),
.memory-entry td:nth-child(5){
  width: 145px !important;
}

/* AI Search */
.memory-entry th:nth-child(6),
.memory-entry td:nth-child(6){
  width: 85px !important;
}

/* Invite */
.memory-entry th:nth-child(7),
.memory-entry td:nth-child(7){
  width: 100px !important;
}

/* Actions */
.memory-entry th:nth-child(8),
.memory-entry td:nth-child(8){
  width: 86px !important;
}
