  body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: #f7f8fa;
            margin: 0;
            padding: 0;
        }
        
/* 新弹窗样式 */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: transform 0.3s ease;
    max-width: 500px;
    width: 90%;
}

.popup.active {
    transform: translate(-50%, -50%) scale(1);
}

.popup-content {
    position: relative;
}

.close-popup {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 24px;
    cursor: pointer;
    background: #f44336;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 遮罩层样式 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 侧边栏样式 */
.sidebar {
    position: fixed;
    top: 75px;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
}

.sidebar.active {
    right: 0;
}

.sidebar-content {
    padding: 2px;
}

/* 图标样式 */
.icon {
    cursor: pointer;
    margin-left: 10px;
    width: 24px;
    height: 24px;
}









/* 头部样式 */
        .header {
            width: 100%;
            position: fixed;
            z-index: 1000;
            display: flex;
            align-items: center;
            padding: 10px 15px;
            background-color: #fff;
            color: var(--main);
    background: var(--background);
            border-bottom: 1px solid #eee;
        }
        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 10px;
            background-color: #ccc;
        }
        .user-info {
            flex: 1;
        }
        .user-name {
            font-size: 16px;
            font-weight: bold;
        }
        .company {
            font-size: 12px;
            color: #666;
        }
        .search {
            flex: 1;
            max-width: 200px;
            margin: 0 15px;
            padding: 8px 10px;

            border: none;
            border-radius: 4px;
        }
        .icons {
            display: flex;
            align-items: center;
        }
        .icon {
            width: 40px;
            height: 40px;
            margin-left: 15px;
        }
        .nav {
            padding-top: -160px;
            display: flex;
            padding: 10px 15px;
            background-color: #fff;
            color: var(--main);
    background: var(--background);
            border-bottom: 1px solid #eee;
        }
        .nav-item {
            padding: 8px 15px;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
        }
        .nav-item.active {
            background-color: #f0f2f5;
            margin: 0 5px;
            font-weight: bold;
            
            flex-direction: row;
            overflow-x: auto;
            overflow-y: hidden;
        }
        .page {
            padding-top: 75px;
            display: none;
            padding-bottom: 60px; /* 给底部留出空间 */
        }
        .page.active {
            display: block;
        }
        .chat-list {
            background-color: #fff;
        }
        .chat-item {
            display: flex;
            padding: 10px 15px;
            border-bottom: 1px solid #f0f2f5;
        }
        .chat-avatar {
            width: 40px;
            height: 40px;
            border-radius: 4px;
            margin-right: 10px;
            background-color: #ccc;
        }
        .chat-info {
            flex: 1;
        }
        .chat-title {
            font-size: 14px;
            font-weight: bold;
            display: flex;
            align-items: center;
        }
        .chat-title .tag {
            font-size: 10px;
            color: #fff;
            background-color: #576b95;
            padding: 2px 4px;
            border-radius: 3px;
            margin-left: 5px;
        }
        .chat-title .status {
            color: #999;
            font-size: 12px;
            margin-left: 5px;
        }
        .chat-content {
            font-size: 12px;
            color: #666;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .chat-time {
            font-size: 12px;
            color: #999;
        }
        .footer {
            color: var(--main);
    background: var(--background);
            
            display: flex;
            justify-content: space-around;
            padding: 10px 0;
            background-color: #fff;
            border-top: 1px solid #eee;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
        }
        .footer-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 10px;
            color: #666;
            cursor: pointer;
        }
        .footer-item.active {
            color: #007fff;
        }
        .footer-icon {
            width: 24px;
            height: 24px;
            margin-bottom: 5px;
        }
        .placeholder {
            padding: 2px;
            text-align: center;
            color: #999;
            font-size: 14px;
        }
        
        .placeholder-yy {
            padding: 2px;
            
            color: #999;
            font-size: 14px;
        }
        