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

.pf-memscope-panel {
  border-radius: 8px;
  background: var(--pf-color-background-secondary);
  border: 1px solid var(--pf-color-border-secondary);
}

.pf-memscope-panel__title-row {
  display: flex;
  align-items: center;
  gap: 8px;

  h2 {
    flex: 1;
  }
}

.pf-memscope-panel__header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--pf-color-border);

  h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--pf-color-text);
  }

  p {
    margin: 4px 0 0 0;
    font-size: var(--pf-font-size-s);
    color: var(--pf-color-text-muted);
    line-height: 1.4;
  }
}

.pf-memscope-panel__controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.pf-memscope-panel__body {
  padding: 12px;
}

.pf-memscope-placeholder {
  color: var(--pf-color-text-muted);
  font-size: var(--pf-font-size-s);
  font-style: italic;
  padding: 32px 0;
  text-align: center;
}
