// Copyright (c) 2021 Intel Corporation
//
// 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 './../../variables.scss';

.exec {
  white-space: pre;
}

.comparison-table {
  width: 100%;
}

.big-number {
  font-size: 200% !important;
  color: $blue;
}

.label {
  position: relative;
  color: $dark-gray;
}

img {
  height: 30px;
}

.mockup-img {
  width: 1000px;
  height: 100%;
  margin: auto;
}

.green {
  color: green;
  font-size: 150%;
}

.red {
  color: red;
  font-size: 150%;
}

button {
  margin-right: 20px;
}

.file-button {
  margin-left: 20px;
  width: 100px !important;
  background-color: white !important;
  text-align: center;
}

.margin-left {
  margin-left: 40px;
}

.energy {
  color: $energy-blue !important;
}

p {
  margin: auto;
  padding: 0px !important;
  text-align: center !important;
}

.inline {
  display: inline-block;
}

.cell {
  width: 33%;
  word-break: break-all;
}

.icon-button {
  top: 10px;
  position: relative;
  min-width: 130px;
}

.spinner-wrapper {
  display: flex;
}

.action-btn {
  max-width: 200px;
  min-width: 100px;
}

.project-name {
  white-space: nowrap;
}

.precision {
  white-space: nowrap;
  padding-left: 20px;
}

.down-10px {
  position: relative;
  top: 10px;
}

.down-3px {
  position: relative;
  top: 3px;
  padding-right: 10px;
}

.down-6px {
  position: relative;
  top: 6px;
  padding-right: 10px;
}

.chart-legend {
  float: right;
  width: 160px !important;
}

.demo-chart {
  height: 400px;
}

.blue {
  background-color: $blue;
  color: white;
}

.dark-blue {
  background-color: $dark-blue;
  color: white;
}

.header {
  min-width: 100px;
}

.item {
  background-color: white;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 16px;
  box-shadow: 0px 2px 1px -1px rgb(0 0 0 / 20%),
    0px 1px 1px 0px rgb(0 0 0 / 14%),
    0px 1px 3px 0px rgb(0 0 0 / 12%);
  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  position: relative;
  border-radius: 4px;
}

.item-title {
  grid-area: title;
}

.item-header {
  grid-area: header;
  padding: 26px;
}

.item-exec {
  grid-area: exec;
}

.item-row1 {
  grid-area: row1;
}

.item-row2 {
  grid-area: row2;
}

.item-row3 {
  grid-area: row3;
}

.item-charts1 {
  grid-area: charts1;
}

.item-charts2 {
  grid-area: charts2;
}

.item-charts3 {
  grid-area: charts3;
}

.item-charts4 {
  grid-area: charts4;
}

.container {
  padding: 10px;
  display: grid;
  gap: 1rem;
  grid-template-areas:
    "title title title title"
    "header header header header"
    "exec row1 row1 row1"
    "exec row2 row2 row2"
    "exec row3 row3 row3"
    "charts1 charts1 charts1 charts1"
    "charts2 charts2 charts2 charts2"
    "charts3 charts3 charts3 charts3"
    "charts4 charts4 charts4 charts4";
  justify-content: center;
}
