.userBox{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
}
.menuBox{
    width: 184px;
    height: 1000px;
    margin-right: 20px;
    background-color: rgb(248, 248, 248);
    padding: 0 8px;
}
.menuBox .userInfo{
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(230, 230, 230);
}
.menuBox .avatar{
    margin-left: 42px;
    margin-top: 20px;
}
.menuBox .avatar img{
    width: 100px;
    height: 100px;
}
.menuBox .info{
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}
.menuBox .info span:last-child{
    margin-left: 10px;
    background-color: #F08501;
    color: #fff;
    border-radius: 4px;
    padding: 0 8px;
}
.menuBox .menu{
    margin-top: 10px;
}
.menuBox .menu{
    min-height: 50px;
    line-height: 50px;
    padding-left: 32px;
    cursor: pointer;
}
.menuBox .menu img{
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}
.menuBox .selected{
    border-radius: 8px;
    background-color: rgb(228, 242, 255);
}

.main{
    width: 980px;
    min-height: 1000px;
    background-color: #fff;
}

.mainBox{
    width: 980px;
    min-height: 1000px;
    background-color: #fff;
}
.position{
    width: 100%;
    height: 40px;
    color: #999;
    font-size: 14px;
}

.position span{
    color: var(--primary-color);
    cursor: pointer;
}

.mainBox .topBox{
    padding: 0 16px;
    height: 260px;
    border-bottom: 1px solid rgb(230, 230, 230);
    display: flex;
}

.mainBox .goalBox{
    width: 484px;
    margin-right: 90px;
    border-radius: 8px;
    height: 210px;
    margin-top: 20px;
}

.mainBox .goalTitle{
    text-align: center;
    color: #fff;
    background-color: var(--primary-color);
    height: 30px;
    line-height: 30px;
    border-radius: 8px 8px 0 0;
}
.mainBox .goals{
    background-color: rgb(248, 248, 248);
    height: 180px;
    border-radius: 0 0 8px 8px;
    padding: 16px;
    display: flex;
}
.mainBox .goal{
    background: #fff;
    text-align: center;
    flex: 1;
    position: relative;
}
.triangle {
    width: 0;
    height: 0;
    border-bottom: 20px solid transparent;
    border-right: 40px solid transparent;
    border-top: 40px solid red;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
}
.blue {
    border-top: 40px solid rgb(186, 95, 232)!important;
}
.green{
    border-top: 40px solid #008E00!important;
}
.triangle span{
    position: absolute;
    top: -40px;
    left: 5px;
}

.mainBox .goal img{
    width: 120px;
    height: 120px;
    margin-top: 20px;
}

.mainBox .timeBox{
    width: 394px;
    position: relative;
}

.mainBox .timeBox .title{
    margin: 20px 0;
}
.mainBox .timeBox .title span{
    color: #F08501;
}
.mainBox .days{display: inline-block;width: 60px;padding: 20px;border-radius: 5px;background-color: #2f3430;color:#fff;text-align: center;}
.mainBox .hours, .minutes, .seconds {display: inline-block;width: 30px;padding: 20px;border-radius: 5px;background-color: #2f3430;color:#fff;text-align: center;}
.mainBox .numbers {font-family: "Montserrat", sans-serif;color: #fefefe;font-size: 2em;    }
.mainBox .xian{ position: absolute; background: #fff; height: 1px; width: 100%; top: 108px; opacity: .5;}

.mainBox .chartBox {
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(230, 230, 230);
}
.mainBox .chartBox .title{
    padding-left: 8px;
    border-left: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin: 20px 0;
    font-size: 16px;
    font-weight: 500;
    
}
.mainBox .chartBox  .time{
    font-size: 14px;
    padding-left: 10px;
    margin-top: 20px;
}
.mainBox .chartBox .dataBox{
    margin-top: 20px;
    width: 100%;
    height: 360px;
    position: relative;
}
.mainBox .chartBox .dataBox .diannao{
    width: 300px;
    height: 300px;
    position: absolute;
    left: calc(50% - 150px);
    top: 20px;
}
.mainBox .chartBox .chart{
    width: 780px;
    height: 450px;
    margin-top: 20px;
    margin-left: 100px;
}
#yuanlt{
    position: absolute;
    top: 60px;
    left: calc(50% - 150px);
}
#yuanrt{
    position: absolute;
    top: 60px;
    left: calc(50% + 100px);
}
#yuanlb{
    position: absolute;
    top: 230px;
    left: calc(50% - 150px);
}
#yuanrb{
    position: absolute;
    top: 230px;
    left: calc(50% + 100px);
}
#iconlt{
    position: absolute;
    top: 72px;
    left: calc(50% - 140px);
}
#iconrt{
    position: absolute;
    top: 71px;
    left: calc(50% + 111px);
}
#iconlb{
    position: absolute;
    top: 239px;
    left: calc(50% - 139px);
}
#iconrb{
    position: absolute;
    top: 242px;
    left: calc(50% + 113px);
}
.mainBox .chartBox .dataBox .data>:first-child{
    color: var(--primary-color);
    text-align: center;
    font-size: 28px;
    line-height: 40px;
    font-weight: bold;
    width: 80px;
    cursor: pointer;
}
.mainBox .chartBox .dataBox .data>:last-child{
    text-align: center;
    font-size: 14px;
    width: 80px;
    cursor: pointer;
}
#datalt{
    position: absolute;
    top: 50px;
    left: calc(50% - 230px);
}
#datart{
    position: absolute;
    top: 50px;
    left: calc(50% + 145px);
}
#datalb{
    position: absolute;
    top: 225px;
    left: calc(50% - 230px);
}
#datarb{
    position: absolute;
    top: 225px;
    left: calc(50% + 145px);
}

