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

// Reusable styling components for node details rendering

// Content wrapper - provides consistent layout and spacing for node details
.pf-exp-node-details-content {
  font-size: var(--pf-font-size-s);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

// Title styling for nodes
.pf-exp-node-details-title {
  font-weight: 600;
  font-size: var(--pf-exp-font-size-base);
}

// Message styling for informational text (e.g., "No columns added")
.pf-exp-node-details-message {
  color: var(--pf-color-text-muted);
}

// Text styling for secondary/lighter text
.pf-exp-node-details-text {
  color: var(--pf-color-text-muted);
}

// Spacer for consistent vertical spacing
.pf-exp-node-details-spacer {
  height: 0.5rem;
}

// Narrow input for compact number fields
.pf-exp-node-details-input-narrow {
  width: 40px;
}

// Column name styling - consistent look for all column references
.pf-exp-column-name {
  font-family: var(--pf-font-monospace);
  font-size: 0.9em;
  font-weight: 600;
  background-color: var(--pf-color-background-secondary);
  border-radius: 3px;
  color: var(--pf-color-text);
}

// Join node condition styling
.pf-exp-join-condition {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pf-exp-join-equals {
  color: var(--pf-color-text-muted);
  font-weight: 500;
}

// SQL expression styling
.pf-exp-sql-expression {
  font-family: var(--pf-font-monospace);
  font-size: var(--pf-font-size-s);
  background-color: var(--pf-color-background-secondary);
  padding: 0.5rem;
  border-radius: 4px;
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
}
