
/* ==============================================================================================================================
   [ WORKFLOW CANVAS ]
   ============================================================================================================================== */

.task-workflow {
    position: relative;
    background: rgb(4 4 4 / 82%);
    border-radius: var(--radius-tiny);
    overflow: hidden;
    min-height: 600px;
}

#task-workflow-canvas {
    position: relative;
    width: 3000px;
    height: 2000px;
}

#task-workflow-links {
    position: absolute;
    inset: 0;
    pointer-events: none;
}


.workflow-dragging {
    opacity: 0.85;
    cursor: grabbing;
}

.task-connection-handle {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #1976d2;
    border-radius: 50%;
    cursor: crosshair;
    z-index: 5;
}

.task-connection-handle:hover {
    box-shadow: 0 0 0 4px rgb(25 118 210 / 20%);
}

.task-connection-handle.connection-active {
    background: #2e7d32;
    box-shadow: 0 0 0 4px rgb(46 125 50 / 25%);
}