/*
 * Copyright 2017-2024 EPAM Systems, Inc. (https://www.epam.com/)
 *
 * 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.
 */

.container {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.overall-metrics {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  margin-bottom: 10px;
}

.metrics-card {
  display: flex;
  flex-direction: column;
  width: 33%;
  align-items: center;
}

.metrics-card:not(:last-child) {
  border-right: 1px solid #dfdfdf;
}

.metrics-card .value {
  font-size: x-large;
}

.chart-controls {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  padding-left: 50px;
}

.chart-controls.with-run-id {
  padding-top: 0;
}

.range-controls {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

.telemetry-controls {
  gap: 10px;
}

.legend {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
}

.legend-item {
  cursor: pointer;
}

.telemetry {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 40vh;
  padding-right: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  padding-bottom: 30px;
}

.spin,
.spin div[class~="ant-spin-container"] {
  max-height: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