.mainBox  .tabBox {
    display: flex;
    margin-top: 20px;
    justify-content: center;
}
.mainBox  .tab {
    width: 90px;
    margin-right: 10px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    height: 28px;
    line-height: 28px;
    cursor: pointer;
    text-align: center;
}
.mainBox .tableBlueBox .tab:first-child{
    width: 130px;
}
.mainBox  .selected {
    border: none;
    color: #fff;
    background-color: var(--primary-color);
}
.mainBox .tableBlueBox table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.mainBox .tableBlueBox  th {
    background-color: #fff;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}
.mainBox .tableBlueBox  th, td {
    padding: 8px;
}
.mainBox .tableBlueBox .status-completed {
    color: var(--primary-color);
}
.mainBox .tableBlueBox .status-not-completed {
    color: red;
}
.mainBox .tableBlueBox tbody tr {
    border-bottom: 1px dashed #ddd;
}

.searchBox{
    width: 100%;
    display: flex;
    align-items: center;
}
.searchBox span{
    margin: 0 8px;
}
.searchBox select{
    width: 100px;
}
.searchBox input:first-child{
    margin-left: 16px;
}
.searchBox select,input{
    border-radius: 4px;
    padding: 8px;
    border: 1px solid rgb(222, 222, 222);
}
.searchBox select:focus,input:focus{
    border: 1px solid rgb(222, 222, 222);
}
.searchBox input[type="date"]::-webkit-calendar-picker-indicator{
    cursor: pointer;
}
.searchBox #searchBtn{
    width: 100px;
    height: 36px;
    line-height: 36px;
    color: #fff;
    background-color: rgb(245,112,77);
    margin-left: 16px;
    border: none;
    padding: 0;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 2px;
    border-radius: 8px;
}

.resultBox .dataBox{
    width: 960px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    background-color: rgb(241, 248, 255);
    border-radius: 4px;
}
.resultBox .data{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
}
.resultBox .data .num{
    margin-left: 8px;
}
.resultBox .data .xian{
    margin-left: 16px;
}
.resultBox .data .num > :first-child{
    color: var(--primary-color);
    font-weight: bold;
    font-size: 24px;
    text-align: center;
}
.resultBox .data .num > :last-child{
    text-align: center;
}
.tableBox .tableTitle{
    font-weight: 600;
    margin: 20px 0;
}
.tableBox table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}
.tableBox th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}
.tableBox th {
    background: #f8f9fa;
    text-align: center;
}
.tableBox .tableBtn{
    color: var(--primary-color);
    cursor: pointer;
}
.tableBox .statusList{
    height: 50px;
    width: 100%;
    background-color: rgb(248, 248, 248);
    display: flex;
    align-items: center;
}
.tableBox .statusList span{
    color: #999;
    margin-left: 16px;
}
.tableBox .statusList .status{
    width: 80px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    margin-left: 16px;
    font-weight: 500;
    cursor: pointer;
}
.tableBox .statusList .selected{
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
}

.saveBtn{
    width: 100px;
    height: 36px;
    line-height: 36px;
    color: #fff;
    background-color: var(--primary-color);
    margin-top:20px;
    border: none;
    padding: 0;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 2px;
    border-radius: 8px;
    margin-left: calc(50% - 50px);
}

.mainBox .form-container {
    width: 100%;
    margin: 20px auto;
}
.mainBox .form-group {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}
.mainBox .form-group .label {
    display: block;
    margin-bottom: 5px;
    width: 120px;
    text-align: right;
}
.mainBox .form-group .label span{
    color: red;
}
.mainBox .form-group input[type="text"],
.mainBox .form-group input[type="radio"], .mainBox .form-group select {
    margin-right: 8px;
}
.mainBox .form-group input[type="text"], .mainBox .form-group select{
    width: 150px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.mainBox .note {
    color: #999;
    font-size: 12px;
}

.tips{
    margin-left: 20px;
    font-size: 12px;
    color: #999;
}


.zhuanye{
    color: var(--primary-color);
    cursor: pointer;
}

.leibiename{
    color: var(--primary-color);
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 1000;
    width: 600px;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.modal .tips {
    font-size: 12px;
    color: #ddd;
    margin-bottom: 15px;
}
.modal .close-btn {
    cursor: pointer;
    font-size: 24px;
}
.modal .form-group {
    margin-bottom: 15px;
    height: 40px;
}
.modal .form-group label {
    margin-bottom: 10px;
    display: flex;
}
.modal .form-group label span {
    width: 100px;
    text-align: right;
    line-height: 35px;
}

.modal .form-group textarea{
    width: 100%;
    padding: 4px;
    box-sizing: border-box;
    border: 1px solid rgb(222, 222, 222);
    font-size: 14px;
    color: black;
}

.modal .form-group textarea:focus{
    border: 1px solid rgb(222, 222, 222);
}

.modal .form-group input, 
.modal .form-group select {
    width: 50%;
    padding: 4px;
    box-sizing: border-box;
}

.modal .red-btn{
    width: 100px;
    margin-left: calc(50% - 50px);
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    height: 32px;
    line-height: 32px;
}

.addJianyi{
    width: 120px;
    background-color: var(--primary-color);
    border: none;
    height: 32px;
    line-height: 32px;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
}