/* 客服按钮样式 */
.customer-service-container {
    position: fixed;
    bottom: 20px;
    right: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.customer-service-btn {
    width: 90px;
    height: 40px;
    background-color: #00b7ee;
    border-radius: 4px 0 0 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
    position: relative;
}

.customer-service-btn:hover {
    background-color: #0096c7;
}

.customer-service-btn span {
    font-size: 14px;
    font-weight: bold;
}

.customer-service-avatar {
    position: absolute;
    top: -100px; 
    right: 0;
    z-index: 9998;
}

.customer-service-avatar img {
    max-width: 60px;
    height: auto;
}

.service-panel {
    display: none;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 220px;
    padding: 10px;
    position: absolute;
    right: 95px;
    top: -10px;
    animation-duration: 0.3s;
    animation-fill-mode: both;
    z-index: 9997;
}

.service-item {
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
}

.service-phone {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
    margin-top: 5px;
}

.service-phone-label {
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
}

.service-phone-number {
    font-size: 18px;
    font-weight: bold;
    color: #ff6600;
    text-decoration: none;
    margin-bottom: 2px;
}

a.service-phone-number:hover {
    color: #ff8800;
    text-decoration: none;
}

.service-time {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.service-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 4px 0 0 4px;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
}

.service-icon i {
    font-size: 20px;
    color: #777;
    transition: color 0.3s;
}

.service-icon:hover {
    background-color: #f5f5f5;
}

.service-icon:hover i {
    color: #00b7ee;
}

.go-top {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 4px 0 0 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.go-top i {
    font-size: 20px;
    color: #777;
    transition: color 0.3s;
}

.go-top:hover {
    background-color: #f5f5f5;
}

.go-top:hover i {
    color: #00b7ee;
}

.customer-service-btn:hover .service-panel,
.service-icon:hover .service-panel {
    display: block;
    animation-name: fadeInLeft;
}

/* 微信公众号二维码样式 */
.qrcode-container {
    padding: 5px;
    background-color: white;
    border-radius: 4px;
}

.qrcode-container img {
    width: 100%;
    max-width: 160px;
    display: block;
    border: 1px solid #eee;
    margin: 0 auto;
}

.qrcode-title {
    text-align: center;
    margin-top: 5px;
    font-size: 12px;
    color: #333;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-20px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
} 