body {
    background-color: #222;
    color: #eee;
    margin: 0;
    overflow: hidden; /* Prevent scrollbars on body */
    font-family: sans-serif;
}

#workflowCanvas {
    width: 100vw;
    height: 100vh;
    display: block; /* Remove extra space below canvas */
}

#dropZone {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 15px 25px;
    background: rgba(60, 60, 60, 0.8);
    border: 2px dashed #777;
    border-radius: 8px;
    z-index: 10;
    pointer-events: none; /* Allow clicks to pass through to canvas */
    color: #ccc;
    font-size: 14px;
    text-align: center;
}

/* Basic styling for LiteGraph elements to mimic ComfyUI */
.litegraph.litesearch-box {
    background-color: #444;
    border: 1px solid #666;
    color: #eee;
}

.litegraph .graphcanvas {
    background-color: #2a2a2a; /* Slightly lighter than body */
}

.litegraph .graphnode {
    background-color: #333;
    border: 1px solid #111;
    color: #eee;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.litegraph .graphnode .node-title {
    background-color: #555; /* Default title color, will be overridden */
    color: #fff;
    font-weight: bold;
    padding: 4px 8px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-size: 13px;
    text-align: center;
}

.litegraph .graphnode .node-content {
    padding: 8px 10px;
    font-size: 12px;
}

.litegraph .graphnode .node-slot {
    font-size: 11px;
}

.litegraph .graphnode .node-slot.input {
    /* Input slot styling */
}

.litegraph .graphnode .node-slot.output {
    /* Output slot styling */
}

.litegraph .graphnode .node-widget input,
.litegraph .graphnode .node-widget select,
.litegraph .graphnode .node-widget textarea {
    background-color: #444;
    border: 1px solid #666;
    color: #eee;
    border-radius: 3px;
    padding: 2px 4px;
    font-size: 11px;
}

.litegraph .graphnode .node-widget button {
    background-color: #555;
    border: 1px solid #777;
    color: #eee;
    border-radius: 3px;
    padding: 3px 6px;
    cursor: pointer;
}

.litegraph .graphnode .node-widget button:hover {
    background-color: #666;
}

/* Link styling */
.litegraph .link-stroke {
    stroke: #aaa;
    stroke-width: 2px;
}

