* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 400px;
}

.business-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

/* 头像区域 */
.avatar-section {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar img[src*="placeholder"] {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.online-status {
    color: white;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 客户信息 */
.customer-info {
    padding: 25px 20px;
    text-align: center;
}

.customer-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.customer-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.company {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.contact-info {
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
}

.icon {
    font-size: 18px;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.label {
    font-size: 14px;
    color: #666;
    width: 60px;
    margin-right: 10px;
}

.value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    flex: 1;
}

/* 操作按钮 */
.action-buttons {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.btn-icon {
    font-size: 18px;
}

/* 业务标签 */
.business-tags {
    padding: 0 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #f8f9fa;
    color: #666;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid #e9ecef;
}

/* 工作时间 */
.working-hours {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
}

.working-hours h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}

.working-hours p {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

/* 提示框 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .business-card {
        border-radius: 15px;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
    }
    
    .customer-name {
        font-size: 22px;
    }
    
    .btn {
        padding: 14px 18px;
        font-size: 15px;
    }
}

/* 点击效果 */
.btn:active {
    transform: scale(0.98);
}

/* 加载动画 */
.business-card {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 