.litegraph-editor .content {
overflow: hidden;
}
#code-output {
background-color: #282c34;
color: #000;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 14px;
line-height: 1.5;
border-radius: 4px;
}

#code-output code {
background: none !important;
padding: 0 !important;
}



input.value.rounded {
font-size: 20px;
}


.top-toolbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 12px 20px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 60px;
}


.toolbar-btn {
    background: white;
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.toolbar-btn:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.toolbar-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.toolbar-btn.save-btn {
    background: #28a745;
    color: white;
}

.toolbar-btn.save-btn:hover {
    background: #218838;
}


.toolbar-btn.generate-btn {
    background: #17a2b8;
    color: white;
}

.toolbar-btn.generate-btn:hover {
    background: #138496;
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown .toolbar-btn {
    background: #6c757d;
    color: white;
}

.dropdown .toolbar-btn:hover {
    background: #5a6268;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 180px;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    z-index: 1000;
    margin-top: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #f1f3f4;
    color: #667eea;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


.toolbar-link {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.toolbar-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}


#toolbar-td {
    background-color: #f5f5f5;
    border-right: 1px solid #ddd;
    overflow-y: auto;
}

#node-toolbar {
    padding: 10px;
}

#node-toolbar h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.node-category {
    margin-bottom: 20px;
}

.node-category h4 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 12px;
    color: #666;
    border-bottom: 1px solid #ddd;
    padding-bottom: 4px;
}

.node-item {
    padding: 8px;
    margin-bottom: 5px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: move;
    font-size: 12px;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.node-item:hover {
    background-color: #e6f7ff;
    border-color: #1890ff;
}

.node-item.dragging {
    opacity: 0.5;
}