@import '~scss/variables';
@import '~scss/mixins';

.content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.form {
  display: flex;
  flex: 0 0 auto;
  height: 82px;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 4px;
  background-color: $card-bg-color;

  & > div {
    width: 340px;
    margin-top: 0 !important;
    margin-right: 20px;
  }

  button {
    margin-top: 25px;
  }
}

.chart {
  height: 100%;
  min-height: 370px;
  padding: 5px 0 12px;
  margin-bottom: 12px;
  border-radius: 4px;
  background-color: $card-bg-color;
}

.table {
  flex: 0 0 auto;
  height: 328px;
  padding: 12px;
  border-radius: 4px;
  background-color: $card-bg-color;

  .box {
    border-radius: 4px;
    border: 1px solid $light-color03;
    background-color: $white;
    overflow: hidden;

    .title {
      padding: 12px 20px;
      line-height: 24px;
      font-weight: 600;
      border-bottom: 1px solid $light-color03;
      background-color: $card-bg-color;
    }

    & > div:last-child {
      height: calc(100% - 49px);
    }

    :global {
      .table table {
        padding: 0 20px;
      }
    }
  }
}

.empty {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.option {
  position: relative;
  width: 100%;
  @include ellipsis;
  & > span,
  & > img {
    display: inline-block;
    vertical-align: text-bottom;
    margin-right: 6px;
    width: 16px;
    height: 16px;
  }
}

.tip {
  @include vertical-center;
  right: 0;
}
