 @charset "utf-8";
/* CSS 客服 */

    /* 悬浮外层容器 */
    .float-sidebar {
        position: fixed;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 998;
        border-radius: 10px;
    }
    /* 展开模式主面板：作为弹窗定位基准*/
    .sidebar-wrap {
        width: 80px;
        border-radius: 10px;
        position: relative; 
        overflow: visible !important;
        transition: width 0.32s ease;
        background: rgba(255, 255, 255, 0.8); 
    }
    /* 收缩模式（点底部按钮之后，仅图标） */
    .float-sidebar.shrink .sidebar-wrap {
        width: 50px;
        border-style: none;
    }
    /* 关闭X按钮 */
    .btn-close-x {
        position: absolute;
        right: -10px;
        top: -10px;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        text-align: center;
        line-height: 20px;
        font-size: 25px;
        background: #fff;
        cursor: pointer;
        z-index: 999;
    }
    .float-sidebar.shrink .btn-close-x {
        display: none;
    }
    /* 菜单项*/
    .main_title {
        text-align: center;
        padding: 8px 6px;
        cursor: pointer;
    }
    .main_title .icon-svg {
        font-size: 24px;
        display:block;
        text-align:center;
        line-height:30px;
    }
    .main_title .icon-svg img{
        width:30px !important;
        height:30px !important;
        object-fit:contain;
    }
    .main_title .text-label {
        font-size:12px;
        margin-top: 8px;
        display:block;
        transition: all 0.28s;
    }
    /* 收缩状态隐藏文字 */
    .float-sidebar.shrink .main_title .text-label {
        opacity: 0;
        height: 0;
        margin-top:0;
        overflow:hidden;
    }
    /* 左侧悬浮弹出面板 */
    .hover-popup {
        position: absolute;
        right: calc(100% + 12px);
        top: 0px;
        width: 240px;
        background: rgba(240, 240, 240, 0.5);
        backdrop-filter: blur(24px) saturate(200%);
        -webkit-backdrop-filter: blur(24px) saturate(200%);
        border-radius: 10px;
        overflow: hidden;
        display: none;
        z-index: 99999;
        pointer-events: auto;
    }
    .main_title:hover .hover-popup {
        display:block;
    }
    /* 触摸设备点击打开弹窗 */
    .main_title.hover.open .hover-popup{
        display:block;
    }
    /* 弹窗头部标题栏 */
    .sub_title {
        text-align:center;
    }
    /* 联系我们弹窗内容 */
    .cs_content {
        padding:10px 10px;
        line-height:1.8;
        font-size:14px;
        text-align:left;
        color:#444444;
    }
    .cs_content  img{max-width:220px;}
    /*底部切换按钮 */
    .toggle-bottom-btn{
        font-size: 14px;
        margin-top:30px;
        height:40px;
        border-radius:0 0 10px 10px;
        display:flex;
        align-items:center;
        justify-content:center;
        cursor:pointer;
        transition:width 0.32s ease;
		background: rgba(240, 240, 240, 0); 
    }
    .float-sidebar.shrink .toggle-bottom-btn{
        width:98%;
        border:none;
        position: relative;
        left: 1%;
        right: 1%;
    }

    /* ========== 关闭后恢复客服按钮 ========== */
    .cs-restore-btn{
        position: fixed;
        right:16px;
        bottom:40px;
        width:44px;
        height:44px;
        border-radius:50%;
        background:rgba(255,255,255,0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow:0 2px 12px rgba(0,0,0,0.12);
        z-index:9998;
        display:none;
        cursor:pointer;
        text-align:center;
        line-height:38px;
        font-size:20px;
        color:#555;
    }
    .cs-restore-btn:hover{
        background:#ffffff;
    }