.customer-tooltip {
    position: absolute;
    background: #4e5669;
    color: white;
    padding: 6px 8px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    -webkit-box-shadow: 0 .02rem .08rem rgba(0, 0, 0, .12);
    box-shadow: 0 .02rem .08rem rgba(0, 0, 0, .12);
}

.customer-tooltip::after {
    content: '';
    position: absolute;
    border-width: 5px;
    border-style: solid;
}

/* 上方提示 */
.customer-tooltip-top {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

/* 显示提示 */
.customer-with-tooltip:hover .customer-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.customer-tooltip-top::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-color: #2c3e50 transparent transparent transparent;
}
    
.customer-service {
    position: fixed;
    right: 24px;
    bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0px 6px 16px -8px rgba(29, 33, 41, 0.08);
    cursor: pointer;
}

.customer-service-img {
    width: 24px;
    height: 24px
}

.customer-modal-content {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    right: 20px;
    top: 97px;
    width: 460px;
    border-radius: 0;
    border: none;
    height: calc(100vh - 117px);
    background-color: white;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: modalAppear 0.3s ease-out;
    z-index: 999;
}

.customer-modal-body {
    flex: 1;
}

/* 防止背景滚动的关键样式 */
body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: var(--scroll-top, 0); /* 使用CSS变量保存滚动位置 */
    overflow-y: scroll; /* 保持滚动条可见但不滚动 */
}

.customer-modal-footer {
    width: 100%;
    height: 57px;
    padding: 12px 20px;
    border-top: .01rem solid #e0e0e0;
    border-radius: 0 0 .02rem .02rem;
    box-sizing: border-box;
    text-align: left;
}

.customer-modal-close-btn {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    background-color: #00B8CC;
    border-color: #00B8CC;
    border: 1px solid transparent;
    font-weight: 600;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 32px;
    padding: 0 15px;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    background-image: none;
    border-radius: 2px;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    cursor: pointer;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

.customer-modal-close-btn > span {
    height: 14px;
}