/*
 * Copyright (c) 2010, 2026 BSI Business Systems Integration AG
 *
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 */
.lookup-cell-editor-popup {
  #scout.chooser-popup();
  max-height: 350px;

  & > .list-box {
    border-radius: inherit;

    & > .field > .table {
      border: none;
      display: inline-block;

      & > .table-data {
        display: inline-block;
        padding: @proposal-chooser-padding-y @proposal-chooser-padding-x;

        & > .table-row {
          min-width: 150px;
        }
      }
    }
  }

  & > .tree-box {
    border-radius: inherit;

    & > .field > .tree {
      border: none;
      display: inline-block;

      & > .tree-data {
        display: inline-block;
        padding: @proposal-chooser-padding-y @proposal-chooser-padding-x;

        & > .tree-node {
          min-width: 150px;
        }
      }
    }
  }

  &.animate-open {
    transform: scaleY(0.5);
    animation-name: grow-y;
    animation-duration: 0.125s;

    &.bottom {
      transform-origin: top;
    }

    &.top {
      transform-origin: bottom;
    }
  }
}
