/* assets/css/style.css */
body {
    background-color: #f8f9fa;
}

#editor-container {
    display: flex;
    height: 90vh;
    border: 1px solid #ddd;
    background: white;
}

#toolbox {
    width: 250px;
    background: #f1f3f5;
    padding: 15px;
    border-right: 1px solid #ddd;
    overflow-y: auto;
}

#canvas {
    flex-grow: 1;
    position: relative;
    background-image: radial-gradient(#dee2e6 1px, transparent 1px);
    background-size: 20px 20px;
    overflow: hidden;
}

.node {
    width: 200px;
    background: white;
    border: 1px solid #ced4da;
    border-radius: 8px;
    position: absolute;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
    cursor: grab;
}

.node-header {
    padding: 10px;
    background: #e9ecef;
    border-bottom: 1px solid #ced4da;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.node-body {
    padding: 10px;
    font-size: 0.9em;
}

.toolbox-item {
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    cursor: grab;
    user-select: none;
}

#properties-panel {
    width: 300px;
    background: white;
    border-left: 1px solid #ddd;
    padding: 15px;
    display: none; /* Hidden by default */
}

.connection-line {
    position: absolute;
    height: 2px;
    background-color: #adb5bd;
    transform-origin: 0 50%;
    z-index: 1;
}
