/**
 * 系统联系人样式
 *
 * @author Link
 * @date 2024/11/18
 */

/* 联系人页签 */
.system-contact-tab-box{
    position: relative;
    width: 100%;
    height: 50px;
}
.system-contact-tab-box > span{
    display: none;
    position: absolute;
    top: 12px;
    width: 25px;
    height: 25px;
    font-size: 16px;
    color: #FFF;
    text-align: center;
    line-height: 25px;
    background: rgba(0,0,0,.3);
    border-radius: 12.5px;
    cursor: pointer;
    transition: all .3s;
    z-index: 99;
}
.system-contact-tab-box > span:hover{
    background: rgba(0,0,0,.5);
}
.system-contact-tab-box > span.system-contact-tab-prev-btn{
    left: 10px;
}
.system-contact-tab-box > span.system-contact-tab-next-btn{
    right: 10px;
}
.system-contact-tab-box > span em{
    line-height: 25px;
}
.system-contact-tab-view{
    position: relative;
    width: 100%;
    height: 51px;
    overflow: hidden;
    z-index: 9;
}
.system-contact-tab-list{
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    transition: all .3s;
}
/*.system-contact-tab-list > li{
    float: left;
    width: 200px;
    height: 50px;
    font-size: 14px;
    color: #626365;
    box-sizing: border-box;
    cursor: pointer;
}
.system-contact-tab-list > li span{
    display: inline-block;
    width: 200px;
    height: 20px;
    margin-top: 15px;
    line-height: 20px;
    text-align: center;
    border-right: 1px solid #DDD;
    box-sizing: border-box;
}
.system-contact-tab-list > li:nth-child(6n+0) span{
    border-right: 0;
}*/
.system-contact-tab-list > li{
    display: flex;
    float: left;
    width: 85px;
    height: 50px;
    font-size: 12px;
    color: #626365;
    align-items: center;
    border-right: 1px solid #DDD;
    box-sizing: border-box;
    cursor: pointer;
}
.system-contact-tab-list > li span{
    display: block;
    width: 85px;
    padding: 0 5px;
    line-height: 20px;
    text-align: center;
    box-sizing: border-box;
}
.system-contact-tab-list > li.active span{
    color: #0C763F;
    font-weight: 600;
    line-height: 16px;
    border-right: 0;
}
.system-contact-tab-list > li:hover span{
    color: #0C763F;
}
/* 系统联系人表格 */
.system-contact-table{
    width: 100%;
    font-size: 14px;
    background: #FFF;
    border-top: 1px solid #EEE;
    border-left: 1px solid #EEE;
}
.system-contact-table th,
.system-contact-table td{
    height: 24px;
    padding: 10px 20px;
    line-height: 24px;
    border-right: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
}
.system-contact-table th{
    color: #323335;
    text-align: center;
    font-weight: 600;
}
.system-contact-table > thead > tr,
.system-contact-table > tbody > tr:nth-child(even){
    background: #FAFAFA;
}
.system-contact-table > tbody > tr:hover{
    background: #F6FBFE;
}
.system-contact-table > tbody > tr td{
    color: #626365;
    text-align: left;
}
.system-contact-table > tbody > tr td:nth-child(3),
.system-contact-table > tbody > tr td:nth-child(4){
    text-align: center;
}
/* 登录页样式 */
.login-system-contact-box{
    width: 100%;
}
.login-system-contact-box .system-contact-tab-box{
    background: #F4F4F4;
}
.login-system-contact-box .system-contact-tab-box > span{
    background: rgba(0,0,0,.3);
}
.login-system-contact-box .system-contact-tab-box > span:hover{
    background: rgba(0,0,0,.5);
}
.login-system-contact-box .system-contact-tab-list > li.active{
    height: 51px;
    background: #FFF;
    border-top: 2px solid #0C763F;
    border-right: 1px solid #DDD;
    border-bottom: 0;
    border-left: 1px solid #DDD;
}
.login-system-contact-box .system-contact-table-box{
    display: none;
    width: 1200px;
    padding: 10px;
    border: 1px solid #DDD;
    box-sizing: border-box;
}

/* 20250808系统联系人样式调整 */
.system-contact-tab-box.tiling-tab{
    height: auto;
}
.system-contact-tab-box.tiling-tab .system-contact-tab-view{
    height: auto;
    padding: 5px;
    border: 1px solid #ddd;
    border-bottom: 0;
    box-sizing: border-box;
}
.system-contact-tab-box.tiling-tab .system-contact-tab-view .system-contact-tab-list{
    position: inherit;
    display: flex;
    width: 100%;
    height: auto;
    gap: 5px;
    flex-wrap: wrap;
}
.system-contact-tab-box.tiling-tab .system-contact-tab-view .system-contact-tab-list li{
    float: none;
    display: flex;
    flex: 0 0 calc((100% - 5px * 7) / 8); /* 每行8列 + 7个间隔 */
    width: auto;
    height: 30px;
    padding: 0 5px;
    color: #626365;
    background: #fff;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
}
.system-contact-tab-box.tiling-tab .system-contact-tab-view .system-contact-tab-list li:hover,
.system-contact-tab-box.tiling-tab .system-contact-tab-view .system-contact-tab-list li.active{
    color: #0C763F;
    background: #F2F9E3;
    border: 1px solid #C7E1A0;
}
.system-contact-tab-box.tiling-tab .system-contact-tab-view .system-contact-tab-list li span{
    display: inline;
    width: auto;
}