.dropdown-list {
    position: relative;
    display: inline-block;
}

.dropdown-list-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    width: 98px;
    padding: 5px 0;
    margin: 2px 0 0;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    text-align: center;
}

.dropdown-list-item {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    text-decoration: none;
}

.dropdown-list-item:hover {
    background-color: rgba(0, 0, 0, 0.065);
}

.text-ellipsis {
    display: inline-block;
    vertical-align: middle; /* 与旁边的图标对齐 */
}

/* 默认显示类 */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

/* xs 尺寸 (<576px) */
@media (max-width: 575.98px) {
    .d-xs-none {
        display: none !important;
    }
    .d-xs-block {
        display: block !important;
    }
    .text-ellipsis {
        display: inline-block;
        max-width: 2em; /* 限制宽度为2个字符的宽度 */
        white-space: nowrap; /* 防止换行 */
        overflow: hidden; /* 隐藏超出部分 */
        text-overflow: ellipsis; /* 超出部分显示省略号 */
        vertical-align: middle; /* 与旁边的图标对齐 */
    }
}

/* 小屏幕及以上 (sm: ≥576px) */
@media (min-width: 576px) {
    .d-sm-none {
        display: none !important;
    }
    .d-sm-block {
        display: block !important;
    }
}

/* 中等屏幕及以上 (md: ≥768px) */
@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    .d-md-block {
        display: block !important;
    }
}

/* 大屏幕及以上 (lg: ≥992px) */
@media (min-width: 992px) {
    .d-lg-none {
        display: none !important;
    }
    .d-lg-block {
        display: block !important;
    }
}

/* 超大屏幕及以上 (xl: ≥1200px) */
@media (min-width: 1200px) {
    .d-xl-none {
        display: none !important;
    }
    .d-xl-block {
        display: block !important;
    }
}



.filter-panel {
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.filter-title {
    color: #495057;
    font-size: 14px;
    font-weight: 600;
    margin-right: 15px;
    min-width: 60px;
    display: inline-block;
}

.filter-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-option {
    margin-right: 10px;
    margin-bottom: 8px;
}

.btn-filter {
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.divider {
    height: 1px;
    background-color: rgba(120, 130, 140, 0.13);
    margin: 15px 0;
}

.theme-color{
    color: #000000;
}
.grey .theme-color,.grey .filter-option,.grey .filter-title{
    color: #ffffff;
}
.dark .theme-color,.dark .filter-option,.dark .filter-title{
    color: #ffffff;
}
.black .theme-color,.black .filter-option,.black .filter-title{
    color: #ffffff;
}