<div class="workflow-builder__sidebar p-3">
    <h6 class="text-muted text-uppercase small mb-2">{{ __('admin/workflows.sidebar_palette') }}</h6>

    {{-- Trigger nodes (only one per workflow) --}}
    <div class="mb-3">
        <div class="text-muted small mb-1">{{ __('admin/workflows.sidebar_trigger') }}</div>
        <div class="workflow-node-template" draggable="true" data-type="trigger" data-subtype="event">
            <i class="fas fa-bolt me-1"></i> {{ __('admin/workflows.template_trigger_event') }}
        </div>
    </div>

    {{-- Condition --}}
    <div class="mb-3">
        <div class="text-muted small mb-1">{{ __('admin/workflows.sidebar_condition') }}</div>
        <div class="workflow-node-template" draggable="true" data-type="condition" data-subtype="field-comparison">
            <i class="fas fa-code-branch me-1"></i> {{ __('admin/workflows.template_condition_field') }}
        </div>
    </div>

    {{-- Actions --}}
    <div class="mb-3">
        <div class="text-muted small mb-1">{{ __('admin/workflows.sidebar_action') }}</div>
        @foreach ($actionTypes as $key => $label)
            <div class="workflow-node-template" draggable="true" data-type="action" data-subtype="{{ $key }}">
                <i class="fas fa-bolt me-1"></i> {{ $label }}
            </div>
        @endforeach
    </div>

    {{-- Chain --}}
    <div class="mb-3">
        <div class="text-muted small mb-1">{{ __('admin/workflows.sidebar_chain') }}</div>
        <div class="workflow-node-template" draggable="true" data-type="chain" data-subtype="workflow">
            <i class="fas fa-link me-1"></i> {{ __('admin/workflows.template_chain_workflow') }}
        </div>
    </div>

    <hr>
    <div class="small text-muted">
        <p class="mb-1"><i class="fas fa-info-circle"></i> {{ __('admin/workflows.sidebar_help_drag') }}</p>
        <p class="mb-1"><i class="fas fa-mouse-pointer"></i> {{ __('admin/workflows.sidebar_help_click') }}</p>
        <p class="mb-0"><i class="fas fa-trash"></i> {{ __('admin/workflows.sidebar_help_delete') }}</p>
    </div>
</div>
