.summary-item{
    display: flex;
    width: 135px;
    height: 160px;
    padding: 20px 0px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    border-radius: 10px;
    background: #F9F9F9;
    color: #666;
    font-size: 14px;
}
.summary-item img{
    width: 60px;
}
.summary-item h2{
    color: #333;
    font-size: 18px;
    font-weight: 700;
    font-family: DIN Alternate;
}
.summary-item:last-of-type{
    width: 179px;
}
.summary-item:last-of-type h2{
    font-size: 22px;
}

.comm-tip {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.comm-tip span {
    color: #D02443;
}

.balance-box{
    width: 447px;
    margin-top: 30px;
}
.balance-box h2{
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.balance-box .header{
    height: 50px;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    color: #333;
    font-family: DIN Alternate;
    font-size: 24px;
    font-weight: 700;
    border: 1px solid #DDD;
    border-bottom: none;
}
.balance-box .header label,
.balance-box .body label{
    color: #333;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
}

.balance-box .header label .hover-content,
.balance-box .body label p{
    right: -156px;
    top: -80px;
}

.balance-box .header label .hover-content:after ,
.balance-box .body label .hover-content:after{
    bottom: -17px;
    left: 143px;
    border-top: 10px solid #ffffff!important;
}

.balance-box .body label .hover-content{
    right: -134px;
    top: 22px;
    width: 310px;
}
.balance-box .body label .hover-content:after{
    top: -8px;
    left: 159px;
    border-bottom: 10px solid #ffffff!important;
    border-top: none!important;
}
.balance-box .header label .hover-content span{
    font-weight: bold;
}

.balance-box .body{
    border: 1px solid #DDD;
    color: #666;
    font-size: 14px;
    height: 70px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 10px;

}
.balance-box .body label{
    display: flex;
    color: #666;
    font-size: 14px;
}
.balance-box .body .flex{
    justify-content: flex-start;
    gap: 20px;
}
.balance-box .body .flex .hover-content-wrap{
    margin-left: 5px;
}
.balance-box .body .flex .amount{
    color: #D02443;
    font-family: DIN Alternate;
    font-size: 16px;
    line-height: 1;
}
.balance-box .action-btn[disabled]{
    color: #666666;
    background: linear-gradient(180deg, #FFF 0%, #E0E0E0 100%);
    box-shadow: 0px 2px 4px 0px rgba(169, 169, 169, 0.30) inset, 0px 6px 10px 0px rgba(0, 0, 0, 0.20), 0px 2px 0px 0px rgba(255, 255, 255, 0.40), 0px -4px 6px 0px #FFF;
}
.balance-box .hover-btn{
    top: -52px;
    right: -25px;
}
.balance-box .hover-btn:after{
    left: 243px;
}

.chart-box{
    position: relative;
}
.chart-box .flex{
    position: absolute!important;
    justify-content: flex-start;
    left: 30px;
    width: 120px;
    border-radius: 6px;
    z-index: 1;
}
.chart-box .flex button{
    border: 1px solid #D02443;
    background: #ffffff;
    color: #D02443;
    flex: 1;
    height: 30px;
    cursor: pointer;
}
.chart-box .flex button:nth-of-type(1){
    border-radius: 6px 0px 0px 6px;
}
.chart-box .flex button:nth-of-type(2){
    border-radius: 0 6px 6px 0 ;
}
.chart-box .flex button.active{
    background: #D02443;
    color: #ffffff;
}

.chart-box .hover-content{
    left: 32px;
    top: -17px;
}

.chart-box .flex .hover-content:after{
    top: 15px;
    left: -18px;
    border-right: 10px solid #ffffff!important;
    z-index: 11;
}

.action-wrap{
    border-bottom: 1px solid #DDD;
}
.message-action{
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.message-action span{
    display: flex;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
}
.message-action span:before{
    content: '';
    width: 18px;
    height: 18px;
    background-size: 100% !important;
    margin-right: 2px;
    cursor: pointer;
}
.message-action span:nth-of-type(1):before{
    background: url(/agent/image/home/edit.png);
}
.message-action span:nth-of-type(2):before{
    background: url(/agent/image/home/read.png);
}
.message-action span:nth-of-type(3):before{
    background: url(/agent/image/home/delete.png);
}

.message-header{
    margin-top: 20px;
    display: flex;
    height: 40px;
    padding: 0px 20px;
    align-items: center;
    background: #F8F8F8;
    color: #333;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.7px;
}
.message-body{
    height: 200px;
    display: flex;
    flex-direction: column;
}
.message-header i,
.message-body i{
    border: 1px solid #333;
    width: 14px;
    height: 14px;
    border-radius: 3px;

}
.message-body i{
    border: 1px solid #c6c6c6;
    cursor: pointer;
}

.message-body i.active{
    background: #D02443;
    border-color: #D02443;
}
.message-header i.active{
    background: #D02443;
    border-color: #D02443;
}

.message-header span:nth-of-type(1),
.message-body span:nth-of-type(1){
    margin: 0 0 0 40px;
    width: 500px;
    text-align: left;
}
.message-header span:nth-of-type(2),
.message-body span:nth-of-type(2){
    margin: 0 60px 0 0;
    text-align: left;
}
.message-header span:last-of-type,
.message-body span:last-of-type{
    flex-grow: 1;
    text-align: center;
}
.message-item{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0px 20px;
}
.message-item .flex{
    height: 40px;
    color: #666;
    text-align: center;
    font-size: 14px;
    flex-grow: 1;
    cursor: pointer;
}
.message-item.read{
    color: #999999;
}
.message-item:hover{
    background: #efefef;
}
.common-pagination{
    margin: 0 50px 0 0;
}

.nav-echarts {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

.nav-echarts a {
    position: relative;
    display: flex;
    align-items: center;
    color: #B2B5CA;
    font-family: PingFang SC;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    margin: 0 5px;
    border: 1px solid #B2B5CA;
    border-radius: 6px;
    padding: 5px 10px;
}
.nav-echarts a.active {
    color: #D02443;
    border: 1px solid #D02443;
}
.nav-echarts a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 100px;
    background: #B2B5CA;
    margin-right: 6px;
    vertical-align: middle;
}
.nav-echarts a.active::before {
    background: #D02443;
}
