.dashboard-wrapper {
    padding: 20px;
    background: #f5f7fa;
    min-height: calc(100vh - 60px);
}

.dashboard-header {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dashboard-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.dashboard-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 统计卡片网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: #fff;
    font-size: 24px;
}

.stat-card-content {
    flex: 1;
}

.stat-card-value {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-card-label {
    font-size: 14px;
    color: #666;
}

.stat-card-warning .stat-card-value {
    color: #f56c6c;
}

/* 加载中 */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

/* 活动统计区域 */
.activity-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #409eff;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f5f7fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #e9ecef;
}

.activity-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    margin-right: 16px;
}

.activity-content {
    flex: 1;
}

.activity-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 4px;
}

.activity-label {
    font-size: 14px;
    color: #666;
}

/* 快速操作 */
.quick-actions {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f5f7fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.action-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #409eff;
}

.action-item i {
    font-size: 32px;
    margin-bottom: 8px;
    color: #409eff;
}

.action-item span {
    font-size: 14px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stat-card-value {
        font-size: 24px;
    }
    
    .actions-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

