.flowviewer {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    height: 300px;
    margin-top: 40px; 
    margin-bottom: 40px;
    padding: 1px;
}

.node {
    fill-opacity: 1;
    stroke-width: 1px;
}

.link {
    stroke: #999;
    stroke-width: 3;
    fill: none;
}

.link-dashed {
    stroke: rgb(170,170,170);
    stroke-width: 2;
}

.group-text-label {
    font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
	font-size: 14px;
}

.node-text-label {
	font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
	font-size: 14px;
	dominant-baseline: middle;
}

.subflow-node-text-label {
    color: rgb(85, 85, 85);
    dominant-baseline: middle;
    font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 20px;
    pointer-events: none;
    text-anchor: middle;
    user-select: none
}

.subflow-node-text-label-number {
    color: rgb(85, 85, 85);
    dominant-baseline: middle;
    font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 20px;
    pointer-events: none;
    text-anchor: middle;
    user-select: none
}

a.flow-download-link {
    float: right;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

a.flow-download-link:hover {
    color: #000;
    text-decoration: none;
}

span.flow-download-link {
    display: none;
}

a.flow-copy-to-clipboard-link {
    float: right;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

a.flow-copy-to-clipboard-link:hover {
    color: #000;
    text-decoration: none;
}

.link-highlight, .node-highlight {
    stroke: rgb(247, 103, 30);
}
.node-highlight {
    stroke-width: 8px;
}

.node-disabled {
	stroke-dasharray: 8,3;
	fill-opacity: 0.5;
}

.group-highlight {
    stroke: rgb(255, 127, 14);
    stroke-width: 4px;
    fill: rgb(255, 127, 14);
    fill-opacity: 0.2;
}

.link-disabled {
	stroke-dasharray: 10,8 !important;
	stroke-width: 2 !important;
	stroke: rgb(204, 204, 204);
}

.grid-line {
    shape-rendering: crispedges;
    stroke: rgb(238, 238, 238);
    stroke-width: 1px;
    fill: none;
}
.output-deco {
    stroke-width: 2px; 
    stroke-miterlimit: 4;
}

.input-deco {
    stroke-width: 2px;
    stroke-miterlimit: 4;
}

.flow-render-error {
    background-color: rgb(54, 52, 52); 
    color: rgb(196, 59, 59); 
    width: 100%;
}
