
/* 新增屏蔽数据的样式 */
.strikethrough {
    text-decoration: line-through;
    color: #999; /* 灰色显示 */
    opacity: 0.7;
}


/* 选择器容器样式 */
.selectors-container {
    display: flex;
    gap: 20px; /* 两个选择器之间的间距 */
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap; /* 小屏幕下自动换行 */
}

/* 保持原有选择器样式，移除margin避免冲突 */
.robot-selector, .toolType-selector {
    margin: 0; /* 清除原有margin，由父容器统一控制 */
}
			


.robot-selector select {
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.toolType-selector select {
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.TCP-selector{
    margin-left: 190px;
}

.TCP-selector select{
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}


.robot-selector select:focus, .toolType-selector select:focus, .TCP-selector select:focus {
    outline: none;
    /* border-color: #22c55e; 
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);  */
    border-color: #FF5F00;
    box-shadow: 0 0 0 2px rgba(255, 95, 0, 0.2); /* 聚焦时的发光效果 */

}


@media (max-width: 767px) {
    .menu ul {
        flex-wrap: wrap; /* 导航项换行 */
        justify-content: center;
    }
}

/* 按钮样式 */
button {
	transition: all 0.25s ease; /* 所有属性变化都有过渡效果 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 8px 16px;
    cursor: pointer;
    /* background-color: #22c55e;  */
    background-color: #FF5F00;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}

button:hover {
    /* background-color: #16a34a; 
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);  */
    background-color: #E83700;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}



.uniform-btn {
    width: 200px; /* 统一按钮宽度 */
    box-sizing: border-box; /* 确保padding不影响总宽度 */
}

/* 在components.css中找到.result-area样式，修改为： */


.status {
    margin: 10px 0;
    color: #666;
}


.output-label {
    font-weight: bold;
    margin-bottom: 5px;
}


.output-value {
    width: 99.1%;
    min-height: 35px;
    border: 1px solid #ccc;
    padding: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 工具类 */
.hidden {
    display: none;
}


.drag-area {
	color: #999;
    transition: all 0.3s ease; /* 边框和背景色过渡 */
}


.drag-area.active {
    border-color: #2C6ECB;
    background-color: rgba(44, 110, 203, 0.05);
    color: #2C6ECB;
}

.draggable-item {
    cursor: grab;
    transition: all 0.2s ease;
}

.draggable-item:hover {
    background-color: #f1f5f9; /* 悬停背景色变化 */
}

.draggable-item.dragging {
    opacity: 0.7;
    transform: scale(1.02); /* 拖拽时轻微放大 */
    background-color: rgba(44, 110, 203, 0.1);
}

/* 拖拽目标区域样式 */
.drag-target {
    margin-top: 10px;
    margin-bottom: 30px;
}



.drag-area.active {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.drag-area.filled {
	color: #000;
    border-style: solid;
    border-color: #4CAF50;
}

.result-areaBO {
    color: #999; /* 深灰色，可根据需要调整 */
}

.result-areaBO.has-result {
    color: #000; /* 黑色 */
}

.result-area{
    min-height: 441px;
    width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
    white-space: nowrap; /* 保持内容不换行 */
    box-sizing: border-box;
    max-height: 223px;
    overflow: auto;
}

.result-areaBOLEFT {
    min-height: 481px;
    width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
    white-space: nowrap; /* 保持内容不换行 */
    box-sizing: border-box;
    max-height: 481px;
    overflow: auto;
}


 .drag-area, #offsetValue,#offsetValue2,#offsetValue3 {
    width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
    white-space: nowrap; /* 保持内容不换行 */
    box-sizing: border-box;
    overflow-x: auto;
}

.output-item {
    width: 100%; /* 输出项自适应宽度 */
}

.chart-container {
  width: 100%;
  height: 300px;
  /* margin-top: 20px; */
  margin-left: 0px; /* 距离左边的外边距 */
  /* padding-left: 5px;  */
}