.sodig-taxonomy {
    padding: 0px;
}

.sodig-taxonomy .sodig-term-toggle {
    margin-right: 5px;
}
#sodig-selected-terms-container{padding: 5px;}
#sodig-term-search {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
}
.sodig-checkmark {
    font-size: 16px;
    color: #28a745; /* 对号的颜色 */
    margin-right: 8px; /* 与文本之间的间距 */
}
#sodig-term-list {
    list-style: none;
    padding-left: 0;
}

#sodig-term-list li {
    margin-bottom: 5px;
}

#sodig-term-list ul {
    margin-left: 10px;
}


.sodig-term-slug {
    font-size: 0.8em;  /* 设置为较小的字体 */
    color: #888;  /* 设置较浅的颜色 */
}
.sodig-remove-term {
    background: transparent;
    border: none;
    color: #f00;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}
.sodig-term-name {
    cursor: pointer;
    color: #0073aa;  /* 设置默认字体颜色 */
    text-decoration: underline; /* 给分类名称加下划线，表示它是可点击的 */
}

.sodig-term-name:hover {
    color: #005177;  /* 悬停时改变字体颜色 */
    text-decoration: none; /* 悬停时去掉下划线 */
}
.sodig-remove-term:hover {
    color: #900;
}

/* 隐藏搜索结果列表，默认状态下不显示 */
#sodig-term-search-results {
    display: none;
    max-height: 300px; /* 限制最大高度 */
    overflow-y: auto; /* 超出部分可滚动 */
    background-color: #fff; /* 背景色 */
    border: 1px solid #ccc; /* 边框 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    border-radius: 4px; /* 圆角效果 */
    padding: 0;
    margin: 0;
}

/* 单个搜索结果项 */
.sodig-term-result {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* 平滑过渡效果 */
}

/* 悬停时改变背景色 */
.sodig-term-result:hover {
    background-color: #f1f1f1; /* 悬停时的背景色 */
}

/* 如果没有搜索到分类 */
.sodig-term-result.no-results {
    color: #888;
    text-align: center;
    padding: 10px;
}

/* 搜索框与下拉框之间的间距 */
#sodig-term-search-input {
    position: relative;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}
