.xbsw-list {
display: grid;
grid-template-columns: repeat(5, 1fr); /* 每行5列 */
gap: 5px; /* 元素间距 */
max-height: 540px; 
overflow-y: auto;
}
.xbsw-list3 {
display: grid;
grid-template-columns: repeat(3, 1fr); /* 每行5列 */
gap: 5px; /* 元素间距 */
max-height: 600px; 
overflow-y: auto;
} 
.xbsw-list10600 {
display: grid;
grid-template-columns: repeat(10, 1fr); /* 每行10列 */
gap: 5px; /* 元素间距 */
max-height: 600px; 
overflow-y: auto;
} 
.xbsw-list10 {
display: grid;
grid-template-columns: repeat(10, 1fr); /* 每行5列 */
gap: 5px; /* 元素间距 */
max-height: 300px; 
overflow-y: auto;
}         
.xbsw-list li,.xbsw-list3  li,.xbsw-list10 li,.xbsw-list10600 li {
padding: 8px;
border: 1px solid #ddd;
cursor: pointer;
}

.input-wrapper {
position: relative;
display: inline-block;
}

.dropdown-list {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
background: #fff;
border: 1px solid #ddd;
border-radius: 4px;
max-height: 200px;
overflow-y: auto;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
display: none;
width: 200px; /* 与输入框宽度一致 */
}

.dropdown-item {
padding: 4px 6px;
cursor: pointer;
}

.dropdown-item:hover {
background: #f5f5f5;
}

table th {
    white-space: nowrap;
}
table td {
    white-space: nowrap;
}
table td input  {
    width: 100%;
}