.serviceModal {
    text-align: center;
    display: none;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 230px;
    height: 350px;
    border-radius: 10px;
    z-index: 10000;
    margin-right: 10px;
    background-color: white;
}

.serviceModal > div {
    position: relative;
}

.service-title {
    text-align: left;
    padding-left: 20px;
    width: 210px;
    height: 38px;
    line-height: 38px;
    background-color: #D8D8D8;
    position: relative;
}

.service-img {
    width: 168px;
    height: 168px;
    margin: 10px 20px;
}

#serviceButton {
    position: fixed; /* 固定定位，不随滚动条滚动 */
    right: 0; /* 定位在网页右边 */
    top: 50%; /* 定位在垂直中间 */
    transform: translateY(-50%); /* 精确垂直居中 */
    z-index: 9999; /* 确保在最上层 */
    margin-right: 10px; /* 右边距，避免紧贴边缘 */
    background-color: transparent;
}

#serviceButton img {
    cursor: pointer;
    width: 43px;
    height: 100px; /* 设置合适的高度 */
}

/* 关闭按钮样式 */
.service-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.service-close:hover {
    color: #666;
}