@import "src/assets/styles/responsive-base.scss";

:host {
  display: flex;
  height: 100%;

  > div {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;

    > div {
      position: absolute;
    }
  }
}

.stats-card-container{
  display: flex;
  flex-wrap: wrap;
  
  @include screen('phone'){
    justify-content: center;
  }

  .stats-card{
    margin-right: 20px;
    margin-top: 20px;
    flex-basis: 240px;
    flex-shrink: 0;
  }
}

.mat-card-title{
  margin-bottom: 18px;
  text-align: center;
}

.stats-container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 225px;
  grid-template-rows: 1fr min-content min-content;
  justify-items: center;
  align-items: center;

  .stats-column{
    width: 20px;
    align-self: flex-end;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    position: relative;
  }
  .stats-column-inner{
    width: 20px;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
  .stats-column-label{
    margin-top: 5px;
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 10px;
    text-align: center;
  }
  .stats-column-title{
    margin-top: 5px;
    font-size: 12px;
    line-height: 12px;
    text-align: center;
  }
}

.admin-button-container{
  margin: 20px 0;
}
.metrics-info-col{
  display: flex;
  flex-direction: column;
  
  >label{
    text-transform: uppercase;
    display: flex;
    align-items: center;
    font-size: 12px;
  }
  >span{
    max-width: 400px;
    font-size: 12px;
    padding-bottom: 5px;
  }
}