// Copyright (C) 2026 The Android Open Source Project
//
// Licensed 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.

@import "../assets/theme";

.pf-popup.pf-combobox__popup {
  .pf-popup-content {
    padding: 0;
  }
}

.pf-combobox__menu {
  max-height: 200px;
  min-width: 150px;
  overflow-y: auto;
}

.pf-combobox__item {
  flex-shrink: 0;

  &.pf-highlight {
    background: var(--pf-color-primary);
    color: var(--pf-on-color-primary);
  }
}

.pf-combobox__footer {
  padding: 3px 6px;
  font-size: 10px;
  opacity: 0.5;
  border-top: 1px solid var(--pf-color-border, #555);
  display: flex;
  align-items: baseline;
  gap: 5px;
  justify-content: center;

  kbd {
    display: inline-block;
    padding: 0 3px;
    font-size: 10px;
    font-family: inherit;
    line-height: 1.4;
    border: 1px solid var(--pf-color-border, #555);
    border-radius: 3px;
  }
}
