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

.container {
  display: flex;
  height: 100%;
}

.report-preview {
  background-color: #d0d0d0;
  display: flex;
  justify-content: center;
  width: calc(100% - 500px); // 100% - width of actions-container
}

.actions-container {
  background-color: #f9f9f9;
  width: 500px;
}

.image-container {
  margin-right: 16px;
}

.card {
  display: flex;
  padding: 20px 24px 18px 25px;
  margin: 24px 28px;
  width: 375px;
}

.card-title {
  color: #4a4a4a;
  font-size: 16px;
  line-height: 19px;
  margin-bottom: 4px;
}

.card-body {
  color: #202124;
  font-size: 16px;
  line-height: 21px;
  margin-bottom: 12px;
}

.card-body.small-text {
  color: #70757a;
  font-size: 13px;
}

pdf-viewer {
  display: block;
  height: max(
    100vh,
    930px
  ); // 930px is the height of the action panel on the right for Twitter
  width: 100%;
}

#report {
  position: fixed;
  visibility: hidden;
  z-index: -1;
  // Forces the report to be the standard A4 page size in landscape (210mm x
  // 297mm). The width should be exactly the standard size while the height
  // will vary based on the number of pages in the report.
  max-width: 297mm;
  min-height: 210mm;
  min-width: 297mm;
  width: 297mm;
}

.twitter-logo {
  height: 27px;
  width: 35px;
}

.drive-logo {
  height: 28px;
  width: 33px;
}

.save-locally-image {
  height: 27px;
  width: 32px;
}

.send-to-twitter-button {
  border: 2px solid #a54167;
  box-sizing: border-box;
  border-radius: 20px;
}

.hide-replies-button,
.save-button {
  border: 1px solid #dadce0;
  box-sizing: border-box;
  border-radius: 20px;
}

.prefix-icon {
  color: #a54167;
  margin-right: 8px;
}

.suffix-icon {
  margin-left: 8px;
}

.summary-text {
  color: #202124;
  font-size: 18px;
  letter-spacing: 0.32px;
  line-height: 21px;
  margin: 36px 24px 30px 28px;

  h2 {
    font-weight: 500px;
  }
}

.save-locally-button {
  border-radius: 20px;
}

.spinner-container {
  align-self: center;
}

.save-actions-button {
  width: 196px;
}
