/* 当前筛选条件展示组件样式 */
.current-filters {
    margin-bottom: 16px;
    padding: 12px 0;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.current-filters-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex: 1;
}

.current-filter-tag {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 16px;
    padding: 4px 8px;
    font-size: 13px;
    line-height: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.current-filter-tag .filter-type {
    color: #666;
    font-weight: 500;
    margin-right: 4px;
}

.current-filter-tag .filter-value {
    color: #333;
    font-weight: 400;
    margin-right: 6px;
}

.current-filter-tag .filter-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #f5f5f5;
    border-radius: 50%;
    color: #999;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    transition: all 0.2s ease;
    cursor: pointer;
}

.current-filter-tag .filter-remove:hover {
    background: #ff4757;
    color: #ffffff;
}

.clear-all-filters {
    margin-left: auto;
}

.clear-all-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: transparent;
    color: #409eff;
    border: 1px solid #409eff;
    border-radius: 16px;
    text-decoration: none;
    font-size: 13px;
    line-height: 24px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.clear-all-btn:hover {
    background: #409eff;
    color: #ffffff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .current-filters {
        margin-bottom: 12px;
        padding: 10px 0;
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }

    .current-filters-tags {
        gap: 6px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .current-filter-tag {
        font-size: 12px;
        line-height: 20px;
        padding: 3px 6px;
    }

    .current-filter-tag .filter-remove {
        width: 14px;
        height: 14px;
        font-size: 11px;
    }

    .clear-all-filters {
        margin-left: 0;
        padding-left: 10px;
    }

    .clear-all-btn {
        font-size: 12px;
        line-height: 20px;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .current-filters {
        margin-bottom: 10px;
        padding: 8px 0;
    }

    .current-filters-tags {
        gap: 4px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .current-filter-tag {
        font-size: 11px;
        line-height: 18px;
        padding: 2px 5px;
    }

    .clear-all-filters {
        padding-left: 8px;
    }

    .clear-all-btn {
        font-size: 11px;
        line-height: 18px;
        padding: 2px 6px;
    }
}

/* 业务标签筛选组件样式 */
.biz-category-filter {
    margin-bottom: 8px;
    background: #ffffff;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.biz-category-filter .biz-filter-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 38px;
}

.biz-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    flex: 1;
}

.biz-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: transparent;
    color: #333;
    border: none;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.biz-tag:hover {
    color: #409eff;
}

.biz-tag.active {
    color: #409eff;
    font-weight: 500;
}

.biz-tag.active:hover {
    color: #409eff;
}

/* 更多筛选组件样式 */
.more-filter-section {
    margin-top: 8px;
}

.more-filter-header {
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.more-filter-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.more-filter-header:hover .more-filter-label {
    color: #409eff;
}

.more-filter-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.more-filter-arrow.rotated {
    transform: rotate(180deg);
}

.more-filter-arrow svg {
    transition: stroke 0.3s ease;
}

.more-filter-header:hover .more-filter-arrow svg path {
    stroke: #409eff;
}

.more-filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.more-filter-content.expanded {
    max-height: 500px;
    padding: 16px 0 8px 0;
}

.more-filter-placeholder {
    padding: 20px;
    text-align: center;
    color: #909399;
    font-size: 14px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #dcdfe6;
}

/* 业务标签筛选响应式设计 */
@media (max-width: 768px) {
    .biz-category-filter {
        padding: 16px;
        margin-bottom: 20px;
        gap: 12px;
    }

    .biz-category-filter .biz-filter-label {
        font-size: 15px;
    }

    .biz-tags {
        gap: 8px;
    }

    .biz-tag {
        padding: 6px 8px;
        font-size: 13px;
    }

    .tag-count {
        margin-left: 3px;
        font-size: 11px;
    }

    .more-filter-section {
        margin-top: 6px;
        padding-top: 6px;
    }

    .more-filter-label {
        font-size: 15px;
    }

    .more-filter-arrow svg {
        width: 10px;
        height: 10px;
    }

    .more-filter-placeholder {
        padding: 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .biz-category-filter {
        padding: 12px;
        margin-bottom: 16px;
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }

    .biz-category-filter .biz-filter-label {
        font-size: 14px;
    }

    .biz-tags {
        gap: 6px;
    }

    .biz-tag {
        padding: 5px 6px;
        font-size: 12px;
    }

    .tag-count {
        margin-left: 2px;
        font-size: 10px;
    }

    .more-filter-section {
        margin-top: 4px;
        padding-top: 4px;
    }

    .more-filter-label {
        font-size: 14px;
    }

    .more-filter-arrow svg {
        width: 9px;
        height: 9px;
    }

    .more-filter-placeholder {
        padding: 12px;
        font-size: 12px;
    }
}