@import "src/app/@shared/styles/common.scss";

:host {
  display: block;
  min-width: 1420px;
  width: 100%;
  padding: 18px;
  &::ng-deep .grid-stack-item-content {
    border-radius: 16px !important;
  }
}

.dark-card::ng-deep .grid-stack-item-content {
  background-image: linear-gradient(-50deg, #242222, #555454);
  border-radius: 16px;
  box-shadow: $devui-shadow-length-base $devui-light-shadow;
  padding: 20px;
  overflow: hidden !important;
}

.grade-number {
  display: inline-block;
  font-size: 26px;
  vertical-align: text-top;
  background-image: linear-gradient(to right, $devui-yellow-20, $devui-yellow-80);
  background-clip: text;
  color: transparent;
  font-weight: bold;
  margin-right: 20px;
}

.radar-descript {
  position: absolute;
  top: 24%;
  right: 16px;
  width: 30%;
  color: #ced1db;
  padding-right: 16px;
  font-size: 14px;
  line-height: 22px;

  &-title {
    color: #ffffff;
    line-height: 22px;
    margin: 0 8px;
    font-weight: bold;
  }
}

d-radar-chart::ng-deep d-echarts {
  width: 100% !important;
}

.indicator-card {
  padding: 24px;
  background: $devui-base-bg;
  display: flex;
  border-radius: 16px;
  box-shadow: $devui-shadow-length-base $devui-light-shadow;
  width: 100%;
  height: 100%;

  .indicator-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
    font-size: 12px;

    .indicator-content-item {
      margin-bottom: 4px;
      padding: 4px 0;
    }
  }

  .indicator-charts {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
  }
}

.chart-card {
  box-shadow: $devui-shadow-length-base $devui-light-shadow;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: relative;
  background-color: $devui-base-bg;

  .card-title {
    font-size: 14px;
    line-height: 22px;
    font-weight: 700;
  }

  .card-subtitle {
    font-size: 12px;
    line-height: 18px;
    margin-top: 4px;
    color: $devui-aide-text-stress;
  }

  .card-content {
    flex: 1;
    margin-top: 12px;
  }
}

.trend-number {
  line-height: 1em;
  font-weight: 600;
  color: $devui-text;
  font-size: 24px;
}