/**
 * 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.
 */

.condition-input-popup {
  position: absolute;
  background: #333;
  color: #fff;
  padding: 5px; /* Larger padding for better UX */
  border-radius: 3px; /* Smoother rounded corners */
  z-index: 1000;
  pointer-events: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 240px;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.condition-input-popup .tooltip-header {
  font-weight: bold;
  margin-bottom: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.condition-input-popup .condition-textarea {
  width: 100%;
  height: 50px;
  resize: vertical;
  background-color: transparent;
  color: white;
  border: 1px solid #ccc;
  padding: 5px;
}

.condition-input-popup.fade-out {
  opacity: 0;
  pointer-events: none;
}

::ng-deep .cgmr.codicon.monaco-conditional-breakpoint {
  width: 10px !important;
  height: 10px !important;
  border-radius: 100%;
  background-color: #d47d78;
  margin: 4px 0 0 8px;
  cursor: pointer;
  color: #000;
  text-align: center;
  font-size: 8px;
  font-weight: bold;
}

::ng-deep .cgmr.codicon.monaco-conditional-breakpoint::before {
  content: "?";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
