.WholeHospIncomeAndCost {
  padding: 16px;
  background: #ffffff;
  border-radius: 4px;

  .toolBar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    .filter {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;

      .filterItem {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .tab {
        width: 56px;
        height: 24px;
        cursor: pointer;
        line-height: 24px;
        font-weight: 400;
        font-size: 14px;
        color: #525866;
        text-align: center;
        background: #f5f7fa;
        border-radius: 12px;
        margin-right: 8px;

        &.on {
          color: #3377ff;
          background: rgba(51, 119, 255, 0.08);
        }

        &:last-child {
          margin-right: 0;
        }
      }
    }

    .btnGroup {
      .import {
        cursor: pointer;
        display: inline-block;
        font-size: 14px;
        font-weight: 400;
        color: #17181a;
        line-height: 24px;
        padding: 0 14px;
        margin-right: 8px;
        background: #fafcff;
        border-radius: 4px;
        border: 1px solid #dae2f2;
      }

      .add {
        cursor: pointer;
        display: inline-block;
        font-size: 14px;
        font-weight: 400;
        color: #ffffff;
        line-height: 24px;
        padding: 0 14px;
        background: #3377ff;
        border-radius: 4px;
      }

      & > span {
        cursor: pointer;
        display: inline-block;
        color: #17181a;
        line-height: 24px;
        padding: 0 14px;
        border-radius: 4px;
        border: 1px solid #dae2f2;
        background: #fafcff;
        margin-right: 8px;
      }
    }
  }

  .content {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    .list {
      width: 264px;
      height: 102px;
      background: #ffffff;
      border-radius: 8px;
      padding: 12px;
      border: 1px solid #e6eaf2;
      margin-right: 16px;

      .rowOne {
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        .tag {
          display: inline-block;
          width: 40px;
          height: 20px;
          text-align: center;
          line-height: 20px;
          font-weight: 400;
          font-size: 12px;
          border-radius: 4px;

          &.income {
            color: #ff8000;
            background: #fff5eb;
          }

          &.cost {
            color: #009966;
            background: #e8fcf6;
          }
        }

        .date {
          font-weight: 400;
          font-size: 12px;
          color: #7a8599;
        }
      }

      .rowTwo {
        height: 24px;
        line-height: 24px;
        font-weight: bold;
        font-size: 24px;
        color: #17181a;
        margin-top: 8px;
        margin-bottom: 8px;
      }

      .rowThree {
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        .name {
          font-weight: 400;
          font-size: 14px;
          color: #525866;
        }
      }

      &:first-child {
        display: flex;
        cursor: pointer;
        justify-content: center;
        align-items: center;

        & > span {
          font-weight: 400;
          font-size: 14px;
          color: #525866;
          padding-left: 4px;
        }
      }

      &:nth-child(4n) {
        margin-right: 0;
      }
    }
  }
}
