User
 body {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
            background-color: #aaa;
            overflow-x: hidden; /* Prevent horizontal scrollbar */
        }
        #Head {
            background-color: #eee;
            color: #aaa;
            padding: 0px;
            margin-bottom: 0; /* Remove margin bottom */
        }
              #stencil {
    color: #eee; /* Text color */
    padding: 0px;
    float: left;
    margin: 0; /* Remove any margin */
    line-height: 1; /* Remove extra line height */
    height: 100%; /* Set height to 100% */
    min-height: 100%; /* Set min-height to 100% */
    background-color: #eee; /* New background color */
} 
        .container {
            display: flex;
            align-items: center;
            padding: 0; /* Remove padding */
        }
        .box-b {
            overflow: hidden;
            margin-left: 100px;
            width: 600; left/* Adjust width */
        }
        .button-container {
            display: flex;
            align-items: center;
            margin-left: auto; /* Align to right */
        }
        .button-container button {
            margin-right: 10px;
            background-color: #3498db; /* Blue background color */
            color: #fff;
            border: none;
            padding: 9px 4px;
            cursor: pointer;
            border-radius: 5px;
        }
        .button-container button:hover {
            background-color: #2980b9;
        }
   #fileinput + label {
    border: 1px solid #3498db; /* Blue border color */
    padding: 10px 20px; /* Adjust padding */
    border-radius: 5px;
    background-color: #3498db; /* Blue background color */
    color: #fff;
    cursor: pointer;
    margin-right: 10px; /* Add margin-right for spacing */
    margin-bottom: -16; /* Remove margin bottom */
    display: inline-block; /* Ensure inline display */
    height: 16px; /* Set height same as buttons */
    line-height: 16px; /* Set line-height for vertical centering */
}

#fileinput {
    display: none; /* Hide input element */
}
        #fileinput + label:hover {
            background-color: #2980b9;
        }
        #fileinput + label:active {
            background-color: #1f6cb1;
        }
        #SelectionDiv {
            position: absolute;
            background-color: rgba(0, 0, 0, 0.5);
            width: 100%;
            height: 100%;
            z-index: 999;
            display: none;
        }
        #paper {
            background-color: #eee;
            width: 100%; /* Adjust width */
            margin-left: 0; /* Remove left margin */
            margin-top: 0;
            border: 1px solid #ddd;
            overflow: auto;
            padding: 0px;
        }
        
@keyframes dash {
    to {
        stroke-dashoffset: 20;
    }
}
.joint-link .subgraph {
	stroke: #4666E5;
    stroke-dasharray: 5;
    stroke-dashoffset: 10;
    animation: dash 0.5s infinite linear normal;  
    fill: none;
}

#textSizePanel {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: white;
  padding: 10px;
  border: 1px solid black;
  border-radius: 5px;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #aaa;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

#Head, #stencil, .container, .box-b, .button-container, #fileinput + label, #SelectionDiv, #paper, #textSizePanel {
    /* ���������е���ʽ���� */
}

#BianYaQiPropertyDiv {
    display: none;
    width: 600px; /* Adjusted for two columns */
    background: #f8f9fa;
    padding: 0px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    left: 100px;
    top: 70px;
    overflow-y: auto;
    max-height: 90vh;
    z-index: 1000;
}

#BianYaQiPropertyDivHead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #007bff;
    color: white;
    padding: 5px 10px;
}

#BianYaQiPropertyDiv ul {
    list-style-type: none;
    padding: 0;
    margin: 0 5px;
    flex: 1; /* Equal width */
}

#BianYaQiPropertyDiv li {
    margin-bottom: 10px;
}

#BianYaQiPropertyDiv input[type="text"],
#BianYaQiPropertyDiv select {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

#BianYaQiPropertyDiv input[type="checkbox"] {
    margin-top: 5px;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 2px 5px;
    cursor: pointer;
    border-radius: 5px;
    display: block;
    width: 100%;
}

