/* 控制面板容器 */
.control-panel {
    width: 15%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #798cec;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

/* 通用按钮样式 */
.perception-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: none;
    border-radius: 8px;
    background-color: #e0e0e0;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
}

/* 悬停效果 */
.perception-btn:hover {
    background-color: #d0d0d0;
    transform: translateX(5px);
}

/* 选中状态 */
.perception-btn.active {
    background-color: #f7f7f8;
    color: rgb(250, 0, 0);
    font-weight: 500;
    box-shadow: 2px 2px 8px rgba(33, 150, 243, 0.3);
}

/* 选中状态指示条 */
.perception-btn.active::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: #00e6fb;
}
