@import "./imports.scss";

.dashboard {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;

  .dashboard-viewer {
    display: flex;
    min-height: 0;
    height: 100%;

    &.loading-skeleton {
      overflow: hidden;
    }

    .dashboard-document {
      height: 100%;
      overflow-y: auto;
      overflow-x: hidden;
      position: relative;
      flex: 1;
      background-image: radial-gradient(#bfc1c9 0.8px, #ededed 0.1px);
      background-size: 9px 9px;
    }

    @media print {
      .dashboard-document {
        position: static;
      }
    }
  }

  .not-supported {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
}
