/**
 * Copyright 2022 Google LLC
 *
 * 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.
 */

h2 {
  color: rgba(0, 0, 0, 0.87);
  margin-bottom: 6px;
  margin-top: 6px;
  padding-left: 16px;
}

img {
  height: 50px;
  padding-top: 5px;
}

.description {
  color: #70757a;
  font-size: 14px;
  padding-left: 16px;
}

.description .loading {
  align-items: center;
  color: #70757a;
  display: flex;
  font-style: italic;
}

.description .spinner-container {
  display: inline-block;
  padding-right: 8px;
}

.horizontal-divider {
  background-color: #e8eaed;
  height: 1px;
  margin: 12px 16px 12px 16px;
  width: calc(100% - 32px);
}

mat-card {
  height: 136px;
  width: 375px;
}

// Once all the cards don't fit on the screen, reduce the card width.
@media screen and (max-width: 1440px) {
  mat-card {
    min-width: max-content;
    width: 325px;
  }

  .two-buttons > button {
    left: -10px;
    padding-right: 0px;
  }
}

// Once the screen is small enough, we start wrapping the cards, so add bottom margin.
@media screen and (max-width: 1340px) {
  mat-card {
    margin-bottom: 14px;
  }
}

mat-icon {
  margin-right: 6px;
}

button {
  font-weight: 500;
  text-transform: uppercase;
}

.buttons {
  display: flex;
}

.report-data-contents {
  display: flex;
  padding-bottom: 10px;
}

.report-data-description {
  display: flex;
  flex-direction: column;
}

.unscored-definition {
  align-items: center;
  color: #b23c66;
  display: inline-flex;
}

.unscored-definition mat-icon {
  font-size: 16px;
  height: 16px;
  padding-left: 2px;
  width: 16px;
}

.loading-span {
  font-style: italic;
  text-transform: none;
}

.loading-color {
  color: #70757a;
}
