/* 批量修改分类模态框样式 */
.category-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-top: 10px;
    background-color: #fff;
}

.category-item {
    margin-bottom: 8px;
}

.category-option {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.2s;
    border: 1px solid transparent;
}

.category-option:hover {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}

.category-option input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.category-option span {
    font-size: 14px;
    color: #333;
}

.selected-scripts-info {
    background-color: #e3f2fd;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
    color: #1976d2;
    font-weight: 500;
}

#batch-category-search {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
    box-sizing: border-box;
}

#batch-category-search:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.category-selection label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

/* 批量修改分类按钮样式调整 */
#batch-category-btn {
    margin-right: 10px;
}

#batch-category-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 空状态提示 */
.category-list-empty {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* 滚动条样式 */
.category-list::-webkit-scrollbar {
    width: 6px;
}

.category-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.category-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.category-list::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

