/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

#workflow-editor-wrapper {
  height: 100%;
}

#workflow-editor {
  height: 100%;
}

::ng-deep .hide-region .region {
  display: none;
}

::ng-deep .agent-action {
  // Agent action highlights - temporary 5-second visual indicators
  // Styles are defined inline in JointJS element, but this provides a hook for customization
  pointer-events: none;
}

::ng-deep .hide-worker-count .operator-worker-count {
  display: none;
}

// Inline panels overlay container
.panels-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}

// Code panel wrapper - larger for code display
.code-panel-wrapper {
  position: absolute;
  width: 400px;
  height: 220px;
  pointer-events: auto;
  z-index: 10;
}

// Chat popover container for operator chat button
.chat-popover-container {
  position: absolute;
  pointer-events: auto;
  z-index: 20;
  transform: translateX(-50%);
}

.chat-popover {
  width: 400px;
  max-height: 400px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;

  &.chat-popover-visualization {
    width: 620px;
    max-height: 480px;
  }
}

.chat-popover-content {
  padding: 12px;
  overflow-y: auto;
  max-height: 400px;

  .chat-popover-visualization & {
    max-height: 480px;
  }
}
