/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* 手机框架 */
.phone-frame {
    width: 375px;
    height: 812px;
    background: #000;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-container {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

/* 顶部导航 */
.top-nav {
    background: #667eea;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.back-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-title {
    font-size: 18px;
    font-weight: 600;
}

.nav-actions {
    display: flex;
    gap: 8px;
}

.add-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 主要内容 */
.main-content {
    padding: 16px;
    height: calc(100% - 60px);
    overflow-y: auto;
}

/* 跟进列表 */
.follow-up-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.follow-up-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

/* 跟进头部 */
.follow-up-header {
    margin-bottom: 12px;
}

.publisher-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.publisher-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.publisher-role {
    background: #667eea;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
}

.publish-time {
    color: #999;
    font-size: 12px;
    margin-left: auto;
}

/* 跟进内容 */
.follow-up-content {
    margin-bottom: 12px;
}

.content-text {
    color: #333;
    line-height: 1.5;
    margin-bottom: 12px;
    font-size: 14px;
}

.content-images {
    margin-top: 8px;
}

.image-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.content-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e9ecef;
}

/* 回复内容 */
.reply-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    border-left: 3px solid #667eea;
}

.reply-header {
    margin-bottom: 8px;
}

.reply-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.reply-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.reply-role {
    background: #28a745;
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
}

.reply-time {
    color: #999;
    font-size: 11px;
    margin-left: auto;
}

.reply-text {
    color: #333;
    line-height: 1.4;
    font-size: 13px;
    margin-bottom: 8px;
}

.reply-images {
    margin-top: 8px;
}

/* 手机状态栏 */
.status-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #000;
    color: #fff;
    padding: 4px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    z-index: 1000;
}

.status-left .time {
    font-weight: 600;
}

.status-right {
    display: flex;
    gap: 4px;
}

/* 响应式设计 */
@media (max-width: 400px) {
    .phone-frame {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        padding: 0;
    }
    
    .phone-container {
        border-radius: 0;
    }
    
    .main-content {
        padding: 12px;
    }
    
    .follow-up-item {
        padding: 12px;
    }
    
    .content-image {
        width: 60px;
        height: 60px;
    }
}

/* 滚动条样式 */
.main-content::-webkit-scrollbar {
    width: 4px;
}

.main-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.main-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.main-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
} 