
header {
    width: 100%;
    height: 150px;
    background-image: url(../img/bg-supply-demand.png);
    position: relative;
}

header p {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%);
}

main {
    width: 100%;
    /* min-height: calc(100vh - 150px); */
    background-color: #f5f7f6;
    padding: 2vh 0;
}

.news-title{
    margin: 2vh 0;
    font-size: 22px;
    font-weight: bold;
    color: #0F7070;
}

.news-section{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.quick .news-card{
    width: 70%;
}
.quick img{
    width: 29%;
    box-shadow: 0px 4px 4px 0px #00000040;
}
.news-card{
    width: 32%;
    background-color: #fff;
    border: 1px solid #E7E7E7;
    box-shadow: 0px 4px 4px 0px #00000040;
}
.card-title{
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #E7E7E7;
}
.card-title-line{
    width: 6px;
    height: 20px;
    background-color: #82B187;
    border-radius: 4px;
    margin-right: 10px;
}
.card-title-name{
    font-size: 18px;
    font-weight: bold;
}

.card-list{
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.card-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    cursor: pointer;
}

.card-item-dot{
    background-color: #82B187;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 10px;
}
.card-item-text{
    margin-right: 5px;
    font-size: 14px;
    flex:1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-item-text:hover{
    color: #0F7070;
}

.card-item-time,
.card-item-more{
    color: #173F3F;
    font-size: 12px;
}

.tab{
    position: fixed;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    border: 1px solid #E7E7E7;
    z-index: 9;
}
.tab-item{
    padding: 10px 20px;
    border-bottom: 1px solid #E7E7E7;
    text-align: center;
    cursor: pointer;
    background-color: #fff;
    color: #616161;
    font-size: 14px;
}
.tab-item.active {
    color: #fff;
    background: #82B187;
}
.tab-item:nth-last-child(1){
    border: none;
}

/* 表格 */
.table {
    width: 100%;
    border-collapse: collapse;
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden
}

.table th {
    background: #f1faf2;
    text-align: left;
    padding: 10px 14px;
    font-weight: 500;
    color: #173F3F;
    border-bottom: 0.5px solid #EBEDF2;
    font-size: 14px;
}

.table td {
    padding: 12px 14px;
    border-bottom: 0.5px solid #EBEDF2;
    vertical-align: middle;
    transition: all .5s;
    color: #173F3F;
    font-size: 14px;
}

.table tr:last-child td {
    border-bottom: none
}

.table tr:hover td {
    background: #f9f8f8;
}

 canvas {
    width: 100%;
  }

  .legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 15px;
    font-size: 14px;
  }

  .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .color-box {
    width: 14px;
    height: 14px;
    border-radius: 3px;
  }

  

  .line-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 18px;
  }

  .line-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
  }

  .line-line {
    width: 24px;
    height: 3px;
    border-radius: 2px;
  }