#samples_table {
  width: auto;
  table-layout: auto;
  border-collapse: collapse;
  background-color: #fff;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#samples_table th,
#samples_table td {
  padding: 2px 5px;
  text-align: center;
  border: 1px solid #e0e0e0;
  white-space: nowrap;
}

#samples_table thead {
  background-color: #f9f9f9;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 2;
}

#samples_table th:first-child,
#samples_table td:first-child {
  position: sticky;
  left: 0;
  background-color: #f0f0f0;
  z-index: 1;
}

#samples_table thead th:first-child {
  z-index: 3;
}

#samples_table tbody tr:hover {
  background-color: #f1f7ff;
}

#samples_table th {
  cursor: pointer;
  user-select: none;
}

#samples_table .checkbox-cell {
  cursor: pointer;
}

#samples_table .checkbox-cell label {
  display: block;
  width: 100%;
  height: 100%;
}

#samples_table .checkbox-cell input[type='checkbox'] {
  cursor: pointer;
}
