/* 客服图标样式 */
.customer-service-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: <?php echo esc_attr($settings['icon_size']); ?>px;
    height: <?php echo esc_attr($settings['icon_size']); ?>px;
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.customer-service-icon:hover {
    transform: scale(1.1);
}

/* 弹出层样式 */
.customer-service-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 300px;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.customer-service-popup.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.popup-content {
    position: relative;
}

.popup-image {
    width: 100%;
    display: block;
    cursor: pointer;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 14px;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.7);
}