/* vis/css/tool-style.css */

/* 让原本的文字变成可点击的“按钮”，但外观像文字 */
.tm-item {
    cursor: pointer;
    padding: 0px 0px 0px 5px;
    border-radius: 5px;
    transition: all 0.2s;
    display: inline-block; /* 保持行内排列 */
    margin-right: 5px;
    margin-bottom: 5px;
    border-bottom: 1px dashed transparent; /* 增加一点可交互暗示 */
	height: 30px;
}

/* 鼠标悬停 */
.tm-item:hover {
    background-color: #f0f0f0;
    color: #333;
    border-bottom-color: #999;
}

/* 选中状态：变红 */
.tm-item.selected {
    color: #fff !important;
    background-color: #f95 !important; /* Bootstrap Danger Red */
    border-color: #f95;
    text-decoration: none;
}

/* 侧边栏计数器样式 */
#item-counter {
    font-weight: bold;
    margin-left: 5px;
}
.status-valid { color: #5cb85c; } /* 绿色 */
.status-error { color: #e00; } /* 红色 */

/* === 按钮样式 === */
/* 复制按钮 */
#copy-btn-action {
	1float: right;
	font-size: 12px;
	1margin-top: -2px;
	cursor: pointer;
	margin-left: 5px; /* 按钮之间的间距 */
	border-radius: 5px
}

/* 清空按钮 */
#clear-btn-action {
    float: right;
    font-size: 12px;
    margin-top: -2px;
    cursor: pointer;
    color: #666;
    background-color: #fff;
    border: 1px solid #ccc;
}
#clear-btn-action:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
}