/* Diagram View Styles */
.diagram-controls {
    background: #2d2d2d;
    border-bottom: 1px solid #3e3e3e;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.diagram-controls label {
    font-size: 12px;
    color: #808080;
}

.diagram-controls select {
    background: #3c3c3c;
    border: 1px solid #5c5c5c;
    color: #d4d4d4;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.diagram-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #1e1e1e;
}

.diagram-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-viewport:active {
    cursor: grabbing;
}

.diagram-content {
    transform-origin: center center;
    transition: transform 0.1s ease-out;
}

.diagram-zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #2d2d2d;
    border: 1px solid #3e3e3e;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.zoom-btn {
    background: #3c3c3c;
    color: #d4d4d4;
    border: 1px solid #5c5c5c;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.zoom-btn:hover {
    background: #4c4c4c;
}

.zoom-level {
    text-align: center;
    font-size: 11px;
    color: #808080;
    padding: 4px 0;
}

.diagram-minimap {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 150px;
    height: 100px;
    background: #2d2d2d;
    border: 1px solid #3e3e3e;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0.8;
}

.minimap-viewport {
    position: absolute;
    border: 2px solid #0e639c;
    background: rgba(14, 99, 156, 0.2);
    cursor: move;
}

#diagram-output {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}
