@import '_content/HITS3.Shared.Web.RadzenUI/HITS3.Shared.Web.RadzenUI.bundle.scp.css';
@import '_content/VistaNover.Core.Web/VistaNover.Core.Web.bundle.scp.css';
@import '_content/VistaNover.EventRepository.Web/VistaNover.EventRepository.Web.bundle.scp.css';
@import '_content/VistaNover.MasterData.Web/VistaNover.MasterData.Web.bundle.scp.css';
@import '_content/VistaNover.Registration.Web/VistaNover.Registration.Web.bundle.scp.css';
@import '_content/VistaNover.Resource.Web/VistaNover.Resource.Web.bundle.scp.css';
@import '_content/Z.Blazor.Diagrams/Z.Blazor.Diagrams.bundle.scp.css';

/* _content/VistaNover.Serialization.Web/Components/Graphs/Views/Generic/GraphView.razor.rz.scp.css */
.diagram-container[b-uzz09twiqm] {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--diagram-offset, 200px));
    min-height: 600px;
    overflow: hidden;
}

.diagram-canvas[b-uzz09twiqm] {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Link styling */
[b-uzz09twiqm] .diagram-link-path {
    stroke: #94a3b8;
    stroke-width: 2;
    fill: none;
}

[b-uzz09twiqm] .diagram-link-path:hover {
    stroke: #40babd;
    stroke-width: 3;
}

[b-uzz09twiqm] .diagram-link-label {
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #475569;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Selection styling */
[b-uzz09twiqm] .selected .diagram-link-path {
    stroke: #40babd;
    stroke-width: 3;
}
/* _content/VistaNover.Serialization.Web/Components/Graphs/Views/Generic/Renderer/EntityNodeModelView.razor.rz.scp.css */
.entity-node[b-nqv2fokw4e] {
    min-width: 250px;
    max-width: 350px;
    background: white;
    border: 4px solid #10b981;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    overflow: hidden;
}

.entity-node:hover[b-nqv2fokw4e] {
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.entity-node.selected[b-nqv2fokw4e] {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    border-color: #059669;
}

.entity-node.grouped[b-nqv2fokw4e] {
    border-style: dashed;
}

.source-node[b-nqv2fokw4e] {
    border-color: #059669;
}

/* Header Section */
.node-header[b-nqv2fokw4e] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.source-node .node-header[b-nqv2fokw4e] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.node-title[b-nqv2fokw4e] {
    font-weight: 600;
    margin: 0;
    color: white;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.node-badge[b-nqv2fokw4e] {
    align-self: flex-start;
    font-size: 11px;
    padding: 2px 8px;
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    border-radius: 4px;
    font-weight: 500;
}

/* Properties Section */
.node-properties[b-nqv2fokw4e] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background-color: white;
}

.property-row[b-nqv2fokw4e] {
    display: flex;
    gap: 6px;
    font-size: 12px;
    align-items: flex-start;
}

.property-name[b-nqv2fokw4e] {
    font-weight: 600;
    color: #374151;
    flex-shrink: 0;
    min-width: 80px;
}

.property-value[b-nqv2fokw4e] {
    color: #1f2937;
    word-break: break-word;
    flex: 1;
}

.selectable-text[b-nqv2fokw4e] {
    user-select: text;
    cursor: text;
    padding: 2px 4px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.selectable-text:hover[b-nqv2fokw4e] {
    background-color: rgba(16, 185, 129, 0.1);
}

.property-more[b-nqv2fokw4e] {
    margin-top: 4px;
    font-style: italic;
    color: #6b7280;
}

/* Ports */
[b-nqv2fokw4e] .port-left,
[b-nqv2fokw4e] .port-right {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #40babd;
    border: 2px solid white;
    border-radius: 50%;
    cursor: crosshair;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

[b-nqv2fokw4e] .port-left {
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
}

[b-nqv2fokw4e] .port-right {
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
}

[b-nqv2fokw4e] .port-left:hover,
[b-nqv2fokw4e] .port-right:hover {
    width: 16px;
    height: 16px;
    background: #2c974b;
}
/* _content/VistaNover.Serialization.Web/Components/Graphs/Views/Generic/Renderer/GraphTypeNodeModelView.razor.rz.scp.css */
.graph-type-node[b-y9frzx3mw1] {
    min-width: 250px;
    max-width: 350px;
    background: white;
    border: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    overflow: hidden;
}

.graph-type-node:hover[b-y9frzx3mw1] {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.graph-type-node.selected[b-y9frzx3mw1] {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    border-color: #2563eb;
}

.graph-type-node.grouped[b-y9frzx3mw1] {
    border-style: dashed;
}

.source-node[b-y9frzx3mw1] {
    border-color: #059669;
}

.source-node .node-header[b-y9frzx3mw1] {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

/* Header Section */
.node-header[b-y9frzx3mw1] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.node-title[b-y9frzx3mw1] {
    font-weight: 600;
    margin: 0;
    color: white;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.node-badge[b-y9frzx3mw1] {
    align-self: flex-start;
    font-size: 11px;
    padding: 2px 8px;
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    border-radius: 4px;
    font-weight: 500;
}

/* Properties Section */
.node-properties[b-y9frzx3mw1] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background-color: white;
}

.property-row[b-y9frzx3mw1] {
    display: flex;
    gap: 6px;
    font-size: 12px;
    align-items: flex-start;
}

.property-name[b-y9frzx3mw1] {
    font-weight: 600;
    color: #374151;
    flex-shrink: 0;
    min-width: 80px;
}

.property-value[b-y9frzx3mw1] {
    color: #1f2937;
    word-break: break-word;
    flex: 1;
}

.property-more[b-y9frzx3mw1] {
    margin-top: 4px;
    font-style: italic;
    color: #6b7280;
}

/* Ports */
[b-y9frzx3mw1] .port-left,
[b-y9frzx3mw1] .port-right {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border: 2px solid white;
    border-radius: 50%;
    cursor: crosshair;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

[b-y9frzx3mw1] .port-left {
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
}

[b-y9frzx3mw1] .port-right {
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
}

[b-y9frzx3mw1] .port-left:hover,
[b-y9frzx3mw1] .port-right:hover {
    width: 16px;
    height: 16px;
    background: #2563eb;
}
