// Copyright (C) 2025 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 "../common";
@import "./filter.scss";
@import "./aggregations.scss";

.pf-exp-query-operations {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  .pf-exp-section {
    padding: 1rem;

    h2 {
      margin-top: 0;
      margin-bottom: 1rem;
      font-size: var(--pf-font-size-m);
      font-weight: 500;
    }

    .pf-exp-operations-container {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      align-items: stretch;
    }
  }
}

.pf-exp-editor {
  display: flex;
  gap: 1rem;
  align-items: center;

  .pf-select,
  .pf-text-input {
    flex: 1;
  }

  .pf-exp-delete-button {
    color: var(--pf-color-text-muted);
    &:hover {
      color: var(--pf-color-danger);
    }
  }
}
