﻿/* 侧边栏悬浮工具样式 - 仿官网样式 */
.suspend {
    position: fixed;
    right: 0;
    background: #ffffff;
    border-radius: 7px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    z-index: 99;
    width: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.suspend ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suspend ul li {
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    position: relative;
}

.suspend ul li:last-child {
    border-bottom: none;
}

.suspend ul li a {
    width: 80px;
    height: 70px;
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: #666666;
    transition: all 0.3s ease;
}

.suspend ul li a:hover {
    background: #f8f9fa;
    color: #4285f4;
}

.suspend ul li img {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0 auto;
}

.suspend ul li span {
    display: block;
    color: #666666;
    font-size: 12px;
    margin-top: 5px;
    line-height: 1;
}

.suspend ul li a:hover span {
    color: #4285f4;
}

/* 电话和二维码弹出框 */
.xf—phone, .xf—erweima {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.suspend-tel:hover .xf—phone,
.suspend-tel:hover .xf—erweima {
    opacity: 1;
    visibility: visible;
}

.xf—phone {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
}

.xf—phone::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.xf—erweima img {
    width: 120px;
    height: 120px;
    margin: 0;
}

.xf—erweima::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* 特殊样式 */
.suspend-search a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.suspend-search a:hover span {
    color: #fff;
}

.back-top a {
    border-radius: 0 0 7px 7px;
}

.back-top a:hover {
    background: #4285f4;
    color: #fff;
}

.back-top a:hover span {
    color: #fff;
}

/* 移动端隐藏 */
@media (max-width: 768px) {
    .suspend.pc-block {
        display: none;
    }
}