/* selection-toolbar.css */
.selection-toolbar {
    position: absolute;
    background: white;
    border: 1px solid rgba(204, 204, 204, 0.6); /* 边框透明度20% */
    border-radius: 4px;
    padding: 8px 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 2px 5px rgba(0,0,0,0.1); /* 增加阴影效果 */
    z-index: 9999;
    display: none;
    font-size: 12px;
    line-height: 1.4;
    color: #333;
    white-space: nowrap;
}


.word-count {
    display: inline-block;
    text-align: center;
    margin-right: 16px;
    vertical-align: middle;
    width: 50px;
}

.word-count .num {
    font-size: 16px;
    font-weight: bold;
    color: #d62728;
    display: block;
    margin-bottom: 2px;
    height: 18px; /* 固定高度，与图标对齐 */
    line-height: 18px;
}

.word-count .label {
    font-size: 10px;
    color: #666;
    display: block;
    height: 12px; /* 固定高度，与文字对齐 */
    line-height: 12px;
}

.separator {
    display: inline-block;
    width: 1px;
    height: 30px; /* 增加高度 */
    background-color: #ccc;
    vertical-align: middle;
    margin-top: -3px;
    margin-left: -10px;
    margin-right: 10px;
}

.tool-item {
    display: inline-block;
    cursor: pointer;
    padding: 0 2px; /* 左右内边距 */
    transition: color 0.2s ease;
    vertical-align: middle;
    text-align: center;
    min-width: 45px; /* 最小宽度 */
}

.tool-item:hover {
    color: #0066cc;
}

.tool-item .icon {
    font-size: 18px;
    margin-bottom: 2px;
    display: block;
    height: 18px; /* 固定高度，与数字对齐 */
    line-height: 18px;
}

.tool-item .icon img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.tool-item .text {
    font-size: 10px;
    display: block;
    height: 12px; /* 固定高度，与"字数"文字对齐 */
    line-height: 12px;
}
