page {
    width: 100vw;
    overflow: hidden;
}

.accounts {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    .item {
        position: relative;
        width: 310rpx;
        margin-top: 20rpx;
        border-radius: 20rpx;
        border: 1rpx solid #E0E0E0;
        padding: 10rpx 20rpx;
        box-sizing: border-box;

        &:nth-child(-n+2) {
            margin-top: 0;
        }

        .title {
            line-height: 28rpx;
            font-family: PingFang SC, PingFang SC;
            font-size: 20rpx;
            color: #999999;
            margin-right: 20rpx;
        }

        .value {
            line-height: 44rpx;
            font-family: PingFang SC, PingFang SC;
            font-weight: bold;
            font-size: 32rpx;
            color: #333333;
        }

        .iconfont {
            position: absolute;
            top: 10rpx;
            right: 10rpx;
            font-size: 20rpx;
        }
    }

    .active {
        border-color: #1862E7;
        background-color: #F0F7FF;
        transition: all 0.3s ease;

        .title {
            color: #1862E7;
            font-weight: bold;
        }

        .value {
            color: #1862E7;
        }
    }
}

.detail {
    display: flex;
    justify-content: center;
    margin: 40rpx 0;

    .but {
        display: flex;
        padding: 10rpx 20rpx;
        background: #3874F6;
        border-radius: 8rpx;

        font-family: PingFang SC, PingFang SC;
        font-weight: bold;
        font-size: 28rpx;
        color: #FFFFFF;

        .iconfont {
            transform: rotate(-90deg);
            margin-left: 6rpx;
        }
    }
}

.chart {
    height: 540rpx;
    width: 100vw;
}

.chart2 {
    position: relative;

    ec-canvas {
        position: absolute;
        top: -590rpx;
        width: 690rpx;
        height: 570rpx;
        z-index: 2;
        right: 0rpx;
    }
}