// 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-scorecard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  gap: 4px;

  &--fill {
    width: 100%;
    height: 100%;
  }

  &__label {
    font-size: 12px;
    font-weight: 500;
    color: var(--pf-color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
  }

  &__value {
    font-size: 32px;
    font-weight: 700;
    color: var(--pf-color-text);
    text-align: center;
    line-height: 1.1;
    word-break: break-word;
  }

  &__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
  }
}
