table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 2px;
    text-align: left;
}

.draggable {
    cursor: move;
}

#pcb_3d_view_container {
    width: 400px;
    height: 400px;
    margin-top: 0px;
    border: 1px solid #ccc;
    position: relative;
}

#pcb_3d_view_file_input {
    margin-top: 20px;
    width:382px;
}

.pcb_3d_view_container_button {
    margin-top: 20px;
}

.pcb_3d_view_container_button .btn {
    padding: 10px;
    margin: 5px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
}

#pcb_3d_view_loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #F33;
    font-size: 18px;
    display: none; /* 默认隐藏 */
}

.spinner {
    border: 4px solid #f3f3f3; /* 背景颜色 */
    border-top: 4px solid #3498db; /* 旋转时的颜色 */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    #pcb_3d_view_container {
        height: 400px;
    }
}
