
/* 右侧在线客服 */
.online_service{
position: relative;
z-index: 9999;
}
#service{
position: fixed;
right: -272px;
top: 50%;
transform: translateY(-50%);
z-index: 9999;
display: flex;
align-items: center;
font-size: 14px;
color: #4a5568;
transition: right 0.35s ease;
}
#service:hover{
right: 0;
}
#service ul{
list-style: none;
margin: 0;
padding: 0;
}

/* 侧边触发按钮 */
#floatShow1{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
flex-shrink: 0;
width: 40px;
padding: 14px 6px;
background: #1c5ca3;
color: #fff;
text-decoration: none;
border-radius: 8px 0 0 8px;
box-shadow: -2px 0 12px rgba(28, 92, 163, 0.25);
transition: background 0.25s ease;
}
#floatShow1 i{
font-size: 18px;
line-height: 1;
}
#floatShow1 span{
font-size: 13px;
font-weight: 600;
letter-spacing: 3px;
writing-mode: vertical-rl;
text-orientation: upright;
white-space: nowrap;
}
#floatShow1:hover{
background: #154a85;
color: #fff;
text-decoration: none;
}

/* 面板主体 */
#online{
width: 272px;
background: #fff;
border-radius: 8px 0 0 8px;
box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.online_title{
margin: 0;
padding: 14px 16px;
background: #1c5ca3;
color: #fff;
font-size: 15px;
font-weight: 600;
text-align: center;
letter-spacing: 1px;
}

/* 联系列表 */
.onlineMenu .call{
border-bottom: 1px solid #f0f2f5;
}
.onlineMenu .call:last-of-type{
border-bottom: none;
}
.onlineMenu .call a{
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
color: #4a5568;
font-size: 13px;
line-height: 1.35;
text-decoration: none;
transition: background 0.2s ease;
}
.onlineMenu .call a:hover{
background: #f5f8fc;
color: #1c5ca3;
}
.onlineMenu .call a i{
flex-shrink: 0;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: #eef4fb;
color: #1c5ca3;
font-size: 15px;
}
.onlineMenu .call a:hover i{
background: #1c5ca3;
color: #fff;
}
.onlineMenu .call a .call-label{
flex: 1;
min-width: 0;
word-break: normal;
overflow-wrap: break-word;
}
.onlineMenu .call a .call-email{
flex: 1;
min-width: 0;
font-size: 12px;
word-break: break-all;
}

/* 微信二维码 */
.call-qrcode{
padding: 14px 16px 16px;
text-align: center;
border-top: 1px solid #f0f2f5;
background: #fafbfc;
}
.qrcode-title{
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
margin: 0 0 10px;
font-size: 13px;
font-weight: 600;
color: #1c5ca3;
}
.qrcode-title i{
font-size: 16px;
}
.call-qrcode img{
display: block;
width: 140px;
height: 140px;
margin: 0 auto;
border-radius: 6px;
border: 1px solid #e8edf3;
background: #fff;
}

/* 返回顶部 */
.goTop{
position: fixed;
right: 20px;
bottom: 80px;
z-index: 9998;
}
.totop{
display: block;
width: 44px;
height: 44px;
background: #1c5ca3 !important;
border-radius: 50%;
box-shadow: 0 4px 12px rgba(28, 92, 163, 0.3);
transition: all 0.3s ease;
position: relative;
}
.totop::before{
content: '\f106';
font-family: FontAwesome;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 22px;
color: #fff;
line-height: 1;
}
.totop:hover{
background: #154a85 !important;
transform: translateY(-2px);
}

@media only screen and (max-width: 768px) {
#service{
display: none;
}
.goTop{
right: 16px;
bottom: 70px;
}
.totop{
width: 40px;
height: 40px;
}
}
