/* 基本样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    color: #1d1d1f;
    text-align: center;
}

/* 导航样式 */
nav {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #0066cc;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #f2f2f2;
}

/* 主要内容区域 */
main {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 30px;
}

section h2 {
    color: #1d1d1f;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

/* 统计卡片 */
.stat-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 200px;
    background-color: #f5f5f7;
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card h3 {
    color: #1d1d1f;
    margin-bottom: 10px;
}

.card p {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 20px;
    color: #86868b;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .stat-cards {
        flex-direction: column;
    }
}


/* 二维码缩略图样式 */
.qr-thumbnail {
    position: relative;
    width: 60px;
    height: 60px;
    overflow: visible;
    cursor: pointer;
}

.qr-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.2s ease;
}

.qr-thumbnail:hover img {
    position: absolute;
    width: 200px;
    height: 200px;
    top: -70px;
    left: 30px;
    z-index: 100;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    background-color: white;
    padding: 5px;
    border-radius: 5px;
}

.no-qr {
    color: #999;
    font-style: italic;
}